aboutsummaryrefslogtreecommitdiff
path: root/games/qccx
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/qccx
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/qccx')
-rw-r--r--games/qccx/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/games/qccx/Makefile b/games/qccx/Makefile
index 90c7110b2549..6c9d60529c21 100644
--- a/games/qccx/Makefile
+++ b/games/qccx/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: QCCX
-# Date created: 18 Jan 2005
-# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= qccx
PORTVERSION= 1.0.0
@@ -13,22 +9,26 @@ MASTER_SITES= http://www.quakewiki.net/archives/qccx/ \
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= danfe@FreeBSD.org
-COMMENT= A very fast optimizing QuakeC compiler
+COMMENT= Very fast optimizing QuakeC compiler
LICENSE= GPLv2
USE_ZIP= yes
USE_DOS2UNIX= pr_comp.cpp qcc.cpp ${PORTDOCS}
+MAKEFILE= ${FILESDIR}/Makefile
NO_WRKSUBDIR= yes
-MAKEFILE= ${FILESDIR}/Makefile
PORTDOCS= manual.txt readme.txt
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.qc ${WRKSRC}/progs.src ${DATADIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif