| 1 | DESCRIPTION="Wesnoth" |
|---|
| 2 | HOMEPAGE="http://www.wesnoth.org/" |
|---|
| 3 | SRC_URI="http://sourceforge.net/projects/wesnoth/files/wesnoth/wesnoth-1.9.1/wesnoth-1.9.1.tar.bz2/download" |
|---|
| 4 | CHECKSUM_MD5="5dc488f68362717f1b809d2212f9515f" |
|---|
| 5 | REVISION="1" |
|---|
| 6 | STATUS_HAIKU="stable" |
|---|
| 7 | DEPEND="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 | |
|---|
| 22 | BUILD { |
|---|
| 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 | |
|---|
| 34 | INSTALL { |
|---|
| 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 | |
|---|
| 41 | LICENSE="GNU GPL v2" |
|---|
| 42 | COPYRIGHT="2003-2010 The Battle for Wesnoth" |
|---|