freebsd-ports/misc/sloccount/Makefile
Andrej Zverev ca11b0d6e9 - convert to the new perl5 framework
Approved by:	portmgr (bapt@, blanket)
2013-09-02 09:22:47 +00:00

38 lines
744 B
Makefile

# ex:ts=8
# New ports collection makefile for: sloccount
# Date created: May 21, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= sloccount
PORTVERSION= 2.26
CATEGORIES= misc
MASTER_SITES= http://www.dwheeler.com/sloccount/
MAINTAINER= freaky@aagh.net
COMMENT= Counts physical Source Lines of Code (SLOC)
USES= perl5
MAKEFILE= makefile
INSTALL_TARGET= install_programs install_man
PORTDOCS= ChangeLog README TODO sloccount.html
MAN1= sloccount.1
MANCOMPRESSED= yes
post-install:
.for file in lexcount1 c_count java_count php_count
@${STRIP_CMD} ${PREFIX}/bin/${file}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docs in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>