summaryrefslogtreecommitdiffstats
path: root/net/bind9/Makefile
blob: 0c9abaa84634ffdc48decc7ed20055b36c0ad86d (plain)
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
33
34
35
# New ports collection makefile for:	bind
# Version required:	8.1.1
# Date created:		18 July 1997
# Whom:			jseger@scds.com
#
# $Id: Makefile,v 1.3 1998/02/04 16:23:28 wollman Exp $
#

DISTNAME=	bind-8.1.1
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.isc.org/isc/bind/src/8.1.1/
DISTFILES=	bind-src.tar.gz bind-doc.tar.gz

MAINTAINER=	jseger@FreeBSD.org

WRKSRC=		${WRKDIR}/src

MAN1=		dig.1 dnsquery.1 host.1
MAN3=		gethostbyname.3 getnetent.3 resolver.3
MAN5=		resolver.5
MAN7=		hostname.7 mailaddr.7
MAN8=		named-xfer.8 named.8 ndc.8 nslookup.8

PATCH_ARGS?=	-d ${WRKDIR} -E ${PATCH_STRIP}

PA_H=	${WRKSRC}/port/freebsd/include/port_after.h

post-configure:
	${MV} ${PA_H} ${PA_H}.orig
	sed "s,/usr,${PREFIX}," ${PA_H}.orig >${PA_H}

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/bin/named/named-bootconf.pl ${PREFIX}/bin/
	@(cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} clean all ${INSTALL_TARGET})
.include <bsd.port.mk>
OpenPOWER on IntegriCloud