mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
6cb749803b
PR: 187332 Submitted by: amdmi3 Approved by: maintainer timeout, portmgr (blanket)
29 lines
617 B
Makefile
29 lines
617 B
Makefile
# Created by: 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
|
|
|
|
post-install:
|
|
.for file in lexcount1 c_count java_count php_count
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for docs in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|