1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/dns/zkt/Makefile
Raphael Kubo da Costa b2734860b1 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)
2014-01-05 15:50:50 +00:00

42 lines
1.4 KiB
Makefile

# Created by: Frank Behrens
# $FreeBSD$
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
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
DIR_NAMED_CONF?= /etc/namedb
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-configpath=${DIR_NAMED_CONF}
post-patch:
@${REINPLACE_CMD} -e 's|/var/named/|${DIR_NAMED_CONF}/|g' ${WRKSRC}/man/*.8
do-install:
${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>