aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind-tools/Makefile
blob: 71d633c8d27fad64b7ca6eb5c5ebccd30dc87983 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $FreeBSD$

PORTREVISION=   3
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

INSTALL_WRKSRC= ${WRKSRC}/bin

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

.include "${MASTERDIR}/Makefile"