blob: 262e78caf05ccaf1935b70c8ce07935458455b7d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: qcc
# Date created: October 25th 1996
# Whom: 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
USE_REINPLACE= yes
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}/qcc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include "${.CURDIR}/../quake-source/Makefile.include"
.include <bsd.port.mk>
|