summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-07-21 22:28:09 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-07-21 22:28:09 +0000
commit24ff2f1207828c6a1d13365517c26cce2fb49024 (patch)
tree69c515e853c417d9d11e232e8a9308682b398d49 /games
parentFirst import of q3server version 1.29f, Quake III Arena Dedicated (diff)
- First import of Quake III Rocket Arena 3 mod
- Version 1.5 - Master port for other Quake III mod ports Submitted by: Patrick Li <pat@databits.net>
Notes
Notes: svn path=/head/; revision=45326
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/q3server-ra3/Makefile100
-rw-r--r--games/q3server-ra3/distinfo2
-rw-r--r--games/q3server-ra3/pkg-comment1
-rw-r--r--games/q3server-ra3/pkg-descr8
-rw-r--r--games/q3server-ra3/pkg-plist38
-rw-r--r--games/quake3-ra3/Makefile100
-rw-r--r--games/quake3-ra3/distinfo2
-rw-r--r--games/quake3-ra3/pkg-comment1
-rw-r--r--games/quake3-ra3/pkg-descr8
-rw-r--r--games/quake3-ra3/pkg-plist38
11 files changed, 299 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index f546f7a781a6..a5670e72f19b 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -189,6 +189,7 @@
SUBDIR += pysol-music
SUBDIR += pythoong
SUBDIR += q3server
+ SUBDIR += q3server-ra3
SUBDIR += qcc
SUBDIR += qix
SUBDIR += qkmj
diff --git a/games/q3server-ra3/Makefile b/games/q3server-ra3/Makefile
new file mode 100644
index 000000000000..d19b012dfffc
--- /dev/null
+++ b/games/q3server-ra3/Makefile
@@ -0,0 +1,100 @@
+# New ports collection makefile for: Q3 Mod: Rocket Arena 3
+# Date created: Sun Jun 3 00:53:00 EDT 2001
+# Whom: pat@databits.net
+#
+# $FreeBSD$
+#
+
+PORTNAME?= ra3
+PORTVERSION?= 1.5
+CATEGORIES= games linux
+MASTER_SITES?= http://www.quakeshit.com/files/ \
+ ftp://ftp.gigabell.net/pub/exp/q3/mod/ra3/ \
+ ftp://ftp.telekabel.at/pub/games/quake3/ra3/ \
+ ftp://ftp.online.no/pub/online.no/spill/servers/quake/quake3/ra3/
+PKGNAMEPREFIX= q3server-
+.ifndef(DISTNAME)
+DISTFILES?= ${PORTNAME}${PORTVERSION:S/.//}cl_linuxmac.zip \
+ ${PORTNAME}${PORTVERSION:S/.//}sv.zip
+.endif
+
+MAINTAINER?= pat@databits.net
+
+RUN_DEPENDS= ${LINUXBASE}/usr/games/quake3/q3ded:${Q3SERVER_PORT}
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX_PREFIX= yes
+NO_CDROM= "Size; the data set is much too big"
+NO_BUILD= yes
+.if (${PORTNAME}==ra3)
+WRKSRC= ${WRKDIR}/arena
+HAS_WIERDPATCHES= yes
+.endif
+.ifndef(DONT_USE_ZIP)
+USE_ZIP= yes
+.endif
+.if defined(HAS_WIERDPATCHES)
+EXTRACT_ONLY?= ${PORTNAME}${PORTVERSION:S/.//}cl_linuxmac.zip
+.endif
+.ifndef(NO_WRKSUBDIR)
+Q3SUBDIR?= ${WRKSRC:T}
+WRKSRC?= ${WRKDIR}/${PORTNAME}
+.else
+Q3SUBDIR?= ${PORTNAME}
+.endif
+
+Q3DIR= usr/games/quake3/${Q3SUBDIR}/
+
+PLIST_SUB+= Q3DIR="${Q3DIR}"
+INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+SORT?= /usr/bin/sort
+
+Q3SERVER_PORT= ${.CURDIR}/../q3server
+PKGMESSAGE!= cd ${Q3SERVER_PORT} && ${MAKE} -V PKGMESSAGE
+
+.if defined(HAS_WIERDPATCHES)
+post-extract:
+ @cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
+ ${_DISTDIR}/${DISTFILES:S/${EXTRACT_ONLY}//}
+.endif
+
+pre-patch:
+# remove trailing ^M
+ @find -E ${WRKSRC} -type f \
+ -iregex ".*\.(bat|cfg|gam|htm|html|inf|ini|lst|sc|scr|txt|url)" \
+ -exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \;
+
+# Parses PLIST
+# Contributed by <lioux@FreeBSD.org>
+do-install: install-parse-plist install-scripts
+
+install-parse-plist: generate-plist
+ @${PERL} -e 'open(FHANDLER,"${TMPPLIST}");' \
+ -e 'open(FDIR,">${WRKDIR}/dirs.sh.tmp");' \
+ -e 'open(FFILES,">${WRKDIR}/files.sh");' \
+ -e 'while (!eof(FHANDLER)) {' \
+ -e 'chop($$file = <FHANDLER>);' \
+ -e '$$dir = $$file_partial = $$file;' \
+ -e '$$file_partial =~ s!^${Q3DIR}!!;' \
+ -e 'print FDIR "${INSTALL_DIR}", \
+ " ", "\"${PREFIX}/$$dir\"", \
+ "\n" if $$dir =~ s!(^\@dirrm\s+)!!;' \
+ -e 'print FFILES "${INSTALL_DATA}", \
+ " ", "\"${WRKSRC}/$$file_partial\"", \
+ " ", "\"${PREFIX}/$$file\"", \
+ "\n" if ($$file !~ m!^\@!);' \
+ -e '}' \
+ -e 'close(FFILES);' \
+ -e 'close(FDIR);' \
+ -e 'close(FHANDLER);'
+
+install-scripts:
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}
+ @${SORT} ${WRKDIR}/dirs.sh.tmp > ${WRKDIR}/dirs.sh
+ @${SH} ${WRKDIR}/dirs.sh
+ @${SH} ${WRKDIR}/files.sh
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/q3server-ra3/distinfo b/games/q3server-ra3/distinfo
new file mode 100644
index 000000000000..996dd75e9589
--- /dev/null
+++ b/games/q3server-ra3/distinfo
@@ -0,0 +1,2 @@
+MD5 (ra315cl_linuxmac.zip) = 109323ade1b58680f19c4946c1011b5d
+MD5 (ra315sv.zip) = d66136b5b554545368bb4c5d730fd866
diff --git a/games/q3server-ra3/pkg-comment b/games/q3server-ra3/pkg-comment
new file mode 100644
index 000000000000..39c84ab29766
--- /dev/null
+++ b/games/q3server-ra3/pkg-comment
@@ -0,0 +1 @@
+Quake III Arena Mod: Rocket Arena 3 for Linux
diff --git a/games/q3server-ra3/pkg-descr b/games/q3server-ra3/pkg-descr
new file mode 100644
index 000000000000..d19c4cf3f798
--- /dev/null
+++ b/games/q3server-ra3/pkg-descr
@@ -0,0 +1,8 @@
+This package contains all of the items you'll need to run a
+Quake III Arena dedicated server with Rocket Arena 3 mod
+under FreeBSD with Linux emulation.
+
+WWW: http://www.planetquake.com/arena/
+
+- Patrick Li
+pat@databits.net
diff --git a/games/q3server-ra3/pkg-plist b/games/q3server-ra3/pkg-plist
new file mode 100644
index 000000000000..ce2f685dd64c
--- /dev/null
+++ b/games/q3server-ra3/pkg-plist
@@ -0,0 +1,38 @@
+%%PORTDOCS%%%%Q3DIR%%Rocket Arena 3.qst
+%%Q3DIR%%arena.cfg
+%%Q3DIR%%browser.pk3
+%%Q3DIR%%cgamei386.so
+%%Q3DIR%%cgamex86.dll
+%%Q3DIR%%chatrpcserver.exe
+%%Q3DIR%%gfx.pk3
+%%Q3DIR%%icons.pk3
+%%Q3DIR%%menu.pk3
+%%Q3DIR%%q3127fix.cfg
+%%Q3DIR%%qagamei386.so
+%%Q3DIR%%qagamex86.dll
+%%Q3DIR%%ra3.apk
+%%Q3DIR%%ra3map1.pk3
+%%Q3DIR%%ra3map10.pk3
+%%Q3DIR%%ra3map11.pk3
+%%Q3DIR%%ra3map12.pk3
+%%Q3DIR%%ra3map13.pk3
+%%Q3DIR%%ra3map2.pk3
+%%Q3DIR%%ra3map3.pk3
+%%Q3DIR%%ra3map4.pk3
+%%Q3DIR%%ra3map5.pk3
+%%Q3DIR%%ra3map6.pk3
+%%Q3DIR%%ra3map7.pk3
+%%Q3DIR%%ra3map8.pk3
+%%Q3DIR%%ra3map9.pk3
+%%Q3DIR%%ra3server
+%%Q3DIR%%ra3server.bat
+%%PORTDOCS%%%%Q3DIR%%readme.txt
+%%PORTDOCS%%%%Q3DIR%%readsrv.txt
+%%Q3DIR%%scripts.pk3
+%%Q3DIR%%server.cfg
+%%Q3DIR%%sounds.pk3
+%%Q3DIR%%textures.pk3
+%%Q3DIR%%uii386.so
+%%Q3DIR%%uix86.dll
+%%Q3DIR%%vm.pk3
+@unexec rmdir %D/%%Q3DIR%% 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -Rf ${PKG_PREFIX}/%%Q3DIR%%`` to remove any configuration files left" | fmt
diff --git a/games/quake3-ra3/Makefile b/games/quake3-ra3/Makefile
new file mode 100644
index 000000000000..d19b012dfffc
--- /dev/null
+++ b/games/quake3-ra3/Makefile
@@ -0,0 +1,100 @@
+# New ports collection makefile for: Q3 Mod: Rocket Arena 3
+# Date created: Sun Jun 3 00:53:00 EDT 2001
+# Whom: pat@databits.net
+#
+# $FreeBSD$
+#
+
+PORTNAME?= ra3
+PORTVERSION?= 1.5
+CATEGORIES= games linux
+MASTER_SITES?= http://www.quakeshit.com/files/ \
+ ftp://ftp.gigabell.net/pub/exp/q3/mod/ra3/ \
+ ftp://ftp.telekabel.at/pub/games/quake3/ra3/ \
+ ftp://ftp.online.no/pub/online.no/spill/servers/quake/quake3/ra3/
+PKGNAMEPREFIX= q3server-
+.ifndef(DISTNAME)
+DISTFILES?= ${PORTNAME}${PORTVERSION:S/.//}cl_linuxmac.zip \
+ ${PORTNAME}${PORTVERSION:S/.//}sv.zip
+.endif
+
+MAINTAINER?= pat@databits.net
+
+RUN_DEPENDS= ${LINUXBASE}/usr/games/quake3/q3ded:${Q3SERVER_PORT}
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX_PREFIX= yes
+NO_CDROM= "Size; the data set is much too big"
+NO_BUILD= yes
+.if (${PORTNAME}==ra3)
+WRKSRC= ${WRKDIR}/arena
+HAS_WIERDPATCHES= yes
+.endif
+.ifndef(DONT_USE_ZIP)
+USE_ZIP= yes
+.endif
+.if defined(HAS_WIERDPATCHES)
+EXTRACT_ONLY?= ${PORTNAME}${PORTVERSION:S/.//}cl_linuxmac.zip
+.endif
+.ifndef(NO_WRKSUBDIR)
+Q3SUBDIR?= ${WRKSRC:T}
+WRKSRC?= ${WRKDIR}/${PORTNAME}
+.else
+Q3SUBDIR?= ${PORTNAME}
+.endif
+
+Q3DIR= usr/games/quake3/${Q3SUBDIR}/
+
+PLIST_SUB+= Q3DIR="${Q3DIR}"
+INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+SORT?= /usr/bin/sort
+
+Q3SERVER_PORT= ${.CURDIR}/../q3server
+PKGMESSAGE!= cd ${Q3SERVER_PORT} && ${MAKE} -V PKGMESSAGE
+
+.if defined(HAS_WIERDPATCHES)
+post-extract:
+ @cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
+ ${_DISTDIR}/${DISTFILES:S/${EXTRACT_ONLY}//}
+.endif
+
+pre-patch:
+# remove trailing ^M
+ @find -E ${WRKSRC} -type f \
+ -iregex ".*\.(bat|cfg|gam|htm|html|inf|ini|lst|sc|scr|txt|url)" \
+ -exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \;
+
+# Parses PLIST
+# Contributed by <lioux@FreeBSD.org>
+do-install: install-parse-plist install-scripts
+
+install-parse-plist: generate-plist
+ @${PERL} -e 'open(FHANDLER,"${TMPPLIST}");' \
+ -e 'open(FDIR,">${WRKDIR}/dirs.sh.tmp");' \
+ -e 'open(FFILES,">${WRKDIR}/files.sh");' \
+ -e 'while (!eof(FHANDLER)) {' \
+ -e 'chop($$file = <FHANDLER>);' \
+ -e '$$dir = $$file_partial = $$file;' \
+ -e '$$file_partial =~ s!^${Q3DIR}!!;' \
+ -e 'print FDIR "${INSTALL_DIR}", \
+ " ", "\"${PREFIX}/$$dir\"", \
+ "\n" if $$dir =~ s!(^\@dirrm\s+)!!;' \
+ -e 'print FFILES "${INSTALL_DATA}", \
+ " ", "\"${WRKSRC}/$$file_partial\"", \
+ " ", "\"${PREFIX}/$$file\"", \
+ "\n" if ($$file !~ m!^\@!);' \
+ -e '}' \
+ -e 'close(FFILES);' \
+ -e 'close(FDIR);' \
+ -e 'close(FHANDLER);'
+
+install-scripts:
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}
+ @${SORT} ${WRKDIR}/dirs.sh.tmp > ${WRKDIR}/dirs.sh
+ @${SH} ${WRKDIR}/dirs.sh
+ @${SH} ${WRKDIR}/files.sh
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/quake3-ra3/distinfo b/games/quake3-ra3/distinfo
new file mode 100644
index 000000000000..996dd75e9589
--- /dev/null
+++ b/games/quake3-ra3/distinfo
@@ -0,0 +1,2 @@
+MD5 (ra315cl_linuxmac.zip) = 109323ade1b58680f19c4946c1011b5d
+MD5 (ra315sv.zip) = d66136b5b554545368bb4c5d730fd866
diff --git a/games/quake3-ra3/pkg-comment b/games/quake3-ra3/pkg-comment
new file mode 100644
index 000000000000..39c84ab29766
--- /dev/null
+++ b/games/quake3-ra3/pkg-comment
@@ -0,0 +1 @@
+Quake III Arena Mod: Rocket Arena 3 for Linux
diff --git a/games/quake3-ra3/pkg-descr b/games/quake3-ra3/pkg-descr
new file mode 100644
index 000000000000..d19c4cf3f798
--- /dev/null
+++ b/games/quake3-ra3/pkg-descr
@@ -0,0 +1,8 @@
+This package contains all of the items you'll need to run a
+Quake III Arena dedicated server with Rocket Arena 3 mod
+under FreeBSD with Linux emulation.
+
+WWW: http://www.planetquake.com/arena/
+
+- Patrick Li
+pat@databits.net
diff --git a/games/quake3-ra3/pkg-plist b/games/quake3-ra3/pkg-plist
new file mode 100644
index 000000000000..ce2f685dd64c
--- /dev/null
+++ b/games/quake3-ra3/pkg-plist
@@ -0,0 +1,38 @@
+%%PORTDOCS%%%%Q3DIR%%Rocket Arena 3.qst
+%%Q3DIR%%arena.cfg
+%%Q3DIR%%browser.pk3
+%%Q3DIR%%cgamei386.so
+%%Q3DIR%%cgamex86.dll
+%%Q3DIR%%chatrpcserver.exe
+%%Q3DIR%%gfx.pk3
+%%Q3DIR%%icons.pk3
+%%Q3DIR%%menu.pk3
+%%Q3DIR%%q3127fix.cfg
+%%Q3DIR%%qagamei386.so
+%%Q3DIR%%qagamex86.dll
+%%Q3DIR%%ra3.apk
+%%Q3DIR%%ra3map1.pk3
+%%Q3DIR%%ra3map10.pk3
+%%Q3DIR%%ra3map11.pk3
+%%Q3DIR%%ra3map12.pk3
+%%Q3DIR%%ra3map13.pk3
+%%Q3DIR%%ra3map2.pk3
+%%Q3DIR%%ra3map3.pk3
+%%Q3DIR%%ra3map4.pk3
+%%Q3DIR%%ra3map5.pk3
+%%Q3DIR%%ra3map6.pk3
+%%Q3DIR%%ra3map7.pk3
+%%Q3DIR%%ra3map8.pk3
+%%Q3DIR%%ra3map9.pk3
+%%Q3DIR%%ra3server
+%%Q3DIR%%ra3server.bat
+%%PORTDOCS%%%%Q3DIR%%readme.txt
+%%PORTDOCS%%%%Q3DIR%%readsrv.txt
+%%Q3DIR%%scripts.pk3
+%%Q3DIR%%server.cfg
+%%Q3DIR%%sounds.pk3
+%%Q3DIR%%textures.pk3
+%%Q3DIR%%uii386.so
+%%Q3DIR%%uix86.dll
+%%Q3DIR%%vm.pk3
+@unexec rmdir %D/%%Q3DIR%% 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -Rf ${PKG_PREFIX}/%%Q3DIR%%`` to remove any configuration files left" | fmt