mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
84296bece1
related utilities. Use bind's own Makefiles for installation in bind-tools. Sponsored by: Absolight
34 lines
838 B
Makefile
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"
|