1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/dns/bind-tools/Makefile
Mathieu Arnold 84296bece1 Add a PYTHON option to bind99 and bind910, it installs a couple of dnssec
related utilities.
Use bind's own Makefiles for installation in bind-tools.

Sponsored by:	Absolight
2014-06-24 15:15:33 +00:00

34 lines
838 B
Makefile

# $FreeBSD$
PKGNAMESUFFIX= -tools
COMMENT= Command line tools from BIND: dig, host, and nslookup
CONFIGURE_ARGS+= --disable-shared
CONFLICTS+= bind910-9.10.*
MASTERDIR= ${.CURDIR}/../../dns/bind910
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
PKGINSTALL= /nonexistent
BIND_TOOLS_SLAVE= YES
post-patch:
@${REINPLACE_CMD} -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
@${REINPLACE_CMD} -e 's#^SUBDIRS.*#SUBDIRS = delv dig dnssec nsupdate \\#' \
-e 's#^ .*check confgen ##' \
${WRKSRC}/bin/Makefile.in
do-install:
@(cd ${INSTALL_WRKSRC}/bin && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.include "${MASTERDIR}/Makefile"