summaryrefslogtreecommitdiff
path: root/games/qcc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2011-08-09 08:07:07 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2011-08-09 08:07:07 +0000
commit947dc231ecd3bc0ea8d3cde963ef89433f79419c (patch)
tree2f969ac6c616e5ddf94daa670d3a99b5222d267f /games/qcc
parent- Make files from documentation and library readable by non-root users (diff)
Add LICENSE (GPLv2) and cleanup Makefile.
Notes
Notes: svn path=/head/; revision=279301
Diffstat (limited to 'games/qcc')
-rw-r--r--games/qcc/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/games/qcc/Makefile b/games/qcc/Makefile
index f81596eb3b35..a591157af3a8 100644
--- a/games/qcc/Makefile
+++ b/games/qcc/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: qcc
-# Date created: October 25th 1996
-# Whom: jfitz@FreeBSD.org
+# New ports collection makefile for: qcc
+# Date created: October 25th 1996
+# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#
@@ -15,6 +15,8 @@ DISTNAME= ${PORTNAME}
MAINTAINER= danfe@FreeBSD.org
COMMENT= The QuakeC compiler, for building custom games of Quake
+LICENSE= GPLv2
+
WRKSRC= ${WRKDIR}/send
MAKEFILE= makefile
@@ -22,16 +24,15 @@ PLIST_FILES= bin/qcc
PORTDOCS= readme.txt
post-extract:
- @${REINPLACE_CMD} -E '/^CFLAGS/d; s/cc( -c)? \$$\(C/$$(CC)\1 \$$\(C/' \
- ${WRKSRC}/makefile
+ @${REINPLACE_CMD} -E '/^CFLAGS/d; s/cc( -c)? \$$\(C/$$(CC)\1 \$$\(C/' \
+ ${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/qcc ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include "${.CURDIR}/../quake-source/Makefile.include"
-
.include <bsd.port.mk>