diff options
author | grant <grant@pkgsrc.org> | 2002-09-23 07:07:02 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-09-23 07:07:02 +0000 |
commit | 74c6e1f3e284bd31b0d3224adee09f5d6f87a5fd (patch) | |
tree | cee1be88b991dc292034133b562e901f8246dd70 /net/dhid/Makefile | |
parent | fb98d9c70de3941767b911b65f6cc58dc7a7bb17 (diff) | |
download | pkgsrc-74c6e1f3e284bd31b0d3224adee09f5d6f87a5fd.tar.gz |
* use bsd.pkg.install.mk and automatic rc.d script handling.
* convert to rc.subr-style script.
Diffstat (limited to 'net/dhid/Makefile')
-rw-r--r-- | net/dhid/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile index eb16642f252..c20112d8c55 100644 --- a/net/dhid/Makefile +++ b/net/dhid/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2001/02/17 18:18:46 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2002/09/23 07:07:02 grant Exp $ # DISTNAME= dhid-4.0.1 @@ -11,16 +11,11 @@ COMMENT= Dynamic Host Information System client daemon DEPENDS+= gmp-[0-9]*:../../devel/gmp -do-configure: - ${SED} \ - -e "s,@PREFIX@,${PREFIX},g" \ - -e "s,@ECHO@,${ECHO},g" \ - < ${FILESDIR}/dhid.sh > ${WRKDIR}/dhid.sh +RCD_SCRIPTS= dhid do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/genkeys ${PREFIX}/sbin/dhid-genkeys - ${INSTALL_SCRIPT} ${WRKDIR}/dhid.sh ${PREFIX}/etc/rc.d/dhid ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dhid ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/dhid ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/dhid @@ -28,4 +23,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${PREFIX}/share/doc/dhid ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dhid +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |