diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-09-04 04:46:51 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-09-04 04:46:51 +0800 |
commit | 9ad122f62566bd1446147fa1294459b185fc89b5 (patch) | |
tree | b32d60386997993bc750116f279559ceffaf4a06 /games/linux-ut2003-demo | |
parent | 842ddc870a462e71f810d33d3229bb663a62bc47 (diff) | |
download | freebsd-ports-gnome-9ad122f62566bd1446147fa1294459b185fc89b5.tar.gz freebsd-ports-gnome-9ad122f62566bd1446147fa1294459b185fc89b5.tar.zst freebsd-ports-gnome-9ad122f62566bd1446147fa1294459b185fc89b5.zip |
Add linux-ut2003-demo.
Unreal Tournament 2003 is a first-person shooter computer game designed mainly
for multiplayer gaming although the game had a built in single-player mode
that mimics multiplayer gaming by featuring AI-bots. The game is part of the
Unreal franchise's series of games and is a the sequel to 1999's Unreal
Tournament. Unreal II: The Awakening was released as a sister product to the
game, however, was developed for single-player only. Later, Unreal II would
receive an add-on that would enable a multiplayer mode. UT 2003 was followed
by Unreal Tournament 2004 released in March of 2004.
WWW: http://www.unrealtournament.com/ut2003/
PR: ports/85549
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Diffstat (limited to 'games/linux-ut2003-demo')
-rw-r--r-- | games/linux-ut2003-demo/Makefile | 85 | ||||
-rw-r--r-- | games/linux-ut2003-demo/distinfo | 2 | ||||
-rw-r--r-- | games/linux-ut2003-demo/files/ut2003-demo.in | 12 | ||||
-rw-r--r-- | games/linux-ut2003-demo/pkg-descr | 10 |
4 files changed, 109 insertions, 0 deletions
diff --git a/games/linux-ut2003-demo/Makefile b/games/linux-ut2003-demo/Makefile new file mode 100644 index 000000000000..a7c6ca36cbc7 --- /dev/null +++ b/games/linux-ut2003-demo/Makefile @@ -0,0 +1,85 @@ +# New ports collection makefile for: ut2003-demo +# Date created: 31 Aug 2005 +# Whom: Alejandro Pulver <alejandro@varnet.biz> +# +# $FreeBSD$ +# + +PORTNAME= ut2003-demo +PORTVERSION= 2206 +CATEGORIES= games linux +MASTER_SITES= ${MASTER_SITE_GENTOO} +MASTER_SITE_SUBDIR= distfiles +PKGNAMEPREFIX= linux- +DISTNAME= ut2003demo-lnx-${PORTVERSION} +EXTRACT_SUFX= .sh.bin + +MAINTAINER= alejandro@varnet.biz +COMMENT= Unreal Tournament 2003 demo + +ONLY_FOR_ARCHS= i386 +USE_X_PREFIX= yes +USE_LINUX= yes +NO_PACKAGE= Distfile is 130MB, set FORCE_PACKAGE if you really want to build this package +RESTRICTED= Redistribution is limited, see license +NO_BUILD= yes +NO_WRKSUBDIR= yes + +UTDIR= ${PREFIX}/lib/${PORTNAME} +UTDIR_REL= ${UTDIR:S,^${PREFIX}/,,} + +PLIST= ${WRKDIR}/pkg-plist + +SUB_FILES= ut2003-demo +SUB_LIST= UTDIR="${UTDIR}" + +PLIST_FILES= bin/ut2003-demo \ + %%DATADIR%%/UT2003Logo.bmp %%DATADIR%%/Unreal.xpm +PLIST_DIRS= ${UTDIR_REL} %%DATADIR%% +PORTDOCS= * + +LIBDIRS= Animations Benchmark ForceFeedback KarmaData Maps Music \ + Sounds StaticMeshes System Textures Web + +do-extract: + @${MKDIR} ${WRKSRC} + @cd ${WRKSRC} && ${TAIL} -c +6360 ${_DISTDIR}/${DISTFILES} | ${TAR} zxf - + @cd ${WRKSRC} && ${TAR} yxf ut2003lnx_demo.tar.bz2 + @cd ${WRKSRC} && ${TAR} zxf setupstuff.tar.gz + +pre-install: + @${RM} -f ${PLIST} + @cd ${WRKSRC} && \ + ${FIND} ${LIBDIRS} -type f | ${SORT} \ + | ${SED} -e 's|^|${UTDIR_REL}/|' >> ${PLIST} && \ + ${FIND} ${LIBDIRS} -type d ! -empty | ${SORT} -r \ + | ${SED} -e 's|^|@dirrm ${UTDIR_REL}/|' >> ${PLIST} + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/ut2003-demo ${PREFIX}/bin + + cd ${WRKSRC} && \ + ${FIND} ${LIBDIRS} -type d ! -empty -exec \ + ${MKDIR} "${UTDIR}/{}" \; && \ + ${FIND} ${LIBDIRS} -type f -exec \ + ${INSTALL_DATA} "{}" "${UTDIR}/{}" \; + + -${CHOWN} ${BINOWN}:${BINGRP} ${UTDIR}/Benchmark/*.sh ${UTDIR}/System/*-bin + ${CHMOD} ${BINMODE} ${UTDIR}/Benchmark/*.sh ${UTDIR}/System/*-bin + + -${CHOWN} ${LIBOWN}:${LIBGRP} ${UTDIR}/System/*.so* + ${CHMOD} ${LIBMODE} ${UTDIR}/System/*.so* + + ${MKDIR} ${DATADIR} +.for f in Help/UT2003Logo.bmp Unreal.xpm + ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} +.endfor + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +. for f in README.linux Help/ReadMe-* eula/* + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +. endfor +.endif + +.include <bsd.port.mk> diff --git a/games/linux-ut2003-demo/distinfo b/games/linux-ut2003-demo/distinfo new file mode 100644 index 000000000000..77a0b0178c1b --- /dev/null +++ b/games/linux-ut2003-demo/distinfo @@ -0,0 +1,2 @@ +MD5 (ut2003demo-lnx-2206.sh.bin) = b28acb17aca17bd2865771de8b75eb89 +SIZE (ut2003demo-lnx-2206.sh.bin) = 137253079 diff --git a/games/linux-ut2003-demo/files/ut2003-demo.in b/games/linux-ut2003-demo/files/ut2003-demo.in new file mode 100644 index 000000000000..2c9891878269 --- /dev/null +++ b/games/linux-ut2003-demo/files/ut2003-demo.in @@ -0,0 +1,12 @@ +#!/bin/sh + +export UT2003_DATA_PATH="%%UTDIR%%/System" + +if [ -n "$LD_LIBRARY_PATH" ]; then + export LD_LIBRARY_PATH="$UT2003_DATA_PATH:$LD_LIBRARY_PATH" +else + export LD_LIBRARY_PATH="$UT2003_DATA_PATH" +fi + +cd "$UT2003_DATA_PATH" || exit 1 +exec ./ut2003-bin "$@" diff --git a/games/linux-ut2003-demo/pkg-descr b/games/linux-ut2003-demo/pkg-descr new file mode 100644 index 000000000000..d83ad5605827 --- /dev/null +++ b/games/linux-ut2003-demo/pkg-descr @@ -0,0 +1,10 @@ +Unreal Tournament 2003 is a first-person shooter computer game designed mainly +for multiplayer gaming although the game had a built in single-player mode +that mimics multiplayer gaming by featuring AI-bots. The game is part of the +Unreal franchise's series of games and is a the sequel to 1999's Unreal +Tournament. Unreal II: The Awakening was released as a sister product to the +game, however, was developed for single-player only. Later, Unreal II would +receive an add-on that would enable a multiplayer mode. UT 2003 was followed +by Unreal Tournament 2004 released in March of 2004. + +WWW: http://www.unrealtournament.com/ut2003/ |