diff options
author | miwi <miwi@FreeBSD.org> | 2008-07-20 00:11:17 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-07-20 00:11:17 +0800 |
commit | 198a96cc51d87f6d056ce4d566a635f68846c3b4 (patch) | |
tree | 9da6fa1f0783ffad5e9091861bd51efacc3921f8 | |
parent | 233071349198ce703fe1b01043a744a22ebe9e2f (diff) | |
download | freebsd-ports-gnome-198a96cc51d87f6d056ce4d566a635f68846c3b4.tar.gz freebsd-ports-gnome-198a96cc51d87f6d056ce4d566a635f68846c3b4.tar.zst freebsd-ports-gnome-198a96cc51d87f6d056ce4d566a635f68846c3b4.zip |
Enemy Territory: QUAKE Wars is the Ultimate Online Strategic Shooter:
an objective-driven, class-based first person shooter set in the quake universe.
WWW: http://www.enemyterritory.com/
PR: ports/123007
Submitted by: Ayumi M <ayu at commun.jp>
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/linux-etqw-server/Makefile | 72 | ||||
-rw-r--r-- | games/linux-etqw-server/distinfo | 6 | ||||
-rw-r--r-- | games/linux-etqw-server/files/etqwded.in | 4 | ||||
-rw-r--r-- | games/linux-etqw-server/pkg-descr | 4 | ||||
-rw-r--r-- | games/linux-etqw-server/pkg-plist | 45 |
6 files changed, 132 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index fb60853c6ce4..3f8794ebfe8d 100644 --- a/games/Makefile +++ b/games/Makefile @@ -441,6 +441,7 @@ SUBDIR += linux-enemyterritory-omni-bot SUBDIR += linux-enemyterritory-shrub SUBDIR += linux-enemyterritory-tce + SUBDIR += linux-etqw-server SUBDIR += linux-nerogame SUBDIR += linux-nwnclient SUBDIR += linux-nwserver diff --git a/games/linux-etqw-server/Makefile b/games/linux-etqw-server/Makefile new file mode 100644 index 000000000000..4c52966a9713 --- /dev/null +++ b/games/linux-etqw-server/Makefile @@ -0,0 +1,72 @@ +# New ports collection makefile for: etqw-server +# Date created: 2008-04-21 +# Whom: Ayumi M <ayu@commun.jp> +# +# $FreeBSD$ +# + +PORTNAME= etqw +PORTVERSION= 1.4.r1 +CATEGORIES= games linux +MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|etqw/|} +PKGNAMEPREFIX= linux- +PKGNAMESUFFIX= -server +DISTNAME= ETQW${PKGNAMESUFFIX}-1.4-full.x86 +DISTFILES= ETQW${PKGNAMESUFFIX}-1.4-full.x86.run ETQW${PKGNAMESUFFIX}-1.4-hotfix.r1.zip + +MAINTAINER= ayu@commun.jp +COMMENT= Enemy Territory: QUAKE Wars Server for Linux + +NO_CDROM= Redistribution is limited +NO_PACKAGE= Package will be 428MB, set FORCE_PACKAGE if you really want it +NO_BUILD= yes + +ONLY_FOR_ARCHS= i386 amd64 +USE_LINUX= yes +USE_ZIP= yes + +ETQWDIR= ${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX} + +.include <bsd.port.pre.mk> + +do-extract: + @${MKDIR} ${WRKSRC} + @cd ${WRKSRC} && \ + ${TAIL} -c +194885 ${_DISTDIR}ETQW${PKGNAMESUFFIX}-1.4-full.x86.run > full.zip + @(cd ${WRKSRC} && ${UNZIP_CMD} -q ${WRKSRC}/full.zip) + @${RM} ${WRKSRC}/full.zip + @cd ${WRKSRC} && \ + ${UNZIP_CMD} -q ${_DISTDIR}ETQW${PKGNAMESUFFIX}-1.4-hotfix.r1.zip + +post-patch: + @${MV} ${WRKSRC}/etqwded.x86 ${WRKSRC}/data + + @${SED} -e 's|@ETQWDIR@|${ETQWDIR}|' ${FILESDIR}/etqwded.in > ${WRKSRC}/etqwded + +do-install: + @${MKDIR} ${ETQWDIR} + + ${INSTALL_PROGRAM} ${WRKSRC}/etqwded ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/data/etqwded.x86 ${ETQWDIR} + @cd ${WRKSRC}/data && \ + ${FIND} -E . -type f -iregex ".*\.so\.[0-9]+" \ + -exec ${INSTALL_DATA} "{}" "${ETQWDIR}/{}" \; + + @${MKDIR} ${ETQWDIR}/base/bots + @cd ${WRKSRC}/data && \ + ${FIND} base -type f \ + -exec ${INSTALL_DATA} "{}" "${ETQWDIR}/{}" \; + + @${MKDIR} ${ETQWDIR}/pb/htm + @cd ${WRKSRC}/data && \ + ${FIND} pb -type f \ + -exec ${INSTALL_DATA} "{}" "${ETQWDIR}/{}" \; + +.if !defined (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in EULA.txt README.txt copyrights.txt etqwtv.txt pb/PBEULA.txt + @${INSTALL_DATA} ${WRKSRC}/data/${FILE} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/games/linux-etqw-server/distinfo b/games/linux-etqw-server/distinfo new file mode 100644 index 000000000000..c2ce015aca37 --- /dev/null +++ b/games/linux-etqw-server/distinfo @@ -0,0 +1,6 @@ +MD5 (ETQW-server-1.4-full.x86.run) = c978b56a488bfbef5ac0ed8ac9489c92 +SHA256 (ETQW-server-1.4-full.x86.run) = a024a506969c8c7b9cb44535a7d1b43240a42ee46647fc37f9bf07e6d2e22720 +SIZE (ETQW-server-1.4-full.x86.run) = 447497032 +MD5 (ETQW-server-1.4-hotfix.r1.zip) = 20cd770bed61b95be66c7844b9b9f6a3 +SHA256 (ETQW-server-1.4-hotfix.r1.zip) = 9667ba216ceefbf324bf9e7851749f1760ae95e3cd47d77c346adb8e6b0653b0 +SIZE (ETQW-server-1.4-hotfix.r1.zip) = 5186561 diff --git a/games/linux-etqw-server/files/etqwded.in b/games/linux-etqw-server/files/etqwded.in new file mode 100644 index 000000000000..dee762a13169 --- /dev/null +++ b/games/linux-etqw-server/files/etqwded.in @@ -0,0 +1,4 @@ +#!/bin/sh + +cd @ETQWDIR@ || exit 1 +exec ./etqwded.x86 "$@" diff --git a/games/linux-etqw-server/pkg-descr b/games/linux-etqw-server/pkg-descr new file mode 100644 index 000000000000..c4948cdea546 --- /dev/null +++ b/games/linux-etqw-server/pkg-descr @@ -0,0 +1,4 @@ +Enemy Territory: QUAKE Wars is the Ultimate Online Strategic Shooter: +an objective-driven, class-based first person shooter set in the quake universe. + +WWW: http://www.enemyterritory.com/ diff --git a/games/linux-etqw-server/pkg-plist b/games/linux-etqw-server/pkg-plist new file mode 100644 index 000000000000..3323830d18d9 --- /dev/null +++ b/games/linux-etqw-server/pkg-plist @@ -0,0 +1,45 @@ +bin/etqwded +lib/etqw-server/base/bots/botnames.dat +lib/etqw-server/base/game000.pk4 +lib/etqw-server/base/game002.pk4 +lib/etqw-server/base/match.cfg +lib/etqw-server/base/pak000.pk4 +lib/etqw-server/base/pak001.pk4 +lib/etqw-server/base/pak002.pk4 +lib/etqw-server/base/pak003.pk4 +lib/etqw-server/base/pak004.pk4 +lib/etqw-server/base/pak005.pk4 +lib/etqw-server/base/pak006.pk4 +lib/etqw-server/base/pak007.pk4 +lib/etqw-server/base/public.cfg +lib/etqw-server/base/server.cfg +lib/etqw-server/base/usergroups.dat +lib/etqw-server/base/usergroups.example +lib/etqw-server/etqwded.x86 +lib/etqw-server/libSDL-1.2.id.so.0 +lib/etqw-server/libgcc_s.so.1 +lib/etqw-server/libjpeg.so.62 +lib/etqw-server/libstdc++.so.6 +lib/etqw-server/pb/PBEULA.txt +lib/etqw-server/pb/htm/la001313.htm +lib/etqw-server/pb/htm/lc001714.htm +lib/etqw-server/pb/htm/ma001313.htm +lib/etqw-server/pb/htm/mc001714.htm +lib/etqw-server/pb/htm/wa001313.htm +lib/etqw-server/pb/htm/wc001714.htm +lib/etqw-server/pb/pbag.so +lib/etqw-server/pb/pbags.so +lib/etqw-server/pb/pbcl.so +lib/etqw-server/pb/pbcls.so +lib/etqw-server/pb/pbsv.so +%%PORTDOCS%%%%DOCSDIR%%/EULA.txt +%%PORTDOCS%%%%DOCSDIR%%/PBEULA.txt +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/copyrights.txt +%%PORTDOCS%%%%DOCSDIR%%/etqwtv.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm lib/etqw-server/pb/htm +@dirrm lib/etqw-server/pb +@dirrm lib/etqw-server/base/bots +@dirrm lib/etqw-server/base +@dirrm lib/etqw-server |