Index: head/games/q3cellshading/Makefile =================================================================== --- head/games/q3cellshading/Makefile (revision 151622) +++ head/games/q3cellshading/Makefile (revision 151623) @@ -1,63 +1,64 @@ # New ports collection makefile for: quake3 # Date created: 23 August 2005 # Whom: pypt # # $FreeBSD$ # PORTNAME= quake3 PORTVERSION= 1.32b PORTREVISION= 4 CATEGORIES= games MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/source/ \ http://www.proarena.com/p/ftpx/x8524/quake_3_arena/ \ http://www.planetgargoyle.com/ \ http://www.teamdarkside.net/ \ http://0day.icculus.org/mirrors/quake3/ \ http://www.olpainless.net/files/ DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX} MAINTAINER= shirshegsm@gmail.com COMMENT= Quake III Arena -- first person shooter (native build) BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm USE_ZIP= yes +USE_CRLF= yes USE_GMAKE= yes USE_REINPLACE= yes USE_PERL5_BUILD=yes USE_GL= yes USE_GCC= 3.2+ PLIST_FILES= bin/q3ded bin/quake3 .include # Anyone to play with this on IA64? .if ${ARCH} == "ia64" BROKEN= "Does not compile on IA64 (feel free to submit fixes)" .endif .if ${PERL_LEVEL} < 500600 BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 .endif post-patch: @${REINPLACE_CMD} -e 's|%%Q3DIR%%|"${Q3DIR}"|' \ ${WRKSRC}/code/unix/unix_shared.c @${REINPLACE_CMD} -e 's|botlib.log|/dev/null|' ${WRKSRC}/code/botlib/be_interface.c pre-build: ${MKDIR} ${WRKSRC}/lcc/build do-build: cd ${WRKSRC}/code && ${MAKE_ENV} ${PERL} unix/cons do-install: ${INSTALL_PROGRAM} ${WRKSRC}/code/install/linuxq3ded \ ${PREFIX}/bin/q3ded ${INSTALL_PROGRAM} ${WRKSRC}/code/install/linuxquake3 \ ${PREFIX}/bin/quake3 .include "${.CURDIR}/../quake3-data/Makefile.include" .include Property changes on: head/games/q3cellshading/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/games/quake3/Makefile =================================================================== --- head/games/quake3/Makefile (revision 151622) +++ head/games/quake3/Makefile (revision 151623) @@ -1,63 +1,64 @@ # New ports collection makefile for: quake3 # Date created: 23 August 2005 # Whom: pypt # # $FreeBSD$ # PORTNAME= quake3 PORTVERSION= 1.32b PORTREVISION= 4 CATEGORIES= games MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/source/ \ http://www.proarena.com/p/ftpx/x8524/quake_3_arena/ \ http://www.planetgargoyle.com/ \ http://www.teamdarkside.net/ \ http://0day.icculus.org/mirrors/quake3/ \ http://www.olpainless.net/files/ DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX} MAINTAINER= shirshegsm@gmail.com COMMENT= Quake III Arena -- first person shooter (native build) BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm USE_ZIP= yes +USE_CRLF= yes USE_GMAKE= yes USE_REINPLACE= yes USE_PERL5_BUILD=yes USE_GL= yes USE_GCC= 3.2+ PLIST_FILES= bin/q3ded bin/quake3 .include # Anyone to play with this on IA64? .if ${ARCH} == "ia64" BROKEN= "Does not compile on IA64 (feel free to submit fixes)" .endif .if ${PERL_LEVEL} < 500600 BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 .endif post-patch: @${REINPLACE_CMD} -e 's|%%Q3DIR%%|"${Q3DIR}"|' \ ${WRKSRC}/code/unix/unix_shared.c @${REINPLACE_CMD} -e 's|botlib.log|/dev/null|' ${WRKSRC}/code/botlib/be_interface.c pre-build: ${MKDIR} ${WRKSRC}/lcc/build do-build: cd ${WRKSRC}/code && ${MAKE_ENV} ${PERL} unix/cons do-install: ${INSTALL_PROGRAM} ${WRKSRC}/code/install/linuxq3ded \ ${PREFIX}/bin/q3ded ${INSTALL_PROGRAM} ${WRKSRC}/code/install/linuxquake3 \ ${PREFIX}/bin/quake3 .include "${.CURDIR}/../quake3-data/Makefile.include" .include Property changes on: head/games/quake3/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.7 \ No newline at end of property +1.8 \ No newline at end of property Index: head/games/quake3-data/Makefile =================================================================== --- head/games/quake3-data/Makefile (revision 151622) +++ head/games/quake3-data/Makefile (revision 151623) @@ -1,57 +1,60 @@ # New ports collection makefile for: Quake 3 paks # Date created: 1st March 2003 # Whom: nik@FreeBSD.org # # $FreeBSD$ # PORTNAME= data DISTVERSION= 1.32b-3 CATEGORIES= games MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/quake3/linux/ \ ftp://ftp.fasta.fh-dortmund.de/mirror/idstuff/quake3/linux/ +PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX} DISTNAME= linuxq3apoint-${DISTVERSION}.x86 EXTRACT_SUFX= .run MAINTAINER= alejandro@varnet.biz COMMENT= Quake III Arena data files NO_BUILD= yes NO_WRKSUBDIR= yes OPTIONS= TEAMARENA "Install Quake III Team Arena data files" on + +DATADIR= ${Q3DIR} SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} @cd ${WRKDIR} && ${TAIL} +356 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ ${TAR} zxf - >/dev/null .include "Makefile.include" .include .if defined(WITH_TEAMARENA) PLIST_SUB+= TEAMARENA="" .else PLIST_SUB+= TEAMARENA="@comment " .endif do-install: @${MKDIR} ${DATADIR} @${CP} -R ${WRKSRC}/baseq3 ${DATADIR} @${MKDIR} ${PREFIX}/share/pixmaps @${INSTALL_DATA} ${WRKSRC}/quake3.xpm ${PREFIX}/share/pixmaps .if defined(WITH_TEAMARENA) @${CP} -R ${WRKSRC}/missionpack ${DATADIR} .endif post-install: @${ECHO_CMD} @${CAT} ${PKGMESSAGE} @${ECHO_CMD} .include Property changes on: head/games/quake3-data/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/games/quake3-data/Makefile.include =================================================================== --- head/games/quake3-data/Makefile.include (revision 151622) +++ head/games/quake3-data/Makefile.include (revision 151623) @@ -1,44 +1,33 @@ -# Makefile for defining variables used by other Quake III Arena related ports. +# Makefile for defining variables used by other Doom related ports. -# Package name prefix. +# Set variables. -Q3PKGNAMEPREFIX=quake3- +Q3PKGNAMEPREFIX?=quake3- +Q3DIR?= ${LOCALBASE}/share/quake3 -.if ${PORTNAME} != "quake3" -PKGNAMEPREFIX?= ${Q3PKGNAMEPREFIX} -.endif +# Add them to the environment. -# Dependency to "games/quake3-data". +MAKE_ENV+= Q3DIR="${Q3DIR}" +PLIST_SUB+= Q3DIR="${Q3DIR:S/${LOCALBASE}\///}" +SUB_LIST+= Q3DIR="${Q3DIR}" +# Add the dependency. + .if ${PORTNAME} != "data" RUN_DEPENDS+= ${Q3DIR}/baseq3/pak1.pk3:${PORTSDIR}/games/quake3-data .endif -# Installation directories. +# DOS to Unix text conversion. -Q3DIR= ${LOCALBASE}/share/quake3 - -.if ${PORTNAME} == "data" || ${PORTNAME} == "quake3" -DATADIR?= ${Q3DIR} -.else -DATADIR?= ${Q3DIR}/${PORTNAME} -.endif - -DOCSDIR?= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} - -PLIST_SUB+= Q3DIR="${Q3DIR:S/${PREFIX}\///}" - -# Convert "dos" text files to "unix". - -.if defined(USE_ZIP) +.if defined(USE_CRLF) +. if defined(USE_ZIP) EXTRACT_BEFORE_ARGS= -aqo -.else +. else USE_REINPLACE= yes -REINPLACE_ARGS= -i "" - pre-patch: -# remove trailing ^M - @${FIND} -E ${WRKSRC} -type f \ - -iregex ".*\.(bat|cfg|gam|htm|html|inf|ini|lst|sc|scr|txt|url)" \ - -exec ${REINPLACE_CMD} -e "s|`${ECHO_CMD} -e '\r'`$$||" {} \; + @${FIND} ${WRKDIR} -type f -print0 | \ + ${XARGS} -0 ${FILE} | ${GREP} 'CRLF' | \ + ${SED} -e "s/:.*//" | ${SED} -e 's/ /\\ /g' | \ + ${XARGS} ${REINPLACE_CMD} -i "" -e "s/`${PRINTF} '\r'`$$//" +. endif .endif Property changes on: head/games/quake3-data/Makefile.include ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/games/quake3-excessive/Makefile =================================================================== --- head/games/quake3-excessive/Makefile (revision 151622) +++ head/games/quake3-excessive/Makefile (revision 151623) @@ -1,40 +1,44 @@ # New ports collection makefile for: Q3 Mod: Excessive # Date created: Sat Jun 23 23:40:21 EDT 2001 # Whom: pat@databits.net # # $FreeBSD$ # PORTNAME= excessive PORTVERSION= 003 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= pat +PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX} DISTNAME= ${PORTNAME}_q3_server_${PORTVERSION} MAINTAINER= pat@FreeBSD.org COMMENT= Quake III Arena Mod: Excessive WRKSRC= ${WRKDIR}/${PORTNAME} USE_ZIP= yes +USE_CRLF= yes NO_BUILD= yes + +DATADIR= ${Q3DIR}/${PORTNAME} post-extract: @(cd ${WRKSRC}; ${UNZIP_CMD} description.pk3) do-install: @${MKDIR} ${DATADIR} .for f in description.txt motd.cfg maplist.cfg @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} .endfor @${MKDIR} ${DATADIR}/vm @${INSTALL_DATA} ${WRKSRC}/vm/qagame.qvm ${DATADIR}/vm .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} .endif .include "${.CURDIR}/../quake3-data/Makefile.include" .include Property changes on: head/games/quake3-excessive/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/games/quake3-freezetag/Makefile =================================================================== --- head/games/quake3-freezetag/Makefile (revision 151622) +++ head/games/quake3-freezetag/Makefile (revision 151623) @@ -1,51 +1,55 @@ # New ports collection makefile for: Q3 Mod: Freeze Tag # Date created: Sun Jun 24 00:08:58 EDT 2001 # Whom: pat@databits.net # # $FreeBSD$ # PORTNAME= freezetag PORTVERSION= 1.51b CATEGORIES= games MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= pat +PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX} DISTNAME= q3freeze${PORTVERSION:S/.//} MAINTAINER= pat@FreeBSD.org COMMENT= Quake III Arena Mod: Freeze Tag WRKSRC= ${WRKDIR}/freeze USE_ZIP= yes +USE_CRLF= yes NO_BUILD= yes + +DATADIR= ${Q3DIR}/${PORTNAME} .include "${.CURDIR}/../quake3-data/Makefile.include" .include .if exists(${Q3DIR}/missionpack/pak1.pk3) WITH_MISSIONPACK= yes .endif .if defined(WITH_MISSIONPACK) PLIST_SUB+= MISSIONPACK="" .else PLIST_SUB+= MISSIONPACK="@comment " .endif do-install: @${MKDIR} ${DATADIR} .for f in description.txt freeze.cfg freeze0.pk3 freeze1.pk3 ft.config @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} .endfor .if defined(WITH_MISSIONPACK) @${INSTALL_DATA} ${WRKSRC}/missionpack/freeze_ta0.pk3 \ ${Q3DIR}/missionpack .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} .endif .include Property changes on: head/games/quake3-freezetag/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/games/quake3-osp/Makefile =================================================================== --- head/games/quake3-osp/Makefile (revision 151622) +++ head/games/quake3-osp/Makefile (revision 151623) @@ -1,40 +1,44 @@ # New ports collection makefile for: Q3 Mod: OSP Tourney DM/CA/CTF # Date created: Mon Jun 4 16:20:32 EDT 2001 # Whom: pat@databits.net # # $FreeBSD$ # PORTNAME= osp PORTVERSION= 1.03a CATEGORIES= games MASTER_SITES= ${MASTER_SITE_GENTOO} MASTER_SITE_SUBDIR= distfiles +PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX} DISTNAME= osp-Quake3-${PORTVERSION}_full MAINTAINER= pat@FreeBSD.org COMMENT= Quake III Arena Mod: OSP Tourney DM/CA/CTF WRKSRC= ${WRKDIR}/${PORTNAME} USE_ZIP= yes +USE_CRLF= yes NO_BUILD= yes + +DATADIR= ${Q3DIR}/${PORTNAME} do-install: @${MKDIR} ${DATADIR} .for f in *.cfg *.pk3 description.txt filters.txt @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} .endfor .for d in cfg-GfxExample locs vm @${CP} -R ${WRKSRC}/${d} ${DATADIR} .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/Docs/*.txt ${DOCSDIR} @${INSTALL_DATA} "${WRKSRC}/OSP Match Quick Start.txt" \ ${DOCSDIR}/osp-match-quick-start.txt .endif .include "${.CURDIR}/../quake3-data/Makefile.include" .include Property changes on: head/games/quake3-osp/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.9 \ No newline at end of property +1.10 \ No newline at end of property Index: head/games/quake3-ra3/Makefile =================================================================== --- head/games/quake3-ra3/Makefile (revision 151622) +++ head/games/quake3-ra3/Makefile (revision 151623) @@ -1,37 +1,41 @@ # 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.76 CATEGORIES= games MASTER_SITES= ftp.clanbase.com/pub/ \ ftp.mirrors.degnet.de/pub/misc/PlanetQuake3.net/modifications/rocketarena3/ +PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX} DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} MAINTAINER= pat@FreeBSD.org COMMENT= Quake III Arena Mod: Rocket Arena 3 NO_PACKAGE= "Package will be 102MB, set FORCE_PACKAGE if you really want to build it" WRKSRC= ${WRKDIR}/arena USE_ZIP= yes +USE_CRLF= yes NO_BUILD= yes + +DATADIR= ${Q3DIR}/${PORTNAME} do-install: @${MKDIR} ${DATADIR} .for f in *.cfg *.pk3 @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} .endif .include "${.CURDIR}/../quake3-data/Makefile.include" .include Property changes on: head/games/quake3-ra3/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.13 \ No newline at end of property +1.14 \ No newline at end of property Index: head/games/quake3-ut/Makefile =================================================================== --- head/games/quake3-ut/Makefile (revision 151622) +++ head/games/quake3-ut/Makefile (revision 151623) @@ -1,36 +1,40 @@ # New ports collection makefile for: Q3 Mod: Urban Terror # Date created: Sun Jun 3 11:49:27 EDT 2001 # Whom: pat # # $FreeBSD$ # PORTNAME= ut PORTVERSION= 3.7 CATEGORIES= games MASTER_SITES= ftp://ftp.snt.utwente.nl/pub/games/urbanterror/ +PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX} DISTNAME= urbanTerror${PORTVERSION:S/.//}_full MAINTAINER= pat@FreeBSD.org COMMENT= Quake III Arena Mod: Urban Terror USE_ZIP= yes +USE_CRLF= yes NO_BUILD= yes NO_WRKSUBDIR= yes NO_PACKAGE= "Distfile is \>256MB\; define FORCE_PACKAGE if you really want this." + +DATADIR= ${Q3DIR}/${PORTNAME} do-install: @${MKDIR} ${DATADIR} .for f in *.pk3 description.txt @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for f in beta3.html radio_commands.txt readme*.txt @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include "${.CURDIR}/../quake3-data/Makefile.include" .include Property changes on: head/games/quake3-ut/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.16 \ No newline at end of property +1.17 \ No newline at end of property Index: head/games/quake3-wfa/Makefile =================================================================== --- head/games/quake3-wfa/Makefile (revision 151622) +++ head/games/quake3-wfa/Makefile (revision 151623) @@ -1,42 +1,46 @@ # New ports collection makefile for: Q3 Mod: Weapons Factory Arena # Date created: Sun Jun 3 15:03:11 EDT 2001 # Whom: pat@databits.net # # $FreeBSD$ # PORTNAME= wfa PORTVERSION= 3.5b CATEGORIES= games MASTER_SITES= http://www.ijs.si/~lesi/distfiles/ +PKGNAMEPREFIX= ${Q3PKGNAMEPREFIX} DISTFILES= WFA35Engine.zip WFA35MapPack1.zip WFA35MapPack2.zip \ WFA_v35b.zip 35b_mappack1.zip DIST_SUBDIR= ${PORTNAME} MAINTAINER= pat@FreeBSD.org COMMENT= Quake III Arena Mod: Weapons Factory Arena NO_PACKAGE= "Package will be 138MB, set FORCE_PACKAGE if you really want to build it" USE_ZIP= yes +USE_CRLF= yes NO_BUILD= yes NO_WRKSUBDIR= yes + +DATADIR= ${Q3DIR}/${PORTNAME} post-extract: @${RM} ${WRKSRC}/help/BobWFACfgV236.exe do-install: @${MKDIR} ${DATADIR} .for f in *.cfg *.pk3 @${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} .endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for f in EnglishRadioHelp help @${CP} -R ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include "${.CURDIR}/../quake3-data/Makefile.include" .include Property changes on: head/games/quake3-wfa/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property