svn commit: r386362 - in head/games: . wyrmgus
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu May 14 21:10:12 UTC 2015
Author: amdmi3
Date: Thu May 14 21:10:10 2015
New Revision: 386362
URL: https://svnweb.freebsd.org/changeset/ports/386362
Log:
Modified Stratagus engine for Wyrmsun
WWW: https://github.com/Andrettin/Wyrmgus
Added:
head/games/wyrmgus/
- copied from r386277, head/games/stratagus/
Deleted:
head/games/wyrmgus/pkg-message
head/games/wyrmgus/pkg-plist
Modified:
head/games/Makefile
head/games/wyrmgus/Makefile
head/games/wyrmgus/distinfo
head/games/wyrmgus/pkg-descr
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Thu May 14 20:45:19 2015 (r386361)
+++ head/games/Makefile Thu May 14 21:10:10 2015 (r386362)
@@ -1047,6 +1047,7 @@
SUBDIR += worldofpadman
SUBDIR += wtf
SUBDIR += wxlauncher
+ SUBDIR += wyrmgus
SUBDIR += xabacus
SUBDIR += xasteroids
SUBDIR += xataxx
Modified: head/games/wyrmgus/Makefile
==============================================================================
--- head/games/stratagus/Makefile Wed May 13 23:28:20 2015 (r386277)
+++ head/games/wyrmgus/Makefile Thu May 14 21:10:10 2015 (r386362)
@@ -1,35 +1,41 @@
# Created by: Travis Poppe <tlp at liquidx.org>
# $FreeBSD$
-PORTNAME= stratagus
-PORTVERSION= 2.3.0
-CATEGORIES= games
-MASTER_SITES= http://launchpadlibrarian.net/200661330/
-DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
+PORTNAME= wyrmgus
+PORTVERSION= git20150514
+CATEGORIES= games devel
MAINTAINER= amdmi3 at FreeBSD.org
-COMMENT= Free cross-platform real-time strategy gaming engine
+COMMENT= Modified Stratagus engine for Wyrmsun
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
libtolua++-${LUA_VER}.so:${PORTSDIR}/lang/tolua++
+USE_GITHUB= yes
+GH_ACCOUNT= Andrettin
+GH_PROJECT= Wyrmgus
+GH_TAGNAME= bc2d9703d3
+
USE_GL= gl glu
USE_SDL= sdl
USE_SQLITE= 3
-USES= cmake:outsource lua:51 pkgconfig
+USES= compiler:c++11-lib 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" \
- -DENABLE_DEV:BOOL=ON
+ -DENABLE_USEGAMEDIR:BOOL=OFF
PORTDOCS= *
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/wyrmsun.ico
+
OPTIONS_DEFINE= MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH DOCS
-OPTIONS_DEFAULT=MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH
+OPTIONS_DEFAULT=VORBIS X11
MIKMOD_LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod
MIKMOD_CMAKE_ON= -DWITH_MIKMOD:BOOL=ON
@@ -58,9 +64,8 @@ FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so
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" \
- ${STAGEDIR}${DOCSDIR}
+do-install:
+ ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/stratagus ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/src/win32/wyrmsun.ico ${STAGEDIR}${PREFIX}/share/pixmaps/
.include <bsd.port.mk>
Modified: head/games/wyrmgus/distinfo
==============================================================================
--- head/games/stratagus/distinfo Wed May 13 23:28:20 2015 (r386277)
+++ head/games/wyrmgus/distinfo Thu May 14 21:10:10 2015 (r386362)
@@ -1,2 +1,2 @@
-SHA256 (stratagus_2.3.0.orig.tar.gz) = d3d124f253e987ee1be396ebcdec31228790163a121a9f4e0049d334114adb99
-SIZE (stratagus_2.3.0.orig.tar.gz) = 1000990
+SHA256 (Andrettin-Wyrmgus-git20150514-bc2d9703d3_GH0.tar.gz) = caef6b02db19747e5f1f37a13f36812a5bc665343501d673bde4e719981a9b57
+SIZE (Andrettin-Wyrmgus-git20150514-bc2d9703d3_GH0.tar.gz) = 1080110
Modified: head/games/wyrmgus/pkg-descr
==============================================================================
--- head/games/stratagus/pkg-descr Wed May 13 23:28:20 2015 (r386277)
+++ head/games/wyrmgus/pkg-descr Thu May 14 21:10:10 2015 (r386362)
@@ -1,7 +1,3 @@
-Stratagus is a free cross-platform real-time strategy gaming engine. It
-includes support for playing over the internet/LAN, or playing a computer
-opponent. The engine is configurable and can be used to create games with
-a wide-range of features specific to your needs. See the data sets page
-for a list of current games using the stratagus engine.
+Modified Stratagus engine for Wyrmsun
-WWW: https://launchpad.net/stratagus
+WWW: https://github.com/Andrettin/Wyrmgus
More information about the svn-ports-all
mailing list