openbsd-ports/net/nsd/Makefile
2003-04-10 10:34:04 +00:00

55 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2003/04/10 10:34:04 jsyn Exp $
COMMENT= "authoritative-only name server daemon"
VERSION= 1.0.2
DISTNAME= nsd-${VERSION}
PKGNAME= nsd-${VERSION}p1
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/
HOMEPAGE= http://www.nlnetlabs.nl/nsd/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= :named-xfer-*:net/named-xfer
MAKE_FLAGS+= PREFIX='${PREFIX}' \
NSDZONESDIR=/var/nsd \
NSDZONES=/var/nsd/nsd.zones \
NSDUSER=named \
NAMEDXFER=${PREFIX}/libexec/named-xfer \
CC='${CC}' CFLAGS='${CFLAGS}'
NO_REGRESS= Yes
DOCDIR= share/doc/nsd
DOCFILES= README RELNOTES CREDITS DIFFERENCES REQUIREMENTS
EXAMPLESDIR= share/examples/nsd
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nsd ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/nsd-notify ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/zonec ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/nsdc.sh ${PREFIX}/sbin/nsdc
${INSTALL_MAN} ${WRKSRC}/nsd.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/nsd-notify.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/nsdc.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/zonec.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/nsd.zones.sample ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/nsdc.conf.sample ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}
.endfor
.include <bsd.port.mk>