summaryrefslogtreecommitdiffstats
path: root/misc/sloccount/Makefile
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-08-27 15:43:26 +0000
committerkevlo <kevlo@FreeBSD.org>2001-08-27 15:43:26 +0000
commitc007b9ef03294d8c468987cf8ffdfe5e8f60e27b (patch)
tree00a7eaca8497adb8bbe6cdee72102fdc6513cc7a /misc/sloccount/Makefile
parenta8aca5ba44db2f9997fe87675e4b6816ae29c33b (diff)
downloadFreeBSD-ports-c007b9ef03294d8c468987cf8ffdfe5e8f60e27b.zip
FreeBSD-ports-c007b9ef03294d8c468987cf8ffdfe5e8f60e27b.tar.gz
Update to version 1.9
PR: 30045 Submitted by: Ports Fury
Diffstat (limited to 'misc/sloccount/Makefile')
-rw-r--r--misc/sloccount/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/misc/sloccount/Makefile b/misc/sloccount/Makefile
index 3dd9714..15418c4 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>
OpenPOWER on IntegriCloud