aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-11-17 20:00:14 +0800
committeredwin <edwin@FreeBSD.org>2005-11-17 20:00:14 +0800
commit4f464c0c9580adf2d1d78495781ffb47c032bcc6 (patch)
tree479a2ed68e9ab704a1d1ec8fc09f2f261d1c1444 /games
parentefb06fd8d8144cf518ebe21798139ac782b454e9 (diff)
downloadfreebsd-ports-gnome-4f464c0c9580adf2d1d78495781ffb47c032bcc6.tar.gz
freebsd-ports-gnome-4f464c0c9580adf2d1d78495781ffb47c032bcc6.tar.zst
freebsd-ports-gnome-4f464c0c9580adf2d1d78495781ffb47c032bcc6.zip
[UPDATE] games/qcc: integrate with "games/quake-source"
Integrate with "games/quake-source". PR: ports/86172 Submitted by: Alejandro Pulver <alejandro@varnet.biz> Approved by: maintainer timeout
Diffstat (limited to 'games')
-rw-r--r--games/qcc/Makefile12
-rw-r--r--games/qcc/pkg-plist40
2 files changed, 9 insertions, 43 deletions
diff --git a/games/qcc/Makefile b/games/qcc/Makefile
index 90bcce2e6df4..78d7d62d1c5c 100644
--- a/games/qcc/Makefile
+++ b/games/qcc/Makefile
@@ -19,14 +19,20 @@ USE_REINPLACE= yes
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 --git a/games/qcc/pkg-plist b/games/qcc/pkg-plist
index e46a498d6e97..e69de29bb2d1 100644
--- a/games/qcc/pkg-plist
+++ b/games/qcc/pkg-plist
@@ -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%%