aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-03-25 19:36:34 +0800
committermiwi <miwi@FreeBSD.org>2011-03-25 19:36:34 +0800
commit83464938d06565fca4a4fdea793b2f615697e745 (patch)
tree190a28b89d3e2d4ddfc71061af49153d32e347dd /net-mgmt
parentb618f893df13be7ce724c5f453d6a4e0190764f8 (diff)
downloadfreebsd-ports-graphics-83464938d06565fca4a4fdea793b2f615697e745.tar.gz
freebsd-ports-graphics-83464938d06565fca4a4fdea793b2f615697e745.tar.zst
freebsd-ports-graphics-83464938d06565fca4a4fdea793b2f615697e745.zip
- Update to 3.2
- Update MASTER_SITES and WWW - Add LICENSE PR: 155870 Submitted by: Ports Fury
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/netspoc/Makefile32
-rw-r--r--net-mgmt/netspoc/distinfo4
-rw-r--r--net-mgmt/netspoc/pkg-plist13
3 files changed, 27 insertions, 22 deletions
diff --git a/net-mgmt/netspoc/Makefile b/net-mgmt/netspoc/Makefile
index 54200d8daf2..0a445601988 100644
--- a/net-mgmt/netspoc/Makefile
+++ b/net-mgmt/netspoc/Makefile
@@ -7,28 +7,36 @@
#
PORTNAME= netspoc
-PORTVERSION= 3.0
+PORTVERSION= 3.2
CATEGORIES= net-mgmt
-MASTER_SITES= http://download.berlios.de/netspoc/
+MASTER_SITES= BERLIOS
+DISTNAME= Netspoc-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Network Security Policy Compiler
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USE_PERL5= yes
-NO_BUILD= yes
+PERL_CONFIGURE= yes
-MAN1= netspoc.1
-DOCS= CSPM.html NEWS.html index.html language.html netspoc.html
+MAN1= netspoc.1 print-group.1
+MAN3= Netspoc.3
+PORTDOCS= *
+PORTEXAMPLES= *
-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
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/index.shtml ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/doc
+ @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}/doc)
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/netspoc/distinfo b/net-mgmt/netspoc/distinfo
index 8eabec1bcf9..a96a5b02169 100644
--- a/net-mgmt/netspoc/distinfo
+++ b/net-mgmt/netspoc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (netspoc-3.0.tar.gz) = 0d67531e902496a5cb011e9f0ca57847f06d4f64bf59c08c6325cfc000786ce2
-SIZE (netspoc-3.0.tar.gz) = 117320
+SHA256 (Netspoc-3.2.tar.gz) = ea053436cd1ab9bb0cc729820cfbddf3c683e8b3d78baca678b30f73156d22c7
+SIZE (Netspoc-3.2.tar.gz) = 228660
diff --git a/net-mgmt/netspoc/pkg-plist b/net-mgmt/netspoc/pkg-plist
index f5ea541bd2b..decf3e64b1d 100644
--- a/net-mgmt/netspoc/pkg-plist
+++ b/net-mgmt/netspoc/pkg-plist
@@ -1,9 +1,6 @@
-@comment $FreeBSD$
+bin/cut-netspoc
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%%
+bin/print-group
+%%SITE_PERL%%/Netspoc.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Netspoc/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Netspoc