freebsd-ports/games/qcc/Makefile
2011-08-09 08:07:07 +00:00

38 lines
851 B
Makefile

# New ports collection makefile for: qcc
# Date created: October 25th 1996
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= qcc
PORTVERSION= 1.01
CATEGORIES= games devel
MASTER_SITES= ${MASTER_SITE_IDSOFTWARE}
MASTER_SITE_SUBDIR= source
DISTNAME= ${PORTNAME}
MAINTAINER= danfe@FreeBSD.org
COMMENT= The QuakeC compiler, for building custom games of Quake
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/send
MAKEFILE= makefile
PLIST_FILES= bin/qcc
PORTDOCS= readme.txt
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)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include "${.CURDIR}/../quake-source/Makefile.include"
.include <bsd.port.mk>