openbsd-ports/net/isc-dhcp/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

2008-09-03 16:44:13 -04:00
# $OpenBSD: Makefile,v 1.17 2008/09/03 20:44:13 jakob Exp $
COMMENT-main= ISC DHCP Server
COMMENT-client= ISC DHCP Client
COMMENT-omapi= ISC DHCP OMAPI
2008-09-03 16:44:13 -04:00
VERSION= 3.1.1
DISTNAME= isc-dhcp-${VERSION}
2006-10-12 04:00:19 -04:00
PKGNAME= isc-dhcp-${VERSION}
CATEGORIES= net
DISTFILES= dhcp-${VERSION}.tar.gz
WRKDIST= ${WRKDIR}/dhcp-${VERSION}
2007-09-24 02:17:19 -04:00
PKGNAME-main= isc-dhcp-server-${VERSION}
PKGNAME-client= isc-dhcp-client-${VERSION}
PKGNAME-omapi= isc-dhcp-omapi-${VERSION}
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/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
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
NO_REGRESS= Yes
2006-11-25 19:22:16 -05:00
MULTI_PACKAGES= -main -omapi -client
CONFIGURE_STYLE= simple
EXAMPLEDIR= share/examples/isc-dhcp
2006-10-12 04:00:19 -04:00
do-configure:
cd ${WRKSRC} && ./configure \
--copts "${CONFIGURE_ARGS} -DPARANOIA -DEARLY_CHROOT ${CFLAGS}"
post-extract:
@sed s,y0y0y0,${PREFIX}, < ${FILESDIR}/site.conf > ${WRKSRC}/site.conf
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>