aboutsummaryrefslogtreecommitdiffstats
path: root/dns/zkt
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-01-05 23:50:50 +0800
committerrakuco <rakuco@FreeBSD.org>2014-01-05 23:50:50 +0800
commit1b660b1635c765c9e85e2b6fe44c551ef1688d79 (patch)
tree4236c40bbbecf6718ba67723b8c8fa63fe6090ab /dns/zkt
parent13a7449669c20213f9094a413fc2873047772316 (diff)
downloadfreebsd-ports-gnome-1b660b1635c765c9e85e2b6fe44c551ef1688d79.tar.gz
freebsd-ports-gnome-1b660b1635c765c9e85e2b6fe44c551ef1688d79.tar.zst
freebsd-ports-gnome-1b660b1635c765c9e85e2b6fe44c551ef1688d79.zip
1. Handle removed bind in FreeBSD-HEAD and FreeBSD-10, dns/zkt depends on
dns/bin99 port in these cases. That fixes an error on the FreeBSD package build server. 2. Support staging. 3. Support LICENSE framework. PR: ports/185267 Submitted by: Frank Behrens <frank@harz2014.behrens.de> (maintainer)
Diffstat (limited to 'dns/zkt')
-rw-r--r--dns/zkt/Makefile46
-rw-r--r--dns/zkt/pkg-plist10
2 files changed, 32 insertions, 24 deletions
diff --git a/dns/zkt/Makefile b/dns/zkt/Makefile
index 8521bdfc75e1..a0b51b16a127 100644
--- a/dns/zkt/Makefile
+++ b/dns/zkt/Makefile
@@ -3,41 +3,39 @@
PORTNAME= zkt
DISTVERSION= 1.1.2
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://www.hznet.de/dns/zkt/
MAINTAINER= frank@harz2014.behrens.de
COMMENT= Tool to manage keys and signatures for DNSSEC-zones
-DIR_NAMED_CONF?= /etc/namedb
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 1000055
+BUILD_DEPENDS= dnssec-signzone:${PORTSDIR}/dns/bind99
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+.endif
-PLIST_FILES= sbin/zkt-conf \
- sbin/zkt-keyman \
- sbin/zkt-ls \
- sbin/zkt-signer \
- sbin/zkt-soaserial
-MAN8= dnssec-zkt.8 \
- zkt-conf.8 \
- zkt-keyman.8 \
- zkt-ls.8 \
- zkt-signer.8
+DIR_NAMED_CONF?= /etc/namedb
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-configpath=${DIR_NAMED_CONF}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/var/named/|${DIR_NAMED_CONF}/|g' ${WRKSRC}/man/*.8
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/zkt-conf ${PREFIX}/sbin/
- ${INSTALL_PROGRAM} ${WRKSRC}/zkt-keyman ${PREFIX}/sbin/
- ${INSTALL_PROGRAM} ${WRKSRC}/zkt-ls ${PREFIX}/sbin/
- ${INSTALL_PROGRAM} ${WRKSRC}/zkt-signer ${PREFIX}/sbin/
- ${INSTALL_PROGRAM} ${WRKSRC}/zkt-soaserial ${PREFIX}/sbin/
- ${INSTALL_MAN} ${WRKSRC}/man/dnssec-zkt.8 ${PREFIX}/man/man8/
- ${INSTALL_MAN} ${WRKSRC}/man/zkt-conf.8 ${PREFIX}/man/man8/
- ${INSTALL_MAN} ${WRKSRC}/man/zkt-keyman.8 ${PREFIX}/man/man8/
- ${INSTALL_MAN} ${WRKSRC}/man/zkt-ls.8 ${PREFIX}/man/man8/
- ${INSTALL_MAN} ${WRKSRC}/man/zkt-signer.8 ${PREFIX}/man/man8/
-
-.include <bsd.port.mk>
+ ${INSTALL_PROGRAM} ${WRKSRC}/zkt-conf ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/zkt-keyman ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/zkt-ls ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/zkt-signer ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/zkt-soaserial ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_MAN} ${WRKSRC}/man/dnssec-zkt.8 ${STAGEDIR}${PREFIX}/man/man8/
+ ${INSTALL_MAN} ${WRKSRC}/man/zkt-conf.8 ${STAGEDIR}${PREFIX}/man/man8/
+ ${INSTALL_MAN} ${WRKSRC}/man/zkt-keyman.8 ${STAGEDIR}${PREFIX}/man/man8/
+ ${INSTALL_MAN} ${WRKSRC}/man/zkt-ls.8 ${STAGEDIR}${PREFIX}/man/man8/
+ ${INSTALL_MAN} ${WRKSRC}/man/zkt-signer.8 ${STAGEDIR}${PREFIX}/man/man8/
+
+.include <bsd.port.post.mk>
diff --git a/dns/zkt/pkg-plist b/dns/zkt/pkg-plist
new file mode 100644
index 000000000000..f0d1553bc06e
--- /dev/null
+++ b/dns/zkt/pkg-plist
@@ -0,0 +1,10 @@
+man/man8/dnssec-zkt.8.gz
+man/man8/zkt-conf.8.gz
+man/man8/zkt-keyman.8.gz
+man/man8/zkt-ls.8.gz
+man/man8/zkt-signer.8.gz
+sbin/zkt-conf
+sbin/zkt-keyman
+sbin/zkt-ls
+sbin/zkt-signer
+sbin/zkt-soaserial