2012-12-18 13:36:46 +01:00
|
|
|
# Created by: Leo Vandewoestijne <freebsd@dns-lab.com>
|
2012-03-14 22:41:59 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= knot
|
2013-04-28 15:10:51 +02:00
|
|
|
DISTVERSION= 1.2.0
|
2012-03-14 22:41:59 +01:00
|
|
|
CATEGORIES= dns ipv6
|
2012-12-18 01:13:03 +01:00
|
|
|
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \
|
2012-03-14 22:41:59 +01:00
|
|
|
http://www.dns-lab.com/downloads/knot-dns/
|
|
|
|
|
|
|
|
MAINTAINER= freebsd@dns-lab.com
|
|
|
|
COMMENT= Knot DNS is a high performance authoritative-only DNS server
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
|
|
|
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
|
|
|
|
flex>=2.5.35_1:${PORTSDIR}/textproc/flex
|
2013-06-07 14:36:07 +02:00
|
|
|
LIB_DEPENDS= urcu:${PORTSDIR}/sysutils/liburcu
|
2012-05-21 22:35:20 +02:00
|
|
|
|
2012-03-14 22:41:59 +01:00
|
|
|
CONFIGURE_ARGS= --sysconfdir=${ETCDIR}
|
|
|
|
GNU_CONFIGURE= yes
|
2012-05-21 22:35:20 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2012-03-14 22:41:59 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
|
2012-06-18 01:59:05 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-03-14 22:41:59 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
USE_RC_SUBR= ${PORTNAME}d
|
|
|
|
|
2012-11-26 15:05:56 +01:00
|
|
|
MAN8= knotc.8 knotd.8
|
|
|
|
MAN5= knot.conf.5
|
2012-08-27 04:11:10 +02:00
|
|
|
|
|
|
|
INFO= knot
|
2012-03-14 22:41:59 +01:00
|
|
|
|
2012-12-18 13:36:46 +01:00
|
|
|
PORTDOCS= AUTHORS ChangeLog CodingStyle \
|
2012-03-14 22:41:59 +01:00
|
|
|
INSTALL KNOWN_ISSUES NEWS README RELNOTES
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${ETCDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/samples/knot.min.conf ${ETCDIR}
|
2012-03-17 13:44:20 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/samples/knot.full.conf ${ETCDIR}
|
2012-06-18 01:59:05 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2012-03-14 22:41:59 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
|
|
|
.endif
|
2012-03-17 13:44:20 +01:00
|
|
|
@${CAT} ${WRKDIR}/pkg-message
|
2012-03-14 22:41:59 +01:00
|
|
|
|
2012-06-18 01:59:05 +02:00
|
|
|
.include <bsd.port.post.mk>
|