2005-03-10 11:24:21 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2005/03/10 16:24:21 jakob Exp $
|
2002-06-24 16:50:03 -04:00
|
|
|
|
2005-03-10 11:24:21 -05:00
|
|
|
COMMENT= "ISC DHCP Server"
|
|
|
|
COMMENT-client= "ISC DHCP Client"
|
|
|
|
COMMENT-omapi= "ISC DHCP OMAPI"
|
2002-06-24 16:50:03 -04:00
|
|
|
|
2005-03-10 08:11:50 -05:00
|
|
|
VERSION= 3.0.2
|
2002-06-24 16:50:03 -04:00
|
|
|
DISTNAME= isc-dhcp-${VERSION}
|
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
DISTFILES= dhcp-${VERSION}.tar.gz
|
|
|
|
WRKDIST= ${WRKDIR}/dhcp-${VERSION}
|
|
|
|
|
2005-03-10 11:24:21 -05:00
|
|
|
PKGNAME= isc-dhcp-server-${VERSION}
|
|
|
|
PKGNAME-client= isc-dhcp-client-${VERSION}
|
|
|
|
PKGNAME-omapi= isc-dhcp-omapi-${VERSION}
|
|
|
|
|
2002-06-24 16:50:03 -04:00
|
|
|
MASTER_SITES= ftp://ftp.isc.org/isc/dhcp/ \
|
|
|
|
ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.isc.org/products/DHCP/
|
|
|
|
|
2004-07-26 17:16:21 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
2002-06-24 16:50:03 -04:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-03-10 11:24:21 -05:00
|
|
|
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c
|
2005-03-10 11:24:21 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
MULTI_PACKAGES= -omapi -client
|
|
|
|
SUBPACKAGE?=
|
2002-06-24 16:50:03 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
|
|
|
|
EXAMPLEDIR= share/examples/isc-dhcp
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@sed s,y0y0y0,${PREFIX}, < ${FILESDIR}/site.conf > ${WRKSRC}/site.conf
|
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2002-06-24 16:50:03 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLEDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/server/dhcpd.conf ${PREFIX}/${EXAMPLEDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/client/dhclient.conf ${PREFIX}/${EXAMPLEDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|