1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/dns/yadifa/Makefile
Bryan Drewery 23a1cad535 - Fix plist to have proper 'rmdir DIR' ordering.
Pkgng will not detect the directory otherwise. This was due to
  incorrectly advise in the check-stagedir.sh script, fixed in
  r351587

With hat:	portmgr
2014-04-21 01:14:53 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Mathieu Arnold <mat@FreeBSD.org>
# $FreeBSD$
PORTNAME= yadifa
PORTVERSION= 1.0.3
PORTREVISION= 2
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:
${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf.example ${STAGEDIR}${PREFIX}/etc/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${MV} ${STAGEDIR}/var/zones ${STAGEDIR}/var/${PORTNAME}
.include <bsd.port.mk>