1998-05-02 20:49:49 -04:00
|
|
|
# OpenBSD makefile for: dhcp
|
|
|
|
# Version required: 1.4.0.1
|
|
|
|
# Date created: 29 April 1998
|
|
|
|
# Whom: Oleg Safiullin <form@vs.itam.nsc.ru>
|
|
|
|
#
|
1998-08-17 07:43:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 1998/08/17 11:43:23 form Exp $
|
1998-05-02 20:49:49 -04:00
|
|
|
#
|
|
|
|
|
1998-08-17 07:43:23 -04:00
|
|
|
DISTNAME= dhcp-1.4.0p2
|
|
|
|
PKGNAME= wide-dhcp-1.4.0.2
|
1998-05-02 20:49:49 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/dhcp/
|
1998-08-17 07:43:23 -04:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz
|
1998-05-02 20:49:49 -04:00
|
|
|
|
|
|
|
MAINTAINER= form@vs.itam.nsc.ru
|
|
|
|
|
|
|
|
MAKE_ENV= OSTYPE=`uname`
|
|
|
|
|
|
|
|
MAN5= dhcpdb.server.5 dhcpdb.pool.5 dhcpdb.relay.5
|
|
|
|
MAN8= dhcpc.8 dhcps.8 relay.8 dhcpm.8
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@if [ ! -d ${PREFIX}/share/doc/dhcp ]; then \
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/dhcp; \
|
|
|
|
fi
|
|
|
|
@if [ ! -d ${PREFIX}/share/examples/dhcp ]; then \
|
|
|
|
${MKDIR} ${PREFIX}/share/examples/dhcp; \
|
|
|
|
fi
|
|
|
|
@${CP} ${WRKSRC}/README ${PREFIX}/share/doc/dhcp/
|
|
|
|
@${CP} ${WRKSRC}/README.jis ${PREFIX}/share/doc/dhcp/
|
|
|
|
@${CP} ${WRKSRC}/db_sample/dhcpdb.pool ${PREFIX}/share/examples/dhcp/dhcpdb.pool.sample
|
|
|
|
@${CP} ${WRKSRC}/db_sample/dhcpdb.relay ${PREFIX}/share/examples/dhcp/dhcpdb.relay.sample
|
|
|
|
@${CP} ${WRKSRC}/db_sample/dhcpdb.server ${PREFIX}/share/examples/dhcp/dhcpdb.server.sample
|
|
|
|
@${CP} ${WRKSRC}/db_sample/intro.dhcp ${PREFIX}/share/doc/dhcp/
|
|
|
|
@${CP} ${WRKSRC}/db_sample/intro.dhcp.jis ${PREFIX}/share/doc/dhcp/
|
|
|
|
.endif
|
|
|
|
@echo "***"
|
|
|
|
@echo "*** Don't forget to enable kernel BPF support!"
|
|
|
|
@echo "***"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|