diff options
Diffstat (limited to 'misc/sloccount/Makefile')
-rw-r--r-- | misc/sloccount/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/misc/sloccount/Makefile b/misc/sloccount/Makefile index 3dd9714847b5..15418c4a2253 100644 --- a/misc/sloccount/Makefile +++ b/misc/sloccount/Makefile @@ -7,18 +7,26 @@ # PORTNAME= sloccount -PORTVERSION= 1.8 +PORTVERSION= 1.9 CATEGORIES= misc MASTER_SITES= http://www.dwheeler.com/sloccount/ MAINTAINER= ports@FreeBSD.org MAKEFILE= makefile +INSTALL_TARGET= install_programs install_man -MANCOMPRESSED= yes -MAN1= sloccount.1 +MAN1= sloccount.1 -pre-install: - @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} +post-install: +.for file in lexcount1 c_count java_count + @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 .include <bsd.port.mk> |