1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/net/isc-dhcp31-server/Makefile
Justin M. Seger 41de43aecf touch /etc/dhclient.conf after install
This lets dhclient run without someone creating a customized file.

Requested by:   obrien
1998-07-25 22:16:40 +00:00

35 lines
828 B
Makefile

# Ports collection makefile for: dhcp
# Version required: 2.0b1pl6
# Date created: 7 Mar 1996
# Whom: se
#
# $Id: Makefile,v 1.19 1998/07/14 03:26:34 jseger Exp $
#
DISTNAME= dhcp-2.0b1pl6
PKGNAME= isc-dhcp2.b1.6
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/
MAINTAINER= jseger@FreeBSD.org
HAS_CONFIGURE= yes
CAT5= dhclient.conf.5 dhclient.leases.5 dhcp-options.5 dhcpd.conf.5 \
dhcpd.leases.5
CAT8= dhclient.8 dhclient-script.8 dhcpd.8 dhcrelay.8
_MANPAGES+= ${CAT5:S%^%${MANPREFIX}/man/cat5/%}
_MANPAGES+= ${CAT8:S%^%${MANPREFIX}/man/cat8/%}
post-install:
${TOUCH} /var/db/dhcpd.leases
${TOUCH} /etc/dhclient.conf
.for file in dhclient dhcpd dhcrelay
if [ -f ${PREFIX}/sbin/${file} ]; then \
strip ${PREFIX}/sbin/${file}; \
fi
.endfor
.include <bsd.port.mk>