openbsd-ports/net/isc-dhcp/Makefile
2004-06-23 14:51:32 +00:00

39 lines
926 B
Makefile

# $OpenBSD: Makefile,v 1.5 2004/06/23 14:51:32 jakob Exp $
COMMENT= "Dynamic Host Control Protocol Server"
VERSION= 3.0.1rc14
DISTNAME= isc-dhcp-${VERSION}
CATEGORIES= net
DISTFILES= dhcp-${VERSION}.tar.gz
WRKDIST= ${WRKDIR}/dhcp-${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= Wesley Griffin <wgriffin@jtan.com>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= simple
EXAMPLEDIR= share/examples/isc-dhcp
post-extract:
@sed s,y0y0y0,${PREFIX}, < ${FILESDIR}/site.conf > ${WRKSRC}/site.conf
NO_REGRESS= Yes
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>