2008-01-04 12:48:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2008/01/04 17:48:37 espie Exp $
|
2001-05-06 00:59:54 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= client and servers for the WIDE DHCP protocol
|
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
|
|
|
|
MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/dhcp/
|
|
|
|
|
2001-01-09 15:49:33 -05:00
|
|
|
HOMEPAGE= http://www.sfc.wide.ad.jp/~tomy/dhcp/index-e.html
|
2002-10-27 20:38:44 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c kvm
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2001-01-09 15:49:33 -05:00
|
|
|
MAKE_FLAGS= OSTYPE=OpenBSD CC=${CC} CFLAGS="${CFLAGS} -g -Wall -I. -I${WRKBUILD}/server"
|
2008-01-04 12:48:33 -05:00
|
|
|
FAKE_FLAGS= SBIN=${WRKINST}${PREFIX}/sbin MAN=${WRKINST}${PREFIX}/man LIBEXEC=${WRKINST}${PREFIX}/libexec
|
2001-01-09 15:49:33 -05:00
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-01-09 15:49:33 -05:00
|
|
|
DOCS= README README.jis db_sample/intro.dhcp db_sample/intro.dhcp.jis
|
|
|
|
EXAMPLES= dhcpdb.pool dhcpdb.relay dhcpdb.server
|
1998-05-02 20:49:49 -04:00
|
|
|
|
|
|
|
post-install:
|
2001-01-09 15:49:33 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/wide-dhcp
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/wide-dhcp
|
|
|
|
|
|
|
|
.for a in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$a ${PREFIX}/share/doc/wide-dhcp
|
|
|
|
.endfor
|
|
|
|
.for i in ${EXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/db_sample/$i ${PREFIX}/share/examples/wide-dhcp
|
|
|
|
.endfor
|
1998-05-02 20:49:49 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|