ports/68582: [New Port] stratagus - Stratagus is a free cross-platform real-time strategy gaming engine
Travis Poppe
tlp at LiquidX.org
Fri Jul 2 04:41:56 UTC 2004
>Number: 68582
>Category: ports
>Synopsis: [New Port] stratagus - Stratagus is a free
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 02 04:40:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Travis Poppe <tlp at LiquidX.org>
>Release:
>Organization:
>Environment:
>Description:
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 at liquidx.org
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# games/stratagus/
# games/stratagus/files
# games/stratagus/files/patch-aa
# games/stratagus/Makefile
# games/stratagus/pkg-message
# games/stratagus/pkg-descr
# games/stratagus/distinfo
#
echo c - games/stratagus/
mkdir -p games/stratagus/ > /dev/null 2>&1
echo c - games/stratagus/files
mkdir -p games/stratagus/files > /dev/null 2>&1
echo x - games/stratagus/files/patch-aa
sed 's/^X//' >games/stratagus/files/patch-aa << 'END-of-games/stratagus/files/patch-aa'
X--- Rules.make.in.orig Thu Jul 1 00:03:00 2004
X+++ Rules.make.in Thu Jul 1 00:04:55 2004
X@@ -55,7 +55,8 @@
X @OGG_CFLAGS@ @MAD_CFLAGS@ @FLAC_CFLAGS@ @CDAUDIO_CFLAGS@ \
X @MIKMOD_CFLAGS@ @LUA_CFLAGS@ $(CCL) \
X $(COMP_CFLAGS) @PLATFORM@ \
X- -I/usr/local/include
X+ -I/usr/local/include \
X+ -I/usr/X11R6/include
X
X CTAGSFLAGS=-i defptvS -a -f
END-of-games/stratagus/files/patch-aa
echo x - games/stratagus/Makefile
sed 's/^X//' >games/stratagus/Makefile << 'END-of-games/stratagus/Makefile'
X# New ports collection makefile for: stratagus
X# Date created: 30 Jun 2004
X# Whom: Travis Poppe <tlp at liquidx.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= stratagus
XPORTVERSION= 2.1
XCATEGORIES= games
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= ${PORTNAME}
XDISTNAME= ${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER= tlp at liquidx.org
XCOMMENT= Stratagus is a free cross-platform real-time strategy gaming engine
X
XBUILD_DEPENDS= ${LOCALBASE}/lib/libpng.a:${PORTSDIR}/graphics/png \
X ${LOCALBASE}/lib/liblua.a:${PORTSDIR}/lang/lua
X
XUSE_SDL= yes
XUSE_XLIB= yes
XUSE_GMAKE= yes
XUSE_REINPLACE= yes
X
XWRKSRC= ${WRKDIR}/stratagus-040702
X
XGNU_CONFIGURE= yes
X
X.if defined(WITHOUT_VORBIS)
XCONFIGURE_ARGS+= --without-ogg
X.else
XLIB_DEPENDS+= vorbisfile.4:${PORTSDIR}/audio/libvorbis
X.endif
X
X.if defined(WITHOUT_MIKMOD)
XCONFIGURE_ARGS+= --without-mikmod
X.else
XLIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
X.endif
X
XPLIST_FILES= bin/stratagus
X
Xpre-everything::
X @${ECHO_MSG} ""
X @${ECHO_MSG} "Stratagus has the following tunable option(s):"
X @${ECHO_MSG} ""
X @${ECHO_MSG} " WITHOUT_VORBIS=yes Turns off Ogg Vorbis support"
X @${ECHO_MSG} " WITHOUT_MIKMOD=yes Turns off Mikmod support"
X @${ECHO_MSG} ""
X
Xpost-configure:
X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
X @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Rules.make
X @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|' ${WRKSRC}/Rules.make
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-games/stratagus/Makefile
echo x - games/stratagus/pkg-message
sed 's/^X//' >games/stratagus/pkg-message << 'END-of-games/stratagus/pkg-message'
X-------------------------------------------------------------------------------
XNOTE: This is only the engine. If you wish to play a game that uses the
XStratagus engine, you must manually download the Stratagus game data.
X
XYou can use the 'games/wargus' port to extract data from a legal copy of
XWarcraft 2 (original DOS version required, won't work with the battle.net
Xedition).
X
XFor more information, please take a look at the following URL:
X
Xhttp://stratagus.sourceforge.net/games.shtml
X
XEnjoy!
X-------------------------------------------------------------------------------
END-of-games/stratagus/pkg-message
echo x - games/stratagus/pkg-descr
sed 's/^X//' >games/stratagus/pkg-descr << 'END-of-games/stratagus/pkg-descr'
XStratagus is a free cross-platform real-time strategy gaming engine. It
Xincludes support for playing over the internet/LAN, or playing a computer
Xopponent. The engine is configurable and can be used to create games with
Xa wide-range of features specific to your needs. See the data sets page
Xfor a list of current games using the stratagus engine.
X
XWWW: http://stratagus.sourceforge.net
X
X- Travis Poppe
Xtlp at liquidx.org
END-of-games/stratagus/pkg-descr
echo x - games/stratagus/distinfo
sed 's/^X//' >games/stratagus/distinfo << 'END-of-games/stratagus/distinfo'
XMD5 (stratagus-2.1-src.tar.gz) = ff6b2070b66e8847eeed6bedc24ad8bb
XSIZE (stratagus-2.1-src.tar.gz) = 995686
END-of-games/stratagus/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
cross-platform real-time strategy gaming engine
More information about the freebsd-ports-bugs
mailing list