diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2004-01-01 22:10:41 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2004-01-01 22:10:41 +0000 |
commit | dd20ba70e2bfd7855050e311aeaf89cfabf9d8e2 (patch) | |
tree | e7618701c0422d7d2071a3abcff95dab4e55e2ab /net | |
parent | ba287e1256dde5c3dc441fd8ca8d7622303fe54e (diff) | |
download | ports-dd20ba70e2bfd7855050e311aeaf89cfabf9d8e2.tar.gz ports-dd20ba70e2bfd7855050e311aeaf89cfabf9d8e2.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/netspoc/Makefile | 16 | ||||
-rw-r--r-- | net/netspoc/distinfo | 2 | ||||
-rw-r--r-- | net/netspoc/pkg-plist | 3 |
3 files changed, 16 insertions, 5 deletions
diff --git a/net/netspoc/Makefile b/net/netspoc/Makefile index 0aeccd7bfc14..1345aebd9f8f 100644 --- a/net/netspoc/Makefile +++ b/net/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> diff --git a/net/netspoc/distinfo b/net/netspoc/distinfo index cf1cbb6a6389..9a0a14d9e960 100644 --- a/net/netspoc/distinfo +++ b/net/netspoc/distinfo @@ -1 +1 @@ -MD5 (netspoc-1.5.tar.gz) = fb8d6ab2589a197812313ab718b2ef65 +MD5 (netspoc-1.7.tar.gz) = 59acf72f15fa724ed0daffd5fda29838 diff --git a/net/netspoc/pkg-plist b/net/netspoc/pkg-plist index d664ee7f5684..f5ea541bd2b3 100644 --- a/net/netspoc/pkg-plist +++ b/net/netspoc/pkg-plist @@ -1,6 +1,9 @@ +@comment $FreeBSD$ bin/netspoc +bin/Netspoc.pm %%PORTDOCS%%%%DOCSDIR%%/CSPM.html %%PORTDOCS%%%%DOCSDIR%%/index.html %%PORTDOCS%%%%DOCSDIR%%/language.html %%PORTDOCS%%%%DOCSDIR%%/netspoc.html +%%PORTDOCS%%%%DOCSDIR%%/NEWS.html %%PORTDOCS%%@dirrm %%DOCSDIR%% |