# Created by: James FitzGibbon # $FreeBSD: head/games/qcc/Makefile 348453 2014-03-17 09:26:43Z danfe $ PORTNAME= qcc PORTVERSION= 1.01 CATEGORIES= games devel MASTER_SITES= IDSOFTWARE/source DISTNAME= ${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= QuakeC compiler, for building custom games of Quake LICENSE= GPLv2 WRKSRC= ${WRKDIR}/send MAKEFILE= makefile PLIST_FILES= bin/qcc PORTDOCS= readme.txt OPTIONS_DEFINE= DOCS .include post-extract: @${REINPLACE_CMD} -E '/^CFLAGS/d; s/cc( -c)? \$$\(C/$$(CC)\1 \$$\(C/' \ ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../quake-source/Makefile.include" .include