aboutsummaryrefslogtreecommitdiffstats
path: root/security/ike-scan
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-07-09 04:52:37 +0800
committerpawel <pawel@FreeBSD.org>2014-07-09 04:52:37 +0800
commitdc7b846bfcf1b3934bd228c78ffa2ac088d53f68 (patch)
tree7b7b57fa337cddc8124f6b98d0840635421d2f4b /security/ike-scan
parentf5499fbc6276b031759485fc124b30361ceddeb2 (diff)
downloadfreebsd-ports-gnome-dc7b846bfcf1b3934bd228c78ffa2ac088d53f68.tar.gz
freebsd-ports-gnome-dc7b846bfcf1b3934bd228c78ffa2ac088d53f68.tar.zst
freebsd-ports-gnome-dc7b846bfcf1b3934bd228c78ffa2ac088d53f68.zip
- Add staging support
- Convert to new options framework
Diffstat (limited to 'security/ike-scan')
-rw-r--r--security/ike-scan/Makefile15
-rw-r--r--security/ike-scan/pkg-plist2
2 files changed, 8 insertions, 9 deletions
diff --git a/security/ike-scan/Makefile b/security/ike-scan/Makefile
index 4d3f9b71c195..63eec9b4b7a7 100644
--- a/security/ike-scan/Makefile
+++ b/security/ike-scan/Makefile
@@ -6,20 +6,17 @@ PORTVERSION= 1.9
CATEGORIES= security
MASTER_SITES= http://www.nta-monitor.com/tools/ike-scan/download/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= VPN scanner and identifier
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datadir=${PREFIX}/share --with-openssl=${LOCALBASE}
-MAN1= ike-scan.1 psk-crack.1
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-install:
-. if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-. for i in AUTHORS COPYING NEWS README TODO udp-backoff-fingerprinting-paper.txt
- ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
-. endfor
-. endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING NEWS README TODO \
+ udp-backoff-fingerprinting-paper.txt ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/security/ike-scan/pkg-plist b/security/ike-scan/pkg-plist
index a191227bcd10..3a8d0fdab2ad 100644
--- a/security/ike-scan/pkg-plist
+++ b/security/ike-scan/pkg-plist
@@ -1,5 +1,7 @@
bin/ike-scan
bin/psk-crack
+man/man1/ike-scan.1.gz
+man/man1/psk-crack.1.gz
%%DATADIR%%/ike-backoff-patterns
%%DATADIR%%/ike-vendor-ids
%%DATADIR%%/psk-crack-dictionary