freebsd-ports/net/bind9/Makefile

36 lines
953 B
Makefile
Raw Normal View History

# New ports collection makefile for: bind
# Version required: 8.1.1
# Date created: 18 July 1997
# Whom: jseger@scds.com
#
1998-04-14 17:44:27 -04:00
# $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>