aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-03-25 11:36:34 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-03-25 11:36:34 +0000
commit996d0371675d5a80b6cd25ed5dc0b1386d61e1d4 (patch)
treeb8fad8683c135adafbcabd031839ccf25a1ca6fe /net-mgmt
parent78898e5821b205c95421f02ff53a56facddb5740 (diff)
downloadports-996d0371675d5a80b6cd25ed5dc0b1386d61e1d4.tar.gz
ports-996d0371675d5a80b6cd25ed5dc0b1386d61e1d4.zip
Notes
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 54200d8daf25..0a445601988d 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 8eabec1bcf9d..a96a5b021692 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 f5ea541bd2b3..decf3e64b1d2 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