2013-11-23 14:13:15 +00:00
|
|
|
# Created by: Mathieu Arnold <mat@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= yadifa
|
|
|
|
PORTVERSION= 1.0.3
|
2014-04-21 01:14:53 +00:00
|
|
|
PORTREVISION= 2
|
2013-11-23 14:13:15 +00:00
|
|
|
DISTVERSIONSUFFIX= -2880
|
|
|
|
CATEGORIES= dns ipv6
|
|
|
|
MASTER_SITES= http://cdn.yadifa.eu/sites/default/files/releases/
|
|
|
|
|
|
|
|
MAINTAINER= mat@FreeBSD.org
|
|
|
|
COMMENT= YADIFA is an authoritative Name Server with DNSSEC capabilities
|
|
|
|
|
|
|
|
LICENSE= BSD
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES TCL
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
CONFIGURE_ARGS= --localstatedir=/var
|
|
|
|
TCL_USES= tcl
|
|
|
|
TCL_CONFIGURE_ENABLE= tcl
|
|
|
|
|
|
|
|
USE_RC_SUBR= ${PORTNAME}d
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog \
|
|
|
|
INSTALL NEWS README TODO VERSION
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${EXAMPLESDIR}|' ${WRKSRC}/etc/Makefile
|
|
|
|
${REINPLACE_CMD} -e 's|/usr/local/var|/var|' -e 's|/var/zones|/var/${PORTNAME}|' ${WRKSRC}/etc/yadifad.conf.example
|
|
|
|
|
|
|
|
post-install:
|
2013-11-25 14:21:29 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf.example ${STAGEDIR}${PREFIX}/etc/
|
2013-11-23 14:13:15 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${MV} ${STAGEDIR}/var/zones ${STAGEDIR}/var/${PORTNAME}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|