1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/dns/bind95/Makefile
1998-02-04 16:23:28 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: bind
# Version required: 8.1.1
# Date created: 18 July 1997
# Whom: jseger@scds.com
#
# $Id: Makefile,v 1.2 1998/01/12 19:17:22 markm 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/
# for i in ${MAN1}; do \
# ${INSTALL_MAN} ${WRKDIR}/doc/man/$$i ${PREFIX}/man/man1/; \
# done
# for i in ${MAN3}; do \
# ${INSTALL_MAN} ${WRKDIR}/doc/man/$$i ${PREFIX}/man/man3/; \
# done
# for i in ${MAN5}; do \
# ${INSTALL_MAN} ${WRKDIR}/doc/man/$$i ${PREFIX}/man/man5/; \
# done
# for i in ${MAN7}; do \
# ${INSTALL_MAN} ${WRKDIR}/doc/man/$$i ${PREFIX}/man/man7/; \
# done
# for i in ${MAN8}; do \
# ${INSTALL_MAN} ${WRKDIR}/doc/man/$$i ${PREFIX}/man/man8/; \
# done
@(cd ${WRKDIR}/doc/man && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} clean all ${INSTALL_TARGET})
.include <bsd.port.mk>