Date: Mon, 22 Aug 2005 15:14:26 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/85230: [NEW PORT] games/warzone2100 - Innovative 3D real-time strategy game Message-ID: <1124734466.0@phobos.mars.bsd> Resent-Message-ID: <200508221820.j7MIKJjx094238@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85230 >Category: ports >Synopsis: [NEW PORT] games/warzone2100 - Innovative 3D real-time strategy game >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: Mon Aug 22 18:20:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: --- warzone2100.shar begins here --- # 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: # # warzone2100 # warzone2100/Makefile # warzone2100/distinfo # warzone2100/files # warzone2100/files/warzone.in # warzone2100/pkg-descr # warzone2100/pkg-plist # echo c - warzone2100 mkdir -p warzone2100 > /dev/null 2>&1 echo x - warzone2100/Makefile sed 's/^X//' >warzone2100/Makefile << 'END-of-warzone2100/Makefile' X# New ports collection makefile for: warzone2100 X# Date created: 21 Aug 2005 X# Whom: Alejandro Pulver <alejandro@varnet.biz> X# X# $FreeBSD$ X# X XPORTNAME= warzone2100 XPORTVERSION= 0.2.2 XCATEGORIES= games XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Innovative 3D real-time strategy game X XLIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ X mad.2:${PORTSDIR}/audio/libmad \ X ogg.5:${PORTSDIR}/audio/libogg \ X openal.0:${PORTSDIR}/audio/openal \ X vorbis.3:${PORTSDIR}/audio/libvorbis X XUSE_BZIP2= yes XUSE_REINPLACE= yes XUSE_GL= yes XUSE_SDL= net sdl X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --program-transform-name="" XCONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ X LDFLAGS="-L${X11BASE}/lib" X XSUB_FILES= warzone X Xpost-patch: X# Remove "-m32" flag X @${REINPLACE_CMD} -e 's|-m32||' \ X ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ X ${WRKSRC}/makerules/common.mk X X# Fix SDL include statement X.for f in configure *.c *.h X @${FIND} ${WRKSRC} -type f -name "${f}" -print0 | \ X ${XARGS} -0 ${REINPLACE_CMD} -e \ X 's|\(#include.*\)SDL/\(SDL.*\)|\1\2|' X.endfor X Xdo-install: X# Script X @${INSTALL_SCRIPT} ${WRKDIR}/warzone ${PREFIX}/bin X X# Program X @${INSTALL_PROGRAM} ${WRKSRC}/src/warzone ${PREFIX}/libexec X X# Data X @${MKDIR} ${DATADIR} X @${CP} -R ${WRKSRC}/data/* ${DATADIR} X X# Documentation X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} X.endif X Xpost-install: X# Fix permissions X @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} X @${FIND} ${DATADIR} -type f -print0 | \ X ${XARGS} -0 ${CHMOD} ${SHAREMODE} X @${FIND} ${DATADIR} -type d -print0 | \ X ${XARGS} -0 ${CHMOD} ${BINMODE} X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} < 500000 XIGNORE= does not compile (missing stdint.h) X.endif X X.include <bsd.port.post.mk> END-of-warzone2100/Makefile echo x - warzone2100/distinfo sed 's/^X//' >warzone2100/distinfo << 'END-of-warzone2100/distinfo' XMD5 (warzone2100-0.2.2.tar.bz2) = b23fa1896856c3b9ee37b39029e4c532 XSIZE (warzone2100-0.2.2.tar.bz2) = 31076323 END-of-warzone2100/distinfo echo c - warzone2100/files mkdir -p warzone2100/files > /dev/null 2>&1 echo x - warzone2100/files/warzone.in sed 's/^X//' >warzone2100/files/warzone.in << 'END-of-warzone2100/files/warzone.in' X#!/bin/sh X X# The executable needs to be run from its data directory. X Xcd %%DATADIR%% || exit 1 X Xexec %%PREFIX%%/libexec/warzone END-of-warzone2100/files/warzone.in echo x - warzone2100/pkg-descr sed 's/^X//' >warzone2100/pkg-descr << 'END-of-warzone2100/pkg-descr' XWarzone 2100 was an innovative 3D real-time strategy game back in 1999, and Xmost will agree it didn't enjoy the commercial success it should have had. The Xgame's source code was liberated on December 6th, 2004, under a GPL license X(see COPYING in this directory for details). Soon after that, the Warzone 2100 XReDev project was formed to take care of its future. X XOur goal is to make warzone run on all possible platforms. Therefore, we Xstripped the original code of all proprietary technologies and replaced them Xwith cross-platform and free equivalents, like OpenGL, OpenAL, etc... Right Xnow, Warzone 2100 works very well on Windows and GNU/Linux, and we have even Xheard of it running on BSD with no particular issue. X XWWW: http://warzone2100.sf.net/ END-of-warzone2100/pkg-descr echo x - warzone2100/pkg-plist sed 's/^X//' >warzone2100/pkg-plist << 'END-of-warzone2100/pkg-plist' Xbin/warzone Xlibexec/warzone X%%PORTDOCS%%%%DOCSDIR%%/README X%%DATADIR%%/2c-ardvark.wdg X%%DATADIR%%/2c-bitofabarny.wdg X%%DATADIR%%/2c-marspyscho.wdg X%%DATADIR%%/8c-mars3gorges_8.wdg X%%DATADIR%%/8c-marscodao.wdg X%%DATADIR%%/8c-marsendgame.wdg X%%DATADIR%%/8c-marsnrglvalis.wdg X%%DATADIR%%/8c-marsrelic.wdg X%%DATADIR%%/aug27.wdg X%%DATADIR%%/cam2tech.wdg X%%DATADIR%%/dec00.wdg X%%DATADIR%%/july30.wdg X%%DATADIR%%/june25.wdg X%%DATADIR%%/marsbetamaps.txt X%%DATADIR%%/may21.wdg X%%DATADIR%%/may28.wdg X%%DATADIR%%/multiplay/skirmish/player0.slo X%%DATADIR%%/multiplay/skirmish/player0.vlo X%%DATADIR%%/multiplay/skirmish/player1.slo X%%DATADIR%%/multiplay/skirmish/player1.vlo X%%DATADIR%%/multiplay/skirmish/player2.slo X%%DATADIR%%/multiplay/skirmish/player2.vlo X%%DATADIR%%/multiplay/skirmish/player3.slo X%%DATADIR%%/multiplay/skirmish/player3.vlo X%%DATADIR%%/multiplay/skirmish/player4.slo X%%DATADIR%%/multiplay/skirmish/player4.vlo X%%DATADIR%%/multiplay/skirmish/player5.slo X%%DATADIR%%/multiplay/skirmish/player5.vlo X%%DATADIR%%/multiplay/skirmish/player6.slo X%%DATADIR%%/multiplay/skirmish/player6.vlo X%%DATADIR%%/multiplay/skirmish/player7.slo X%%DATADIR%%/multiplay/skirmish/player7.vlo X%%DATADIR%%/multiplay/skirmish/rules.slo X%%DATADIR%%/multiplay/skirmish/rules.vlo X%%DATADIR%%/multiplay/skirmish/scriptlang.rtf X%%DATADIR%%/multiplay/skirmish/sk2tech.vlo X%%DATADIR%%/multiplay/skirmish/sk3tech.vlo X%%DATADIR%%/multiplay/skirmish/sktech.slo X%%DATADIR%%/music/music.wpl X%%DATADIR%%/music/neos_aurore.ogg X%%DATADIR%%/music/neos_chocolat.ogg X%%DATADIR%%/music/neos_down.ogg X%%DATADIR%%/music/neos_esperance.ogg X%%DATADIR%%/music/neos_indy.ogg X%%DATADIR%%/music/neos_symphonie_du_vide.ogg X%%DATADIR%%/newmaps.wdg X%%DATADIR%%/newtech.wdg X%%DATADIR%%/nov.wdg X%%DATADIR%%/oct.wdg X%%DATADIR%%/sep30.wdg X%%DATADIR%%/skirmish3.wdg X%%DATADIR%%/stats/names.txt X%%DATADIR%%/texpages/bdrops/00-bdrop.jpg X%%DATADIR%%/texpages/bdrops/00-bdrop.pcx X%%DATADIR%%/texpages/bdrops/01-bdrop.jpg X%%DATADIR%%/texpages/bdrops/01-bdrop.pcx X%%DATADIR%%/texpages/bdrops/02-bdrop.jpg X%%DATADIR%%/texpages/bdrops/02-bdrop.pcx X%%DATADIR%%/texpages/bdrops/03-bdrop.jpg X%%DATADIR%%/texpages/bdrops/03-bdrop.pcx X%%DATADIR%%/texpages/bdrops/04-bdrop.jpg X%%DATADIR%%/texpages/bdrops/04-bdrop.pcx X%%DATADIR%%/texpages/bdrops/05-bdrop.jpg X%%DATADIR%%/texpages/bdrops/05-bdrop.pcx X%%DATADIR%%/texpages/bdrops/06-bdrop.jpg X%%DATADIR%%/texpages/bdrops/06-bdrop.pcx X%%DATADIR%%/texpages/bdrops/credits.jpg X%%DATADIR%%/texpages/bdrops/credits.pcx X%%DATADIR%%/texpages/bdrops/missionend.jpg X%%DATADIR%%/texpages/bdrops/missionend.pcx X%%DATADIR%%/texpages/readme.txt X%%DATADIR%%/texpages/tertilesc1.pcx X%%DATADIR%%/texpages/tertilesc2.pcx X%%DATADIR%%/texpages/tertilesc3.pcx X%%DATADIR%%/texpages/tertilesc4hw.pcx X%%DATADIR%%/texpages/tertilesc5.pcx X%%DATADIR%%/texpages/tertilesc5hw.pcx X%%DATADIR%%/texpages/tertilesc6.pcx X%%DATADIR%%/texpages/tertilesc7.pcx X%%DATADIR%%/texpages/tertilesc7hw.pcx X%%DATADIR%%/update.rtf X%%DATADIR%%/warzone.wdg X@dirrm %%DATADIR%%/texpages/bdrops X@dirrm %%DATADIR%%/texpages X@dirrm %%DATADIR%%/stats X@dirrm %%DATADIR%%/music X@dirrm %%DATADIR%%/multiplay/skirmish X@dirrm %%DATADIR%%/multiplay X@dirrm %%DATADIR%% X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-warzone2100/pkg-plist exit --- warzone2100.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1124734466.0>