1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/dns/bind-tools/Makefile
Doug Barton deda664425 Throw my ports back in the pool, and make my intentions clear for the
various ports that I've created.

I bid fond fare well
A chapter closes for me
What opens for you?
2012-10-08 10:38:47 +00:00

39 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= bind-tools
COMMENT= Command line tools from BIND: dig, host, and nslookup
CONFIGURE_ARGS+= --disable-shared
CONFLICTS+= bind97-9.7.*
MASTERDIR= ${.CURDIR}/../../dns/bind97
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
BIND_TOOLS_SLAVE= YES
MAN1= dig.1 host.1 nslookup.1
post-patch:
@${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.presed
@${SED} -e 's#^SUBDIRS.*#SUBDIRS = lib bin#' \
-e 's#isc-config.sh installdirs#installdirs#' \
-e 's#.*INSTALL.*isc-config.*##' \
-e 's#.*INSTALL.*bind.keys.*##' \
${WRKSRC}/Makefile.in.presed > ${WRKSRC}/Makefile.in
@${MV} ${WRKSRC}/bin/Makefile.in ${WRKSRC}/bin/Makefile.in.presed
@${SED} -e 's#^SUBDIRS.*#SUBDIRS = dig#' \
-e 's#^ .*check confgen ##' \
${WRKSRC}/bin/Makefile.in.presed > ${WRKSRC}/bin/Makefile.in
do-install:
.for file in dig host nslookup
${INSTALL_PROGRAM} ${WRKSRC}/bin/dig/${file} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/bin/dig/${file}.1 ${MANPREFIX}/man/man1
.endfor
.include "${MASTERDIR}/Makefile"