2000-06-14 16:21:21 +00:00
|
|
|
# ex:ts=8
|
1996-03-08 11:45:10 +00:00
|
|
|
# Ports collection makefile for: dhcp
|
|
|
|
# Date created: 7 Mar 1996
|
|
|
|
# Whom: se
|
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1996-03-08 11:45:10 +00:00
|
|
|
#
|
|
|
|
|
2000-06-14 16:21:21 +00:00
|
|
|
PORTNAME= isc-dhcp3
|
2000-07-21 05:42:18 +00:00
|
|
|
PORTVERSION= 3.0.b1.17
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= net
|
1997-05-31 16:14:04 +00:00
|
|
|
MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/
|
2000-07-21 05:42:18 +00:00
|
|
|
DISTNAME= dhcp-3.0b1pl17
|
1996-03-08 11:45:10 +00:00
|
|
|
|
2000-06-14 16:21:21 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1997-06-03 07:35:25 +00:00
|
|
|
|
2000-07-18 08:50:54 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/bind/res_update.h:${PORTSDIR}/net/bind8
|
2000-06-25 21:08:08 +00:00
|
|
|
|
1999-01-13 03:37:28 +00:00
|
|
|
Y2K= http://www.isc.org/y2k.html
|
|
|
|
|
1997-01-14 20:16:10 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2000-06-25 21:08:08 +00:00
|
|
|
CONFIGURE_ARGS= --with-nsupdate
|
1996-03-08 11:45:10 +00:00
|
|
|
|
2000-07-05 06:32:18 +00:00
|
|
|
MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-contrib.5 \
|
|
|
|
dhcp-eval.5 dhcp-options.5 dhcpd.conf.5 \
|
1997-12-01 23:49:12 +00:00
|
|
|
dhcpd.leases.5
|
1999-06-25 20:08:41 +00:00
|
|
|
MAN8= dhclient.8 dhclient-script.8 dhcpd.8 dhcrelay.8
|
1996-11-18 11:44:27 +00:00
|
|
|
|
2000-06-14 16:21:21 +00:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/includes/dhcpd.h
|
2000-06-25 21:08:08 +00:00
|
|
|
@${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/client/scripts/freebsd
|
2000-06-14 16:21:21 +00:00
|
|
|
|
1997-11-14 14:19:06 +00:00
|
|
|
post-install:
|
1997-12-01 23:49:12 +00:00
|
|
|
${TOUCH} /var/db/dhcpd.leases
|
1998-05-24 03:04:27 +00:00
|
|
|
.for file in dhclient dhcpd dhcrelay
|
|
|
|
if [ -f ${PREFIX}/sbin/${file} ]; then \
|
|
|
|
strip ${PREFIX}/sbin/${file}; \
|
|
|
|
fi
|
|
|
|
.endfor
|
1997-11-14 14:19:06 +00:00
|
|
|
|
1996-03-08 11:45:10 +00:00
|
|
|
.include <bsd.port.mk>
|