diff options
author | sergei <sergei@FreeBSD.org> | 2004-01-02 06:10:41 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2004-01-02 06:10:41 +0800 |
commit | e65b4cffb8ecdc9d6a1bfcc0f4e270ecfe3d6bc3 (patch) | |
tree | 93b34f7974d88c7c77bb023494ea9dc1a93e7ebb /net/netspoc | |
parent | a33df7d01ba2bfc0271ec32b6755eb0819f08a67 (diff) | |
download | freebsd-ports-gnome-e65b4cffb8ecdc9d6a1bfcc0f4e270ecfe3d6bc3.tar.gz freebsd-ports-gnome-e65b4cffb8ecdc9d6a1bfcc0f4e270ecfe3d6bc3.tar.zst freebsd-ports-gnome-e65b4cffb8ecdc9d6a1bfcc0f4e270ecfe3d6bc3.zip |
- Update to 1.7
PR: 60747
Submitted by: Vincent Tantardini <vinc@FreeBSD-fr.org>
Diffstat (limited to 'net/netspoc')
-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%% |