aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netspoc/Makefile
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-01-01 22:10:41 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-01-01 22:10:41 +0000
commitdd20ba70e2bfd7855050e311aeaf89cfabf9d8e2 (patch)
treee7618701c0422d7d2071a3abcff95dab4e55e2ab /net-mgmt/netspoc/Makefile
parentba287e1256dde5c3dc441fd8ca8d7622303fe54e (diff)
downloadports-dd20ba70e2bfd7855050e311aeaf89cfabf9d8e2.tar.gz
ports-dd20ba70e2bfd7855050e311aeaf89cfabf9d8e2.zip
- Update to 1.7
PR: 60747 Submitted by: Vincent Tantardini <vinc@FreeBSD-fr.org>
Notes
Notes: svn path=/head/; revision=97048
Diffstat (limited to 'net-mgmt/netspoc/Makefile')
-rw-r--r--net-mgmt/netspoc/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/net-mgmt/netspoc/Makefile b/net-mgmt/netspoc/Makefile
index 0aeccd7bfc14..1345aebd9f8f 100644
--- a/net-mgmt/netspoc/Makefile
+++ b/net-mgmt/netspoc/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= netspoc
-PORTVERSION= 1.5
+PORTVERSION= 1.7
CATEGORIES= net
MASTER_SITES= http://download.berlios.de/netspoc/
@@ -17,14 +17,22 @@ COMMENT= A Network Security Policy Compiler
USE_PERL5= yes
NO_BUILD= yes
-MAN1= netspoc.1
+MAN1= netspoc.1
+DOCS= *.html
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "This port needs Perl 5.6.0 or greater"
+.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/netspoc ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/Netspoc.pm ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/netspoc.man ${MANPREFIX}/man/man1/netspoc.1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>