blob: ba3d5f157986aa0c9fab92720ad99c9fdac3e1ff (
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
|
# ex:ts=8
# New ports collection makefile for: cccc
# Date created: 12 September 1997
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= cccc
PORTVERSION= 3.1.4
CATEGORIES= devel textproc www
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= C and C++ Code Counter
BUILD_DEPENDS= antlr:${PORTSDIR}/devel/pccts \
dlg:${PORTSDIR}/devel/pccts
USE_GMAKE= yes
MAKEFILE= makefile
MAKE_JOBS_UNSAFE= yes
PORTDOCS= readme.txt changes.txt
PLIST_FILES= bin/cccc
post-patch:
@${REINPLACE_CMD} -e 's|=g++|=${CXX}|' ${WRKSRC}/*/posix*.mak
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/cccc/cccc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|