diff options
author | lofi <lofi@FreeBSD.org> | 2004-07-04 13:27:40 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-07-04 13:27:40 +0800 |
commit | 2f5746c0b8d1fb0b90b7d3fb6994e2d7c46035a8 (patch) | |
tree | 0370bab46e1e863b4454dee9241b0a4f523d3477 /games | |
parent | 70b2066f1f8140141be09fc024ae32dc33107886 (diff) | |
download | freebsd-ports-gnome-2f5746c0b8d1fb0b90b7d3fb6994e2d7c46035a8.tar.gz freebsd-ports-gnome-2f5746c0b8d1fb0b90b7d3fb6994e2d7c46035a8.tar.zst freebsd-ports-gnome-2f5746c0b8d1fb0b90b7d3fb6994e2d7c46035a8.zip |
Add stratagus, a free cross-platform real-time strategy gaming engine
PR: ports/68582
Submitted by: Travis Poppe <tlp@LiquidX.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/stratagus/Makefile | 66 | ||||
-rw-r--r-- | games/stratagus/distinfo | 2 | ||||
-rw-r--r-- | games/stratagus/files/patch-aa | 11 | ||||
-rw-r--r-- | games/stratagus/pkg-descr | 10 | ||||
-rw-r--r-- | games/stratagus/pkg-message | 14 |
6 files changed, 104 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index ed56cbc7a6a1..e5457fa83d69 100644 --- a/games/Makefile +++ b/games/Makefile @@ -421,6 +421,7 @@ SUBDIR += ssamtse SUBDIR += ssc SUBDIR += starlanes + SUBDIR += stratagus SUBDIR += stvef-paks SUBDIR += stvef-server SUBDIR += super_methane_brothers diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile new file mode 100644 index 000000000000..50ce34bd11ee --- /dev/null +++ b/games/stratagus/Makefile @@ -0,0 +1,66 @@ +# New ports collection makefile for: stratagus +# Date created: 30 Jun 2004 +# Whom: Travis Poppe <tlp@liquidx.org> +# +# $FreeBSD$ +# + +PORTNAME= stratagus +PORTVERSION= 2.1 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= tlp@liquidx.org +COMMENT= Free cross-platform real-time strategy gaming engine + +BUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png \ + ${LOCALBASE}/lib/liblua.a:${PORTSDIR}/lang/lua + +USE_SDL= yes +USE_XLIB= yes +USE_GMAKE= yes +USE_REINPLACE= yes + +WRKSRC= ${WRKDIR}/stratagus-040702 + +GNU_CONFIGURE= yes + +.if defined(WITH_OPENGL) +CONFIGURE_ARGS+= --with-opengl +.endif + +.if defined(WITHOUT_VORBIS) +CONFIGURE_ARGS+= --without-ogg +.else +LIB_DEPENDS+= vorbisfile.4:${PORTSDIR}/audio/libvorbis +.endif + +.if defined(WITHOUT_MIKMOD) +CONFIGURE_ARGS+= --without-mikmod +.else +LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod +.endif + +PLIST_FILES= bin/stratagus + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "Stratagus has the following tunable option(s):" + @${ECHO_MSG} "" + @${ECHO_MSG} " WITH_OPENGL=yes Builds Stratagus with OpenGL" + @${ECHO_MSG} "" + @${ECHO_MSG} " WITHOUT_VORBIS=yes Turns off Ogg Vorbis support" + @${ECHO_MSG} " WITHOUT_MIKMOD=yes Turns off Mikmod support" + @${ECHO_MSG} "" + +post-configure: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Rules.make + @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|' ${WRKSRC}/Rules.make + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/games/stratagus/distinfo b/games/stratagus/distinfo new file mode 100644 index 000000000000..69c2b06f72c3 --- /dev/null +++ b/games/stratagus/distinfo @@ -0,0 +1,2 @@ +MD5 (stratagus-2.1-src.tar.gz) = ff6b2070b66e8847eeed6bedc24ad8bb +SIZE (stratagus-2.1-src.tar.gz) = 995686 diff --git a/games/stratagus/files/patch-aa b/games/stratagus/files/patch-aa new file mode 100644 index 000000000000..18c88c4db0a5 --- /dev/null +++ b/games/stratagus/files/patch-aa @@ -0,0 +1,11 @@ +--- Rules.make.in.orig Thu Jul 1 00:03:00 2004 ++++ Rules.make.in Thu Jul 1 00:04:55 2004 +@@ -55,7 +55,8 @@ + @OGG_CFLAGS@ @MAD_CFLAGS@ @FLAC_CFLAGS@ @CDAUDIO_CFLAGS@ \ + @MIKMOD_CFLAGS@ @LUA_CFLAGS@ $(CCL) \ + $(COMP_CFLAGS) @PLATFORM@ \ +- -I/usr/local/include ++ -I/usr/local/include \ ++ -I/usr/X11R6/include + + CTAGSFLAGS=-i defptvS -a -f diff --git a/games/stratagus/pkg-descr b/games/stratagus/pkg-descr new file mode 100644 index 000000000000..848992e9e856 --- /dev/null +++ b/games/stratagus/pkg-descr @@ -0,0 +1,10 @@ +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. + +WWW: http://stratagus.sourceforge.net + +- Travis Poppe +tlp@liquidx.org diff --git a/games/stratagus/pkg-message b/games/stratagus/pkg-message new file mode 100644 index 000000000000..4e617f7236dc --- /dev/null +++ b/games/stratagus/pkg-message @@ -0,0 +1,14 @@ +------------------------------------------------------------------------------- +NOTE: This is only the engine. If you wish to play a game that uses the +Stratagus engine, you must manually download the Stratagus game data. + +You can use the 'games/wargus' port to extract data from a legal copy of +Warcraft 2 (original DOS version required, won't work with the battle.net +edition). + +For more information, please take a look at the following URL: + +http://stratagus.sourceforge.net/games.shtml + +Enjoy! +------------------------------------------------------------------------------- |