HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #231

Ticket #231: wesnoth-1.9.1.bep

File wesnoth-1.9.1.bep, 1.2 KB (added by michaelvoliveira, 5 years ago)

Using cmake for build. The patch will come later

Line 
1DESCRIPTION="Wesnoth"
2HOMEPAGE="http://www.wesnoth.org/"
3SRC_URI="http://sourceforge.net/projects/wesnoth/files/wesnoth/wesnoth-1.9.1/wesnoth-1.9.1.tar.bz2/download"
4CHECKSUM_MD5="5dc488f68362717f1b809d2212f9515f"
5REVISION="1"
6STATUS_HAIKU="stable"
7DEPEND="pkgconfig >= 0.23
8                dev-libs/boost >= 1.42.0
9                dev-libs/glib >= 2.24.1
10                dev-libs/libxslt >= 1.1.26
11                dev-util/cmake >= 2.8.1
12                media-lib/fontconfig >= 2.8.0
13                media-lib/libsdl >= 1.2.14
14                media-lib/sdl-image >= 1.2.10
15                media-lib/sdl-mixer >= 1.2.11
16                media-lib/sdl-ttf >= 2.0.10
17                sys-devel/gettext >= 0.17
18                x11-libs/cairo >= 1.8.10
19                x11-libs/pango >= 1.28.1
20                x11-libs/pixman >= 0.19.4"
21               
22BUILD {
23        cd wesnoth-1.9.1
24        APPS_DIR=`finddir B_APPS_DIRECTORY`
25        mkdir -p ${DESTDIR}${APPS_DIR}/wesnoth
26        cmake -DPREFIX=${DESTDIR}${APPS_DIR}/wesnoth . \
27        -DDATAROOTDIR=${DESTDIR}${APPS_DIR} \
28        -DDESKTOPDIR=${DESTDIR}${APPS_DIR}/wesnoth/applications/ \
29        -DDOCDIR=${DESTDIR}${APPS_DIR}/wesnoth/doc \
30        -DICONDIR=${DESTDIR}${APPS_DIR}/wesnoth/pixmaps
31        make
32}
33
34INSTALL {
35        cd wesnoth-1.9.1
36        make install
37        mv /boot/common/bin/wesnoth ${DESTDIR}${APPS_DIR}/wesnoth
38        mv /boot/common/bin/wesnoth ${DESTDIR}${APPS_DIR}/wesnoth
39}
40
41LICENSE="GNU GPL v2"
42COPYRIGHT="2003-2010 The Battle for Wesnoth"

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/