1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/isc-dhcp2/Makefile
David E. O'Brien 0ceb8693e5 This fixes the suposed fix of Makefile rev 1.29 ad patch-aj rev 1.1.
This port is now PREFIX clean and installs files into the right locations
(I previously marked it BROKEN because it wasn't).

Bad "fix" by:	JHK
Absent maintainer would would not fix this himself:	jseger
2000-06-14 15:43:47 +00:00

36 lines
761 B
Makefile

# Ports collection makefile for: dhcp
# Date created: 7 Mar 1996
# Whom: se
#
# $FreeBSD$
#
PORTNAME= isc-dhcp
PORTVERSION= 2.0
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/
DISTNAME= dhcp-${PORTVERSION}
MAINTAINER= jseger@FreeBSD.org
Y2K= http://www.isc.org/y2k.html
HAS_CONFIGURE= yes
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
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>