aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-13 04:05:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-13 04:05:35 +0800
commit2f2a0289d39919dc74fb964d70e63033518aa5d6 (patch)
tree4e4ec0e6a8020103b23f0b70681b29a9ff0eaad8 /games
parent98fc884ed63464ecc87f79edd0929bc42779bdfe (diff)
downloadfreebsd-ports-gnome-2f2a0289d39919dc74fb964d70e63033518aa5d6.tar.gz
freebsd-ports-gnome-2f2a0289d39919dc74fb964d70e63033518aa5d6.tar.zst
freebsd-ports-gnome-2f2a0289d39919dc74fb964d70e63033518aa5d6.zip
- Update to 2.4.1
Diffstat (limited to 'games')
-rw-r--r--games/stratagus/Makefile33
-rw-r--r--games/stratagus/distinfo5
2 files changed, 19 insertions, 19 deletions
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile
index 6562a3e8b383..a903ade6e04f 100644
--- a/games/stratagus/Makefile
+++ b/games/stratagus/Makefile
@@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= stratagus
-PORTVERSION= 2.3.0
+PORTVERSION= 2.4.1
+DISTVERSIONPREFIX= v
CATEGORIES= games
-MASTER_SITES= http://launchpadlibrarian.net/200661330/
-DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Free cross-platform real-time strategy gaming engine
@@ -16,6 +15,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png \
libtolua++-${LUA_VER}.so:lang/tolua++
+USE_GITHUB= yes
+GH_ACCOUNT= Wargus
+
USE_GL= gl glu
USE_SDL= sdl
USES= cmake:outsource lua:51 pkgconfig sqlite
@@ -31,34 +33,31 @@ OPTIONS_DEFINE= MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH DOCS
OPTIONS_DEFAULT=MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH
MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod
-MIKMOD_CMAKE_ON= -DWITH_MIKMOD:BOOL=ON
-MIKMOD_CMAKE_OFF= -DWITH_MIKMOD:BOOL=OFF
+MIKMOD_CMAKE_BOOL= WITH_MIKMOD
MNG_DESC= MNG image library support
MNG_LIB_DEPENDS= libmng.so:graphics/libmng
-MNG_CMAKE_ON= -DWITH_MNG:BOOL=ON
-MNG_CMAKE_OFF= -DWITH_MNG:BOOL=OFF
+MNG_CMAKE_BOOL= WITH_MNG
THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora
-THEORA_CMAKE_ON= -DWITH_THEORA:BOOL=ON
-THEORA_CMAKE_OFF= -DWITH_THEORA:BOOL=OFF
+THEORA_CMAKE_BOOL= WITH_THEORA
-VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
-VORBIS_CMAKE_ON= -DWITH_OGGVORBIS:BOOL=ON
-VORBIS_CMAKE_OFF= -DWITH_OGGVORBIS:BOOL=OFF
+VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \
+ libogg.so:audio/libogg
+VORBIS_CMAKE_BOOL= WITH_OGGVORBIS
X11_DESC= X11 clipboard pasting support
X11_USE= XORG=x11
-X11_CMAKE_ON= -DWITH_X11:BOOL=ON
-X11_CMAKE_OFF= -DWITH_X11:BOOL=OFF
+X11_CMAKE_BOOL= WITH_X11
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
-FLUIDSYNTH_CMAKE_ON= -DWITH_FLUIDSYNTH:BOOL=ON
-FLUIDSYNTH_CMAKE_OFF= -DWITH_FLUIDSYNTH:BOOL=OFF
+FLUIDSYNTH_CMAKE_BOOL= WITH_FLUIDSYNTH
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/stratagus.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
- cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "[a-z]*.html *.txt graphics scripts" \
+
+post-install-DOCS-on:
+ @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "[a-z]*.html *.txt graphics scripts" \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/stratagus/distinfo b/games/stratagus/distinfo
index cd71d4e9f836..0b2f85676f6a 100644
--- a/games/stratagus/distinfo
+++ b/games/stratagus/distinfo
@@ -1,2 +1,3 @@
-SHA256 (stratagus_2.3.0.orig.tar.gz) = d3d124f253e987ee1be396ebcdec31228790163a121a9f4e0049d334114adb99
-SIZE (stratagus_2.3.0.orig.tar.gz) = 1000990
+TIMESTAMP = 1491831354
+SHA256 (Wargus-stratagus-v2.4.1_GH0.tar.gz) = 4f77d0e3cb09c6322a9d5576b55bc2eb498e041a4d77c79dfc3a9b5612913788
+SIZE (Wargus-stratagus-v2.4.1_GH0.tar.gz) = 1087678