# $OpenBSD: Makefile,v 1.24 2012/01/14 12:43:25 sthen Exp $ COMMENT-main= ISC DHCP Server COMMENT-client= ISC DHCP Client COMMENT-omapi= ISC DHCP OMAPI VERSION= 4.2.3-P2 DISTNAME= isc-dhcp-${VERSION} PKGNAME= isc-dhcp-${VERSION:S/-P/./} PKGNAME-main= isc-dhcp-server-${VERSION:S/-P/./} PKGNAME-client= isc-dhcp-client-${VERSION:S/-P/./} PKGNAME-omapi= isc-dhcp-omapi-${VERSION:S/-P/./} CATEGORIES= net DISTFILES= dhcp-${VERSION}.tar.gz WRKDIST= ${WRKDIR}/dhcp-${VERSION} MASTER_SITES= ${MASTER_SITE_ISC:=dhcp/${VERSION}/} \ ${MASTER_SITE_ISC:=dhcp/} HOMEPAGE= http://www.isc.org/software/dhcp/ MAINTAINER= Jakob Schlyter # ISC PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c MULTI_PACKAGES= -main -omapi -client USE_GROFF= Yes CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --enable-early-chroot \ --enable-paranoia \ NO_REGRESS= Yes EXAMPLEDIR= share/examples/isc-dhcp post-install: ${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/server/dhcpd.conf ${PREFIX}/${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/client/dhclient.conf ${PREFIX}/${EXAMPLEDIR} .include