freebsd-ports/devel/cccc/Makefile
Matthias Andree a1b5248632 - Heed CXX (fixes build on systems without g++; per clang -exp run)
- Patch erase to map_t::erase (adds files/patch-cccc__cccc_tbl.cc)
- Drop MD5 sum.
2011-07-01 01:48:48 +00:00

40 lines
767 B
Makefile

# 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>