1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

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>
This commit is contained in:
Martin Wilke 2008-07-19 16:11:17 +00:00
parent ca53d3f5e9
commit 5e1e3a206c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217118
6 changed files with 132 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -0,0 +1,4 @@
#!/bin/sh
cd @ETQWDIR@ || exit 1
exec ./etqwded.x86 "$@"

View File

@ -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/

View File

@ -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