aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-07-20 00:15:48 +0800
committermiwi <miwi@FreeBSD.org>2008-07-20 00:15:48 +0800
commite8c245b2f00c519a5f3355debe966b5ad1d33e4a (patch)
tree72324ff3ca63e439e63450f5fcad6f15c4996f66
parent90f8c89c493c28c6d8ce845622189507484584a4 (diff)
downloadfreebsd-ports-gnome-e8c245b2f00c519a5f3355debe966b5ad1d33e4a.tar.gz
freebsd-ports-gnome-e8c245b2f00c519a5f3355debe966b5ad1d33e4a.tar.zst
freebsd-ports-gnome-e8c245b2f00c519a5f3355debe966b5ad1d33e4a.zip
Enemy Territory: QUAKE Wars Demo Server 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/123009 Submitted by: ayu <ayunyan at gmail.com>
-rw-r--r--games/Makefile1
-rw-r--r--games/linux-etqw-demo-server/Makefile68
-rw-r--r--games/linux-etqw-demo-server/distinfo3
-rw-r--r--games/linux-etqw-demo-server/files/etqwded-demo.in4
-rw-r--r--games/linux-etqw-demo-server/pkg-descr4
-rw-r--r--games/linux-etqw-demo-server/pkg-plist40
6 files changed, 120 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 3f8794ebfe8d..ae8de16ef4c2 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-demo-server
SUBDIR += linux-etqw-server
SUBDIR += linux-nerogame
SUBDIR += linux-nwnclient
diff --git a/games/linux-etqw-demo-server/Makefile b/games/linux-etqw-demo-server/Makefile
new file mode 100644
index 000000000000..92d973c50d26
--- /dev/null
+++ b/games/linux-etqw-demo-server/Makefile
@@ -0,0 +1,68 @@
+# New ports collection makefile for: etqw-demo-server
+# Date created: 2008-04-21
+# Whom: ayu <ayunyan@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= etqw
+PORTVERSION= 2.0.r1
+CATEGORIES= games linux
+MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|etqw/|}
+PKGNAMEPREFIX= linux-
+PKGNAMESUFFIX= -demo-server
+DISTNAME= ETQW-demo2-server-full.r1.x86
+EXTRACT_SUFX= .run
+
+MAINTAINER= ayunyan@gmail.com
+COMMENT= Enemy Territory: QUAKE Wars Demo 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}${DISTNAME}.run > full.zip
+ @(cd ${WRKSRC} && ${UNZIP_CMD} -q ${WRKSRC}/full.zip)
+ @${RM} ${WRKSRC}/full.zip
+
+post-patch:
+ @${SED} -e 's|@ETQWDIR@|${ETQWDIR}|' ${FILESDIR}/etqwded-demo.in > ${WRKSRC}/etqwded-demo
+
+do-install:
+ @${MKDIR} ${ETQWDIR}
+
+ ${INSTALL_PROGRAM} ${WRKSRC}/etqwded-demo ${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-demo-server/distinfo b/games/linux-etqw-demo-server/distinfo
new file mode 100644
index 000000000000..e35572abb4f5
--- /dev/null
+++ b/games/linux-etqw-demo-server/distinfo
@@ -0,0 +1,3 @@
+MD5 (ETQW-demo2-server-full.r1.x86.run) = b5ad231cf7fe4417257843d28d55f169
+SHA256 (ETQW-demo2-server-full.r1.x86.run) = df92281b8bc7ab33c7bbb0eba613f7387ebcb42e6bf75a0df5029eb013cae5d3
+SIZE (ETQW-demo2-server-full.r1.x86.run) = 141326146
diff --git a/games/linux-etqw-demo-server/files/etqwded-demo.in b/games/linux-etqw-demo-server/files/etqwded-demo.in
new file mode 100644
index 000000000000..dee762a13169
--- /dev/null
+++ b/games/linux-etqw-demo-server/files/etqwded-demo.in
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd @ETQWDIR@ || exit 1
+exec ./etqwded.x86 "$@"
diff --git a/games/linux-etqw-demo-server/pkg-descr b/games/linux-etqw-demo-server/pkg-descr
new file mode 100644
index 000000000000..c4948cdea546
--- /dev/null
+++ b/games/linux-etqw-demo-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-demo-server/pkg-plist b/games/linux-etqw-demo-server/pkg-plist
new file mode 100644
index 000000000000..a200756ac599
--- /dev/null
+++ b/games/linux-etqw-demo-server/pkg-plist
@@ -0,0 +1,40 @@
+bin/etqwded-demo
+lib/etqw-demo-server/base/bots/botnames.dat
+lib/etqw-demo-server/base/game000.pk4
+lib/etqw-demo-server/base/game002.pk4
+lib/etqw-demo-server/base/match.cfg
+lib/etqw-demo-server/base/pak000.pk4
+lib/etqw-demo-server/base/pak001.pk4
+lib/etqw-demo-server/base/pak002.pk4
+lib/etqw-demo-server/base/public.cfg
+lib/etqw-demo-server/base/server.cfg
+lib/etqw-demo-server/base/usergroups.dat
+lib/etqw-demo-server/base/usergroups.example
+lib/etqw-demo-server/etqwded.x86
+lib/etqw-demo-server/libSDL-1.2.id.so.0
+lib/etqw-demo-server/libgcc_s.so.1
+lib/etqw-demo-server/libjpeg.so.62
+lib/etqw-demo-server/libstdc++.so.6
+lib/etqw-demo-server/pb/PBEULA.txt
+lib/etqw-demo-server/pb/htm/la001313.htm
+lib/etqw-demo-server/pb/htm/lc001714.htm
+lib/etqw-demo-server/pb/htm/ma001313.htm
+lib/etqw-demo-server/pb/htm/mc001714.htm
+lib/etqw-demo-server/pb/htm/wa001313.htm
+lib/etqw-demo-server/pb/htm/wc001714.htm
+lib/etqw-demo-server/pb/pbag.so
+lib/etqw-demo-server/pb/pbags.so
+lib/etqw-demo-server/pb/pbcl.so
+lib/etqw-demo-server/pb/pbcls.so
+lib/etqw-demo-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-demo-server/pb/htm
+@dirrm lib/etqw-demo-server/pb
+@dirrm lib/etqw-demo-server/base/bots
+@dirrm lib/etqw-demo-server/base
+@dirrm lib/etqw-demo-server