aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2011-08-09 16:07:07 +0800
committerdanfe <danfe@FreeBSD.org>2011-08-09 16:07:07 +0800
commita90627d133a21f27a7a0fe70929fdcdd200ad0cf (patch)
tree228f2c1fbdaaaf908588e4e41604ae52a02f4051 /games
parent2f0c4e11967c9c0065c1fa8526039e109e81c110 (diff)
downloadfreebsd-ports-gnome-a90627d133a21f27a7a0fe70929fdcdd200ad0cf.tar.gz
freebsd-ports-gnome-a90627d133a21f27a7a0fe70929fdcdd200ad0cf.tar.zst
freebsd-ports-gnome-a90627d133a21f27a7a0fe70929fdcdd200ad0cf.zip
Add LICENSE (GPLv2) and cleanup Makefile.
Diffstat (limited to 'games')
-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>