2000-06-18 19:26:34 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2000/06/18 23:26:34 turan Exp $
|
|
|
|
|
|
|
|
BROKEN= Never update anything in /etc without asking the user first.
|
1998-05-02 20:49:49 -04:00
|
|
|
|
1998-09-14 22:50:58 -04:00
|
|
|
DISTNAME= dhcp-1.4.0p3
|
|
|
|
PKGNAME= wide-dhcp-1.4.0.3
|
1998-05-02 20:49:49 -04:00
|
|
|
CATEGORIES= net
|
2000-04-09 13:35:57 -04:00
|
|
|
FAKE=No
|
1998-05-02 20:49:49 -04:00
|
|
|
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
|
|
|
|
1999-04-09 00:11:45 -04:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1998-05-02 20:49:49 -04:00
|
|
|
|
2000-02-12 01:29:49 -05:00
|
|
|
LICENSE_TYPE= BSD
|
2000-02-15 00:03:51 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= YES
|
|
|
|
PERMIT_PACKAGE_FTP= YES
|
|
|
|
PERMIT_DISTFILES_CDROM= YES
|
|
|
|
PERMIT_DISTFILES_FTP= YES
|
2000-02-12 01:29:49 -05:00
|
|
|
|
1998-05-02 20:49:49 -04:00
|
|
|
MAKE_ENV= OSTYPE=`uname`
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@if [ ! -d ${PREFIX}/share/doc/dhcp ]; then \
|
2000-02-10 20:09:59 -05:00
|
|
|
mkdir -p ${PREFIX}/share/doc/dhcp; \
|
1998-05-02 20:49:49 -04:00
|
|
|
fi
|
|
|
|
@if [ ! -d ${PREFIX}/share/examples/dhcp ]; then \
|
2000-02-10 20:09:59 -05:00
|
|
|
mkdir -p ${PREFIX}/share/examples/dhcp; \
|
1998-05-02 20:49:49 -04:00
|
|
|
fi
|
2000-02-10 20:09:59 -05:00
|
|
|
@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/
|
1998-05-02 20:49:49 -04:00
|
|
|
.endif
|
|
|
|
@echo "***"
|
|
|
|
@echo "*** Don't forget to enable kernel BPF support!"
|
|
|
|
@echo "***"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|