Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 14:49:01 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/86172: [UPDATE] games/qcc: integrate with "games/quake-source"
Message-ID:  <1126806541.0@phobos.mars.bsd>
Resent-Message-ID: <200509151750.j8FHo9TB048758@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86172
>Category:       ports
>Synopsis:       [UPDATE] games/qcc: integrate with "games/quake-source"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 15 17:50:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:


Changes:
* Integrate with "games/quake-source".


>How-To-Repeat:





>Fix:


--- qcc.diff begins here ---
diff -urN /usr/ports/games/qcc/Makefile qcc/Makefile
--- /usr/ports/games/qcc/Makefile	Fri Jan 14 03:23:50 2005
+++ qcc/Makefile	Thu Sep 15 12:35:38 2005
@@ -19,14 +19,20 @@
 WRKSRC=		${WRKDIR}/send
 MAKEFILE=	makefile
 
+PLIST_FILES=	bin/qcc
+PORTDOCS=	readme.txt
+
 post-extract:
 		@${REINPLACE_CMD} -E '/^CFLAGS/d; s/cc( -c)? \$$\(C/$$(CC)\1 \$$\(C/' \
 			${WRKSRC}/makefile
 
 do-install:
 		${INSTALL_PROGRAM} ${WRKSRC}/qcc ${PREFIX}/bin
-		@${MKDIR} ${PREFIX}/share/qcc/v101qc
-		${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/qcc
-		${INSTALL_DATA} ${WRKSRC}/v101qc/* ${PREFIX}/share/qcc/v101qc
+.if !defined(NOPORTDOCS)
+		${MKDIR} ${DOCSDIR}
+		${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+.endif
+
+.include "${.CURDIR}/../quake-source/Makefile.include"
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/qcc/pkg-plist qcc/pkg-plist
--- /usr/ports/games/qcc/pkg-plist	Thu Jan 13 16:25:29 2005
+++ qcc/pkg-plist	Wed Dec 31 21:00:00 1969
@@ -1,40 +0,0 @@
-bin/qcc
-%%DATADIR%%/readme.txt
-%%DATADIR%%/v101qc/ai.qc
-%%DATADIR%%/v101qc/amtest.qc
-%%DATADIR%%/v101qc/boss.qc
-%%DATADIR%%/v101qc/buttons.qc
-%%DATADIR%%/v101qc/client.qc
-%%DATADIR%%/v101qc/combat.qc
-%%DATADIR%%/v101qc/defs.qc
-%%DATADIR%%/v101qc/demon.qc
-%%DATADIR%%/v101qc/dog.qc
-%%DATADIR%%/v101qc/doors.qc
-%%DATADIR%%/v101qc/enforcer.qc
-%%DATADIR%%/v101qc/fight.qc
-%%DATADIR%%/v101qc/fish.qc
-%%DATADIR%%/v101qc/hknight.qc
-%%DATADIR%%/v101qc/items.qc
-%%DATADIR%%/v101qc/jctest.qc
-%%DATADIR%%/v101qc/knight.qc
-%%DATADIR%%/v101qc/misc.qc
-%%DATADIR%%/v101qc/models.qc
-%%DATADIR%%/v101qc/monsters.qc
-%%DATADIR%%/v101qc/ogre.qc
-%%DATADIR%%/v101qc/oldone.qc
-%%DATADIR%%/v101qc/plats.qc
-%%DATADIR%%/v101qc/player.qc
-%%DATADIR%%/v101qc/progs.src
-%%DATADIR%%/v101qc/subs.qc
-%%DATADIR%%/v101qc/shalrath.qc
-%%DATADIR%%/v101qc/shambler.qc
-%%DATADIR%%/v101qc/soldier.qc
-%%DATADIR%%/v101qc/sprites.qc
-%%DATADIR%%/v101qc/tarbaby.qc
-%%DATADIR%%/v101qc/triggers.qc
-%%DATADIR%%/v101qc/weapons.qc
-%%DATADIR%%/v101qc/wizard.qc
-%%DATADIR%%/v101qc/world.qc
-%%DATADIR%%/v101qc/zombie.qc
-@dirrm %%DATADIR%%/v101qc
-@dirrm %%DATADIR%%
--- qcc.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1126806541.0>