diff options
Diffstat (limited to 'net/pxe/Makefile')
-rw-r--r-- | net/pxe/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/net/pxe/Makefile b/net/pxe/Makefile index 6fdf5946aca..a11004a29e2 100644 --- a/net/pxe/Makefile +++ b/net/pxe/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2003/07/17 22:51:42 grant Exp $ +# $NetBSD: Makefile,v 1.5 2003/07/30 18:09:26 jmmv Exp $ # DISTNAME= pxe-1.2 +PKGREVISION= 1 CATEGORIES= net sysutils MASTER_SITES= http://www.kano.org.uk/projects/pxe/ @@ -10,16 +11,20 @@ HOMEPAGE= http://www.kano.org.uk/projects/pxe/ COMMENT= Preboot eXecution Environment (PXE) daemon GNU_CONFIGURE= YES +USE_BUILDLINK2= YES +USE_PKGINSTALL= YES + CONFIGURE_ARGS+=--with-log=/var/log/pxe.log +CONFIGURE_ARGS+=--with-config="${PKG_SYSCONFDIR}/pxe.conf" + +EGDIR= ${PREFIX}/share/examples/pxe +CONF_FILES= ${EGDIR}/pxe.conf ${PKG_SYSCONFDIR}/pxe.conf -post-configure: - ${SED} -e 's|@@PREFIX@@|${PREFIX}|g' < ${FILESDIR}/pxe > ${WRKDIR}/pxe +RCD_SCRIPTS= pxe do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pxe ${PREFIX}/sbin - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pxe - ${INSTALL_DATA} ${WRKSRC}/pxe.conf ${PREFIX}/share/examples/pxe - ${INSTALL_SCRIPT_DIR} ${PREFIX}/etc/rc.d - ${INSTALL_SCRIPT} ${WRKDIR}/pxe ${PREFIX}/etc/rc.d + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/pxe.conf ${EGDIR} .include "../../mk/bsd.pkg.mk" |