Modified Stratagus engine for Wyrmsun
WWW: https://github.com/Andrettin/Wyrmgus
This commit is contained in:
parent
4af506eb2e
commit
8d60d3af04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386362
@ -1047,6 +1047,7 @@
|
||||
SUBDIR += worldofpadman
|
||||
SUBDIR += wtf
|
||||
SUBDIR += wxlauncher
|
||||
SUBDIR += wyrmgus
|
||||
SUBDIR += xabacus
|
||||
SUBDIR += xasteroids
|
||||
SUBDIR += xataxx
|
||||
|
71
games/wyrmgus/Makefile
Normal file
71
games/wyrmgus/Makefile
Normal file
@ -0,0 +1,71 @@
|
||||
# Created by: Travis Poppe <tlp@liquidx.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= wyrmgus
|
||||
PORTVERSION= git20150514
|
||||
CATEGORIES= games devel
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= Modified Stratagus engine for Wyrmsun
|
||||
|
||||
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= 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_USEGAMEDIR:BOOL=OFF
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/pixmaps/wyrmsun.ico
|
||||
|
||||
OPTIONS_DEFINE= MIKMOD MNG THEORA VORBIS X11 FLUIDSYNTH DOCS
|
||||
OPTIONS_DEFAULT=VORBIS X11
|
||||
|
||||
MIKMOD_LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod
|
||||
MIKMOD_CMAKE_ON= -DWITH_MIKMOD:BOOL=ON
|
||||
MIKMOD_CMAKE_OFF= -DWITH_MIKMOD:BOOL=OFF
|
||||
|
||||
MNG_DESC= MNG image library support
|
||||
MNG_LIB_DEPENDS= libmng.so:${PORTSDIR}/graphics/libmng
|
||||
MNG_CMAKE_ON= -DWITH_MNG:BOOL=ON
|
||||
MNG_CMAKE_OFF= -DWITH_MNG:BOOL=OFF
|
||||
|
||||
THEORA_LIB_DEPENDS= libtheora.so:${PORTSDIR}/multimedia/libtheora
|
||||
THEORA_CMAKE_ON= -DWITH_THEORA:BOOL=ON
|
||||
THEORA_CMAKE_OFF= -DWITH_THEORA:BOOL=OFF
|
||||
|
||||
VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
|
||||
VORBIS_CMAKE_ON= -DWITH_OGGVORBIS:BOOL=ON
|
||||
VORBIS_CMAKE_OFF= -DWITH_OGGVORBIS:BOOL=OFF
|
||||
|
||||
X11_DESC= X11 clipboard pasting support
|
||||
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
|
||||
|
||||
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>
|
2
games/wyrmgus/distinfo
Normal file
2
games/wyrmgus/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Andrettin-Wyrmgus-git20150514-bc2d9703d3_GH0.tar.gz) = caef6b02db19747e5f1f37a13f36812a5bc665343501d673bde4e719981a9b57
|
||||
SIZE (Andrettin-Wyrmgus-git20150514-bc2d9703d3_GH0.tar.gz) = 1080110
|
3
games/wyrmgus/pkg-descr
Normal file
3
games/wyrmgus/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Modified Stratagus engine for Wyrmsun
|
||||
|
||||
WWW: https://github.com/Andrettin/Wyrmgus
|
Loading…
Reference in New Issue
Block a user