[Midnightbsd-cvs] mports: mports/games:
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu May 1 03:33:19 EDT 2008
Log Message:
-----------
Modified Files:
--------------
mports/games:
Makefile (r1.23 -> r1.24)
Added Files:
-----------
mports/games/linux-quake3:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/games/Makefile,v
retrieving revision 1.23
retrieving revision 1.24
diff -L games/Makefile -L games/Makefile -u -r1.23 -r1.24
--- games/Makefile
+++ games/Makefile
@@ -25,6 +25,7 @@
SUBDIR += linux-enemyterritory-omni-bot
SUBDIR += linux-enemyterritory-shrub
SUBDIR += linux-enemyterritory-tce
+ SUBDIR += linux-quake3
SUBDIR += linux-quake3-demo
SUBDIR += nextgo
SUBDIR += qstat
--- /dev/null
+++ games/linux-quake3/pkg-descr
@@ -0,0 +1,6 @@
+Quake III Arena for Linux.
+
+This port includes the Linux version of Quake III Arena. It also has an option
+to install PunkBuster, and includes the Linux FAQ and README.
+
+WWW: http://www.quake3arena.com/
--- /dev/null
+++ games/linux-quake3/pkg-plist
@@ -0,0 +1,83 @@
+bin/linux-q3ded
+%%CLIENT%%bin/linux-quake3
+%%SMP%%bin/linux-quake3-smp
+%%LIBDIR%%/q3ded
+%%CLIENT%%%%LIBDIR%%/quake3
+%%SMP%%%%LIBDIR%%/quake3-smp
+%%PORTDOCS%%%%DOCSDIR%%/LinuxFAQ/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/LinuxFAQ/index.html
+%%PORTDOCS%%%%DOCSDIR%%/LinuxFAQ/udp_wide_README.txt
+%%PORTDOCS%%%%DOCSDIR%%/LinuxFAQ/udp_wide_broadcast.patch
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/PB_EULA.txt
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/index.htm
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tabout1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tadvanced1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tbasics1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tcommands1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tcommands2.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tenabling1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tfaq1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tgame1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tintro1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tlogo.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tmonitoring1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tpbint1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tpbsub1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tplayer1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tquick1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tremote1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tscreen1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tsettings1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/ttitle1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/ttoc1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/admins/tupdating1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/index.htm
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/sbrowser1.jpg
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/skeyboard1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/stilde1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tabout1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tbasics1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tbutton1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tbutton2.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tcommands1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tcommands2.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tenabling1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tfaq1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tfinding1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tgame1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tintro1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tlogo.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tmonitoring1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tname1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tpbint1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tpbsub1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tquick1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tremote1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tscreen1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tsettings1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/ttaking1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/ttitle1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/ttoc1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tupdating1.gif
+%%PUNKBUSTER%%%%PORTDOCS%%%%DOCSDIR%%/PunkBuster/players/tusing1.gif
+%%PORTDOCS%%%%DOCSDIR%%/README-linux.txt
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/la001293.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/lc000993.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/ls000993.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/ma001293.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/mc000993.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/ms000993.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/wa001293.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/wc000993.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/htm/ws000993.htm
+%%PUNKBUSTER%%%%DATADIR%%/pb/pbag.so
+%%PUNKBUSTER%%%%DATADIR%%/pb/pbcl.so
+%%PUNKBUSTER%%%%DATADIR%%/pb/pbsv.so
+ at dirrm %%LIBDIR%%
+%%PUNKBUSTER%%@dirrm %%DATADIR%%/pb/htm
+%%PUNKBUSTER%%@dirrm %%DATADIR%%/pb
+%%PUNKBUSTER%%%%PORTDOCS%%@dirrm %%DOCSDIR%%/PunkBuster/players
+%%PUNKBUSTER%%%%PORTDOCS%%@dirrm %%DOCSDIR%%/PunkBuster/admins
+%%PUNKBUSTER%%%%PORTDOCS%%@dirrm %%DOCSDIR%%/PunkBuster
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/LinuxFAQ
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- /dev/null
+++ games/linux-quake3/Makefile
@@ -0,0 +1,114 @@
+# New ports collection makefile for: Quake 3 Arena Dedicated Server
+# Date created: Sun Jun 3 00:52:38 EDT 2001
+# Whom: pat at databits.net
+#
+# $MidnightBSD: mports/games/linux-quake3/Makefile,v 1.1 2008/05/01 07:33:17 laffer1 Exp $
+# $FreeBSD: ports/games/linux-quake3/Makefile,v 1.23 2007/03/05 09:33:03 alepulver Exp $
+#
+
+PORTNAME= quake3
+PORTVERSION= 1.32c
+CATEGORIES= games linux
+MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|quake3/linux/:data|} \
+ ${MASTER_SITE_IDSOFTWARE:S|$|quake3/:patch|}
+PKGNAMEPREFIX= linux-
+DISTFILES= ${Q3DATAFILE}:data \
+ ${Q3PATCHFILE}:patch
+DIST_SUBDIR= ${Q3PKGNAMEPREFIX}data
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Quake III Arena for Linux
+LICENSE= restricted
+
+USE_ZIP= yes
+USE_LINUX= yes
+NO_WRKSUBDIR= yes
+
+OPTIONS= CLIENT "Install client" on \
+ DEDICATED "Install dedicated server" on \
+ PUNKBUSTER "Install PunkBuster" on \
+ SMP "Install SMP (threaded) client" on
+
+PLIST_SUB+= LIBDIR="${LIBDIR:S/${PREFIX}\///}"
+LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}
+
+LIBDIR= ${PREFIX}/libexec/${PKGNAMEPREFIX}${PORTNAME}
+Q3DATAFILE= linuxq3apoint-1.32b-3.x86.run
+Q3PATCHFILE= quake3-${PORTVERSION}.zip
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @cd ${WRKDIR} && ${TAIL} +356 ${_DISTDIR}/${Q3DATAFILE} | \
+ ${TAR} zxf -
+ @${UNZIP_CMD} -qo ${_DISTDIR}/${Q3PATCHFILE} -d ${WRKDIR}
+
+post-extract:
+.for f in q3ded quake3.x86 quake3-smp.x86
+ @${MV} "${WRKSRC}/Quake III Arena 1.32c/linux/${f}" \
+ ${WRKSRC}/bin/Linux/x86/${f}
+.endfor
+
+.include "${.CURDIR}/../quake3-data/Makefile.include"
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_CLIENT) && defined(WITHOUT_DEDICATED) && \
+ defined(WITHOUT_SMP)
+IGNORE= needs at least one of the CLIENT, DEDICATED and SMP options
+.endif
+
+.if !defined(WITHOUT_DEDICATED)
+PROGS+= q3ded
+PLIST_SUB+= DEDICATED=""
+.else
+PLIST_SUB+= DEDICATED="@comment "
+.endif
+
+.if !defined(WITHOUT_CLIENT)
+PROGS+= quake3.x86
+PLIST_SUB+= CLIENT=""
+.else
+PLIST_SUB+= CLIENT="@comment "
+.endif
+
+.if !defined(WITHOUT_PUNKBUSTER)
+PLIST_SUB+= PUNKBUSTER=""
+.else
+PLIST_SUB+= PUNKBUSTER="@comment "
+.endif
+
+.if !defined(WITHOUT_SMP)
+PROGS+= quake3-smp.x86
+PLIST_SUB+= SMP=""
+.else
+PLIST_SUB+= SMP="@comment "
+.endif
+
+do-build:
+.for f in ${PROGS}
+ @(${ECHO_CMD} "#!${SH}"; \
+ ${ECHO_CMD} "cd ${DATADIR} || exit 1"; \
+ ${ECHO_CMD} 'exec ${LIBDIR}/${f:R} "$$@"') > ${WRKDIR}/${f:R}
+.endfor
+
+do-install:
+ @${MKDIR} ${LIBDIR}
+.for f in ${PROGS}
+ @${INSTALL_PROGRAM} ${WRKSRC}/bin/Linux/x86/${f} ${LIBDIR}/${f:R}
+ @${INSTALL_SCRIPT} ${WRKDIR}/${f:R} ${PREFIX}/bin/linux-${f:R}
+.endfor
+.if !defined(WITHOUT_PUNKBUSTER)
+ @${CP} -Rp ${WRKSRC}/pb ${DATADIR}
+ @${RM} ${DATADIR}/pb/PB_EULA.txt
+.endif
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README-linux.txt ${DOCSDIR}
+ @${CP} -Rp ${WRKSRC}/Docs/LinuxFAQ ${DOCSDIR}
+. if !defined(WITHOUT_PUNKBUSTER)
+ @${CP} -Rp ${WRKSRC}/Docs/PunkBuster ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/pb/PB_EULA.txt ${DOCSDIR}/PunkBuster
+. endif
+.endif
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ games/linux-quake3/distinfo
@@ -0,0 +1,6 @@
+MD5 (quake3-data/linuxq3apoint-1.32b-3.x86.run) = c71fdddccb20e8fc393d846e9c61d685
+SHA256 (quake3-data/linuxq3apoint-1.32b-3.x86.run) = c36132c5556b35e01950f1e9c646235033a5130f87ad776ba2bc7becf4f4f186
+SIZE (quake3-data/linuxq3apoint-1.32b-3.x86.run) = 30923961
+MD5 (quake3-data/quake3-1.32c.zip) = 5e55095e654732063621a2ffa95a2da3
+SHA256 (quake3-data/quake3-1.32c.zip) = 643ac677892fb58689a86d71f08d6678393efe2939b82c436a5c92368eebb849
+SIZE (quake3-data/quake3-1.32c.zip) = 3056760
More information about the Midnightbsd-cvs
mailing list