2001-05-20 13:16:01 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: sloccount
|
|
|
|
# Date created: May 21, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sloccount
|
2002-02-28 22:03:40 +00:00
|
|
|
PORTVERSION= 2.10
|
2001-05-20 13:16:01 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= http://www.dwheeler.com/sloccount/
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
|
|
|
MAKEFILE= makefile
|
2001-08-27 15:43:26 +00:00
|
|
|
INSTALL_TARGET= install_programs install_man
|
2001-05-20 13:16:01 +00:00
|
|
|
|
2001-08-27 15:43:26 +00:00
|
|
|
MAN1= sloccount.1
|
2001-05-20 13:16:01 +00:00
|
|
|
|
2001-08-27 15:43:26 +00:00
|
|
|
post-install:
|
2002-01-19 14:43:53 +00:00
|
|
|
.for file in lexcount1 c_count java_count php_count
|
2001-08-27 15:43:26 +00:00
|
|
|
@strip ${PREFIX}/bin/${file}
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ChangeLog README TODO sloccount.html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2001-05-20 13:16:01 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|