aboutsummaryrefslogtreecommitdiff
path: root/games/meqcc
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/meqcc
parent503bab487d01d6607845b8cc5f068210658af4cf (diff)
downloadports-085aae91a3a3bbab7a221d1655eae4f80dd6a97b.tar.gz
ports-085aae91a3a3bbab7a221d1655eae4f80dd6a97b.zip
Notes
Diffstat (limited to 'games/meqcc')
-rw-r--r--games/meqcc/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/meqcc/Makefile b/games/meqcc/Makefile
index ea29c41c3239..c5a2de90cdd6 100644
--- a/games/meqcc/Makefile
+++ b/games/meqcc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: MeQCC
-# Date created: 16 Jan 2005
-# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= meqcc
PORTVERSION= 1.4
@@ -13,7 +9,7 @@ MASTER_SITES= ftp://ftp.clan-rum.org/quake/qutils/ \
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}src
MAINTAINER= danfe@FreeBSD.org
-COMMENT= MrElusive's QuakeC compiler
+COMMENT= MrElusive's QuakeC compiler with precompiler support
LICENSE= GPLv2
@@ -25,6 +21,10 @@ NO_WRKSUBDIR= yes
PLIST_FILES= bin/meqcc
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's/<io\.h>/<unistd.h>/ ; /<conio\.h>/d' \
${WRKSRC}/l_log.c
@@ -33,7 +33,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qcc ${PREFIX}/bin/${PORTNAME}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/[^gr]*.txt ${DOCSDIR}
.endif