aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-07-22 06:24:51 +0800
committerlioux <lioux@FreeBSD.org>2001-07-22 06:24:51 +0800
commit387d24852aef38b21f10abbea7e9f29d5fc1486e (patch)
treed324f8d5a6fe629a464f87b13dc24f7c7b55fceb /games
parent6600ee6141ff7c2b0312427f5f6ce0b4d78ac772 (diff)
downloadfreebsd-ports-gnome-387d24852aef38b21f10abbea7e9f29d5fc1486e.tar.gz
freebsd-ports-gnome-387d24852aef38b21f10abbea7e9f29d5fc1486e.tar.zst
freebsd-ports-gnome-387d24852aef38b21f10abbea7e9f29d5fc1486e.zip
First import of q3server version 1.29f, Quake III Arena Dedicated
Server for Linux Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/linux-quake3/Makefile65
-rw-r--r--games/linux-quake3/distinfo1
-rw-r--r--games/linux-quake3/pkg-comment1
-rw-r--r--games/linux-quake3/pkg-descr9
-rw-r--r--games/linux-quake3/pkg-message9
-rw-r--r--games/linux-quake3/pkg-plist20
-rw-r--r--games/q3server/Makefile65
-rw-r--r--games/q3server/distinfo1
-rw-r--r--games/q3server/pkg-comment1
-rw-r--r--games/q3server/pkg-descr9
-rw-r--r--games/q3server/pkg-message9
-rw-r--r--games/q3server/pkg-plist20
13 files changed, 211 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 646828087d15..f546f7a781a6 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -188,6 +188,7 @@
SUBDIR += pysol-cardsets
SUBDIR += pysol-music
SUBDIR += pythoong
+ SUBDIR += q3server
SUBDIR += qcc
SUBDIR += qix
SUBDIR += qkmj
diff --git a/games/linux-quake3/Makefile b/games/linux-quake3/Makefile
new file mode 100644
index 000000000000..8a8c1d174f2c
--- /dev/null
+++ b/games/linux-quake3/Makefile
@@ -0,0 +1,65 @@
+# New ports collection makefile for: Quake 3 Arena Dedicated Server
+# Date created: Sun Jun 3 00:52:38 EDT 2001
+# Whom: pat@databits.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= q3ded
+PORTVERSION= 1.29f
+CATEGORIES= games linux
+MASTER_SITES= ftp://ftp.bluesnews.com/idstuff/quake3/linux/ \
+ ftp://ftp.idsoftware.com/idstuff/quake3/linux/ \
+ ftp://ftp.mportal.hu/q3/
+DISTNAME= linuxq3apoint-console-${PORTVERSION}-beta1.x86
+EXTRACT_SUFX= .run
+
+MAINTAINER= pat@databits.net
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX_PREFIX= yes
+NO_CDROM= "Size; the data set is much too big"
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/quake3
+Q3DIR= usr/games/quake3/
+PLIST_SUB+= Q3DIR="${Q3DIR}"
+INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @cd ${WRKDIR} && tail +175 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
+ ${TAR} zxvf - >/dev/null
+
+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 \;
+
+do-install:
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}missionpack
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak1.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak2.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak3.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak4.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak5.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak6.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/missionpack/pak1.pk3 ${PREFIX}/${Q3DIR}missionpack
+ @${INSTALL} -c -o nobody -g nogroup -m 500 ${WRKSRC}/q3ded ${PREFIX}/${Q3DIR}
+ @${INSTALL} -c -o nobody -g nogroup -m 500 ${WRKSRC}/quake3.x86 ${PREFIX}/${Q3DIR}
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}Help
+ @${INSTALL_DATA} ${WRKSRC}/Help/Q3A_FAQ.html ${PREFIX}/${Q3DIR}Help
+ @${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/${Q3DIR}
+ @${INSTALL_DATA} ${WRKSRC}/Q3A_EULA.txt ${PREFIX}/${Q3DIR}
+ @${INSTALL_DATA} ${WRKSRC}/README-Id-6-18-01.html ${PREFIX}/${Q3DIR}
+ @${INSTALL_DATA} ${WRKSRC}/README-linux.txt ${PREFIX}/${Q3DIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/linux-quake3/distinfo b/games/linux-quake3/distinfo
new file mode 100644
index 000000000000..9e5afe806176
--- /dev/null
+++ b/games/linux-quake3/distinfo
@@ -0,0 +1 @@
+MD5 (linuxq3apoint-console-1.29f-beta1.x86.run) = f465f1e3adb8c0a55e8c01dbd989ec32
diff --git a/games/linux-quake3/pkg-comment b/games/linux-quake3/pkg-comment
new file mode 100644
index 000000000000..b788736f92f7
--- /dev/null
+++ b/games/linux-quake3/pkg-comment
@@ -0,0 +1 @@
+Quake III Arena Dedicated Server for Linux
diff --git a/games/linux-quake3/pkg-descr b/games/linux-quake3/pkg-descr
new file mode 100644
index 000000000000..33c5c8dcf175
--- /dev/null
+++ b/games/linux-quake3/pkg-descr
@@ -0,0 +1,9 @@
+This package contains all of the items you'll need to run a
+Quake III Arena dedicated server under FreeBSD with Linux
+emulation. To run server in non-demo mode, which is what you
+want to do, copy pak0.pk3 from the retail CD to your baseq3
+directory.
+
+WWW: http://www.quake3arena.com/
+
+- Patrick Li <pat@databits.net>
diff --git a/games/linux-quake3/pkg-message b/games/linux-quake3/pkg-message
new file mode 100644
index 000000000000..ebb51e779481
--- /dev/null
+++ b/games/linux-quake3/pkg-message
@@ -0,0 +1,9 @@
+*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*
+------------------------------------------------------------
+There is a bug in Q3 server regarding server log placement.
+Temporary workaround for this problem is to run Q3 server in
+a non-root environment. You may create a separate account for
+this or use an existing one as long as it does not have super-
+user privileges and manually do a recursive change in ownership
+to Q3 server and any mods you install accordingly.
+------------------------------------------------------------
diff --git a/games/linux-quake3/pkg-plist b/games/linux-quake3/pkg-plist
new file mode 100644
index 000000000000..3e12114c8f12
--- /dev/null
+++ b/games/linux-quake3/pkg-plist
@@ -0,0 +1,20 @@
+%%PORTDOCS%%%%Q3DIR%%Help/Q3A_FAQ.html
+%%PORTDOCS%%%%Q3DIR%%INSTALL
+%%PORTDOCS%%%%Q3DIR%%Q3A_EULA.txt
+%%PORTDOCS%%%%Q3DIR%%README-Id-6-18-01.html
+%%PORTDOCS%%%%Q3DIR%%README-linux.txt
+%%Q3DIR%%baseq3/pak1.pk3
+%%Q3DIR%%baseq3/pak2.pk3
+%%Q3DIR%%baseq3/pak3.pk3
+%%Q3DIR%%baseq3/pak4.pk3
+%%Q3DIR%%baseq3/pak5.pk3
+%%Q3DIR%%baseq3/pak6.pk3
+%%Q3DIR%%missionpack/pak1.pk3
+%%Q3DIR%%q3ded
+%%Q3DIR%%quake3.x86
+@dirrm %%Q3DIR%%missionpack
+@dirrm %%Q3DIR%%baseq3
+%%PORTDOCS%%@dirrm %%Q3DIR%%Help
+@exec mkdir %D/%%Q3DIR%%
+@unexec rmdir %D/%%Q3DIR%%baseq3 2>/dev/null || true
+@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, *.pk3 files, and mods left." | fmt
diff --git a/games/q3server/Makefile b/games/q3server/Makefile
new file mode 100644
index 000000000000..8a8c1d174f2c
--- /dev/null
+++ b/games/q3server/Makefile
@@ -0,0 +1,65 @@
+# New ports collection makefile for: Quake 3 Arena Dedicated Server
+# Date created: Sun Jun 3 00:52:38 EDT 2001
+# Whom: pat@databits.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= q3ded
+PORTVERSION= 1.29f
+CATEGORIES= games linux
+MASTER_SITES= ftp://ftp.bluesnews.com/idstuff/quake3/linux/ \
+ ftp://ftp.idsoftware.com/idstuff/quake3/linux/ \
+ ftp://ftp.mportal.hu/q3/
+DISTNAME= linuxq3apoint-console-${PORTVERSION}-beta1.x86
+EXTRACT_SUFX= .run
+
+MAINTAINER= pat@databits.net
+
+ONLY_FOR_ARCHS= i386
+USE_LINUX_PREFIX= yes
+NO_CDROM= "Size; the data set is much too big"
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/quake3
+Q3DIR= usr/games/quake3/
+PLIST_SUB+= Q3DIR="${Q3DIR}"
+INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @cd ${WRKDIR} && tail +175 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
+ ${TAR} zxvf - >/dev/null
+
+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 \;
+
+do-install:
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}missionpack
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak1.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak2.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak3.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak4.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak5.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/baseq3/pak6.pk3 ${PREFIX}/${Q3DIR}baseq3
+ @${INSTALL_DATA} ${WRKSRC}/missionpack/pak1.pk3 ${PREFIX}/${Q3DIR}missionpack
+ @${INSTALL} -c -o nobody -g nogroup -m 500 ${WRKSRC}/q3ded ${PREFIX}/${Q3DIR}
+ @${INSTALL} -c -o nobody -g nogroup -m 500 ${WRKSRC}/quake3.x86 ${PREFIX}/${Q3DIR}
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${INSTALL_DIR} ${PREFIX}/${Q3DIR}Help
+ @${INSTALL_DATA} ${WRKSRC}/Help/Q3A_FAQ.html ${PREFIX}/${Q3DIR}Help
+ @${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/${Q3DIR}
+ @${INSTALL_DATA} ${WRKSRC}/Q3A_EULA.txt ${PREFIX}/${Q3DIR}
+ @${INSTALL_DATA} ${WRKSRC}/README-Id-6-18-01.html ${PREFIX}/${Q3DIR}
+ @${INSTALL_DATA} ${WRKSRC}/README-linux.txt ${PREFIX}/${Q3DIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/games/q3server/distinfo b/games/q3server/distinfo
new file mode 100644
index 000000000000..9e5afe806176
--- /dev/null
+++ b/games/q3server/distinfo
@@ -0,0 +1 @@
+MD5 (linuxq3apoint-console-1.29f-beta1.x86.run) = f465f1e3adb8c0a55e8c01dbd989ec32
diff --git a/games/q3server/pkg-comment b/games/q3server/pkg-comment
new file mode 100644
index 000000000000..b788736f92f7
--- /dev/null
+++ b/games/q3server/pkg-comment
@@ -0,0 +1 @@
+Quake III Arena Dedicated Server for Linux
diff --git a/games/q3server/pkg-descr b/games/q3server/pkg-descr
new file mode 100644
index 000000000000..33c5c8dcf175
--- /dev/null
+++ b/games/q3server/pkg-descr
@@ -0,0 +1,9 @@
+This package contains all of the items you'll need to run a
+Quake III Arena dedicated server under FreeBSD with Linux
+emulation. To run server in non-demo mode, which is what you
+want to do, copy pak0.pk3 from the retail CD to your baseq3
+directory.
+
+WWW: http://www.quake3arena.com/
+
+- Patrick Li <pat@databits.net>
diff --git a/games/q3server/pkg-message b/games/q3server/pkg-message
new file mode 100644
index 000000000000..ebb51e779481
--- /dev/null
+++ b/games/q3server/pkg-message
@@ -0,0 +1,9 @@
+*WARNING* *WARNING* *WARNING* *WARNING* *WARNING* *WARNING*
+------------------------------------------------------------
+There is a bug in Q3 server regarding server log placement.
+Temporary workaround for this problem is to run Q3 server in
+a non-root environment. You may create a separate account for
+this or use an existing one as long as it does not have super-
+user privileges and manually do a recursive change in ownership
+to Q3 server and any mods you install accordingly.
+------------------------------------------------------------
diff --git a/games/q3server/pkg-plist b/games/q3server/pkg-plist
new file mode 100644
index 000000000000..3e12114c8f12
--- /dev/null
+++ b/games/q3server/pkg-plist
@@ -0,0 +1,20 @@
+%%PORTDOCS%%%%Q3DIR%%Help/Q3A_FAQ.html
+%%PORTDOCS%%%%Q3DIR%%INSTALL
+%%PORTDOCS%%%%Q3DIR%%Q3A_EULA.txt
+%%PORTDOCS%%%%Q3DIR%%README-Id-6-18-01.html
+%%PORTDOCS%%%%Q3DIR%%README-linux.txt
+%%Q3DIR%%baseq3/pak1.pk3
+%%Q3DIR%%baseq3/pak2.pk3
+%%Q3DIR%%baseq3/pak3.pk3
+%%Q3DIR%%baseq3/pak4.pk3
+%%Q3DIR%%baseq3/pak5.pk3
+%%Q3DIR%%baseq3/pak6.pk3
+%%Q3DIR%%missionpack/pak1.pk3
+%%Q3DIR%%q3ded
+%%Q3DIR%%quake3.x86
+@dirrm %%Q3DIR%%missionpack
+@dirrm %%Q3DIR%%baseq3
+%%PORTDOCS%%@dirrm %%Q3DIR%%Help
+@exec mkdir %D/%%Q3DIR%%
+@unexec rmdir %D/%%Q3DIR%%baseq3 2>/dev/null || true
+@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, *.pk3 files, and mods left." | fmt