aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netspoc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-31 00:20:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-31 00:20:12 +0800
commit32ee8d18ca57b3e84e8fbe3f663cfe1e3f3da805 (patch)
tree022eb96d2026c1d49feeae16fad8b9de746ec36f /net-mgmt/netspoc
parent5b0fe897215cb6ab3248547612477c72b673b003 (diff)
downloadfreebsd-ports-gnome-32ee8d18ca57b3e84e8fbe3f663cfe1e3f3da805.tar.gz
freebsd-ports-gnome-32ee8d18ca57b3e84e8fbe3f663cfe1e3f3da805.tar.zst
freebsd-ports-gnome-32ee8d18ca57b3e84e8fbe3f663cfe1e3f3da805.zip
- Clarify LICENSE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'net-mgmt/netspoc')
-rw-r--r--net-mgmt/netspoc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-mgmt/netspoc/Makefile b/net-mgmt/netspoc/Makefile
index ac5ae65bc287..1c20e00a284b 100644
--- a/net-mgmt/netspoc/Makefile
+++ b/net-mgmt/netspoc/Makefile
@@ -11,11 +11,12 @@ DISTNAME= Netspoc-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Network Security Policy Compiler
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5
USE_PERL5= configure
+NO_ARCH= yes
PORTDOCS= *
PORTEXAMPLES= *
@@ -26,8 +27,12 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.shtml ${STAGEDIR}${DOCSDIR}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/doc
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/doc)
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})