aboutsummaryrefslogtreecommitdiff
path: root/games/qcc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-17 12:39:11 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-17 12:39:11 +0000
commit085aae91a3a3bbab7a221d1655eae4f80dd6a97b (patch)
tree2d1bec0b0154a23711f39e3e7d5c81ab04173c61 /games/qcc
parent503bab487d01d6607845b8cc5f068210658af4cf (diff)
downloadports-085aae91a3a3bbab7a221d1655eae4f80dd6a97b.tar.gz
ports-085aae91a3a3bbab7a221d1655eae4f80dd6a97b.zip
Cleanup QuakeC compilers we have in the tree:
- Trim old-school Makefile headers - Get rid of NOPORTDOCS (replace with PORT_OPTIONS:MDOCS} - Some other things along the line (non-functional)
Notes
Notes: svn path=/head/; revision=314428
Diffstat (limited to 'games/qcc')
-rw-r--r--games/qcc/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/qcc/Makefile b/games/qcc/Makefile
index a591157af3a8..f6ac14862fed 100644
--- a/games/qcc/Makefile
+++ b/games/qcc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: qcc
-# Date created: October 25th 1996
-# Whom: James FitzGibbon <jfitz@FreeBSD.org>
-#
+# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= qcc
PORTVERSION= 1.01
@@ -23,13 +19,17 @@ MAKEFILE= makefile
PLIST_FILES= bin/qcc
PORTDOCS= readme.txt
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-extract:
@${REINPLACE_CMD} -E '/^CFLAGS/d; s/cc( -c)? \$$\(C/$$(CC)\1 \$$\(C/' \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif