aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-13 18:19:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-05-13 18:19:09 +0000
commita604a1e407d0c1ab14b5c08cf422e2446c996b3c (patch)
tree465f0bb9feaa2e0985b53a26429d56ecd44c1093
parentf2296ae8cde4232845e5a21d1e7b4ccc5d554f79 (diff)
downloadports-a604a1e407d0c1ab14b5c08cf422e2446c996b3c.tar.gz
ports-a604a1e407d0c1ab14b5c08cf422e2446c996b3c.zip
Notes
-rw-r--r--games/stratagus/Makefile21
-rw-r--r--games/stratagus/distinfo4
-rw-r--r--games/stratagus/pkg-plist7
3 files changed, 20 insertions, 12 deletions
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile
index 807238c2445c..93345c27e954 100644
--- a/games/stratagus/Makefile
+++ b/games/stratagus/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= stratagus
-PORTVERSION= 2.2.7
-PORTREVISION= 5
+PORTVERSION= 2.3.0
CATEGORIES= games
-MASTER_SITES= http://launchpadlibrarian.net/113005346/
+MASTER_SITES= http://launchpadlibrarian.net/200661330/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= amdmi3@FreeBSD.org
@@ -24,16 +23,13 @@ USES= cmake:outsource lua:51 pkgconfig
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
-DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \
-DTOLUA++_INCLUDE_DIR:STRING="${LUA_INCDIR}" \
- -DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so"
+ -DTOLUA++_LIBRARY:STRING="${LUA_LIBDIR}/libtolua++.so" \
+ -DENABLE_DEV:BOOL=ON
PORTDOCS= *
-PLIST_FILES= bin/png2stratagus \
- bin/stratagus \
- man/man6/stratagus.6.gz \
- sbin/metaserver
-OPTIONS_DEFINE= MIKMOD MNG THEORA VORBIS X11 DOCS
-OPTIONS_DEFAULT=MIKMOD MNG THEORA VORBIS X11
+OPTIONS_DEFINE= MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH DOCS
+OPTIONS_DEFAULT=MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH
MIKMOD_LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod
MIKMOD_CMAKE_ON= -DWITH_MIKMOD:BOOL=ON
@@ -57,6 +53,11 @@ X11_USE= XORG=x11
X11_CMAKE_ON= -DWITH_X11:BOOL=ON
X11_CMAKE_OFF= -DWITH_X11:BOOL=OFF
+FLUIDSYNTH_DESC= FluidSynth sound library support
+FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
+FLUIDSYNTH_CMAKE_ON= -DWITH_FLUIDSYNTH:BOOL=ON
+FLUIDSYNTH_CMAKE_OFF= -DWITH_FLUIDSYNTH:BOOL=OFF
+
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/stratagus.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "[a-z]*.html *.txt graphics scripts" \
diff --git a/games/stratagus/distinfo b/games/stratagus/distinfo
index a60d447ced15..cd71d4e9f836 100644
--- a/games/stratagus/distinfo
+++ b/games/stratagus/distinfo
@@ -1,2 +1,2 @@
-SHA256 (stratagus_2.2.7.orig.tar.gz) = 9bdaf207623b60a5e98451128bb7fb649e00ce4aba507320bde63e60f93e8c9f
-SIZE (stratagus_2.2.7.orig.tar.gz) = 939967
+SHA256 (stratagus_2.3.0.orig.tar.gz) = d3d124f253e987ee1be396ebcdec31228790163a121a9f4e0049d334114adb99
+SIZE (stratagus_2.3.0.orig.tar.gz) = 1000990
diff --git a/games/stratagus/pkg-plist b/games/stratagus/pkg-plist
new file mode 100644
index 000000000000..806e0a12ca40
--- /dev/null
+++ b/games/stratagus/pkg-plist
@@ -0,0 +1,7 @@
+bin/png2stratagus
+bin/stratagus
+@comment include/stratagus-game-installer.nsi
+include/stratagus-game-launcher.h
+@comment include/stratagus-maemo-extract.h
+man/man6/stratagus.6.gz
+sbin/metaserver