aboutsummaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp2/Makefile
blob: 2f77c32f5015ae50719a6760cde1572ec07ebb9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Ports collection makefile for:    dhcp
# Version required:     2.0b1pl27
# Date created:         7 Mar 1996
# Whom:                 se
#
# $Id: Makefile,v 1.27 1999/05/02 11:19:06 jseger Exp $
#

DISTNAME=       dhcp-2.0b1pl27
PKGNAME=    isc-dhcp-2.b1.27
CATEGORIES= net
MASTER_SITES=   ftp://ftp.isc.org/isc/dhcp/

MAINTAINER= jseger@FreeBSD.org

BROKEN='BROKEN='port installs files into /etc (dhclient.conf) rather than PREFIX/etc'

Y2K=        http://www.isc.org/y2k.html

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
.for file in dhclient dhcpd dhcrelay
    if [ -f ${PREFIX}/sbin/${file} ]; then \
        strip ${PREFIX}/sbin/${file}; \
    fi
.endfor

.include <bsd.port.mk>