1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/net/isc-dhcp40-server/Makefile
David E. O'Brien 7b56fac47b Update to 3.0b1pl14
PR:		19493, 18475
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2000-06-25 21:08:08 +00:00

41 lines
952 B
Makefile

# ex:ts=8
# Ports collection makefile for: dhcp
# Date created: 7 Mar 1996
# Whom: se
#
# $FreeBSD$
#
PORTNAME= isc-dhcp3
PORTVERSION= 3.0.b1.14
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/
DISTNAME= dhcp-3.0b1pl14
MAINTAINER= obrien@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libbind.a:${PORTSDIR}/net/bind8
Y2K= http://www.isc.org/y2k.html
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-nsupdate
MAN5= dhclient.conf.5 dhclient.leases.5 dhcp-options.5 dhcpd.conf.5 \
dhcpd.leases.5
MAN8= dhclient.8 dhclient-script.8 dhcpd.8 dhcrelay.8
post-patch:
@${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/includes/dhcpd.h
@${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/client/scripts/freebsd
post-install:
${TOUCH} /var/db/dhcpd.leases
.for file in dhclient dhcpd dhcrelay
if [ -f ${PREFIX}/sbin/${file} ]; then \
strip ${PREFIX}/sbin/${file}; \
fi
.endfor
.include <bsd.port.mk>