summaryrefslogtreecommitdiffstats
path: root/games/qcc/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-11-17 12:00:14 +0000
committeredwin <edwin@FreeBSD.org>2005-11-17 12:00:14 +0000
commit4f464c0c9580adf2d1d78495781ffb47c032bcc6 (patch)
tree479a2ed68e9ab704a1d1ec8fc09f2f261d1c1444 /games/qcc/Makefile
parentefb06fd8d8144cf518ebe21798139ac782b454e9 (diff)
downloadFreeBSD-ports-4f464c0c9580adf2d1d78495781ffb47c032bcc6.zip
FreeBSD-ports-4f464c0c9580adf2d1d78495781ffb47c032bcc6.tar.gz
[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/qcc/Makefile')
-rw-r--r--games/qcc/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/games/qcc/Makefile b/games/qcc/Makefile
index 90bcce2..78d7d62 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>
OpenPOWER on IntegriCloud