diff options
author | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-12 02:14:13 +0000 |
commit | 168a3246f0e3c46b0ef3b5dcf5d18607cff1583f (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /security/prngd | |
parent | 63309a20a533bc79929c9bd5b3bf872561762300 (diff) | |
download | pkgsrc-168a3246f0e3c46b0ef3b5dcf5d18607cff1583f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'security/prngd')
-rw-r--r-- | security/prngd/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/security/prngd/Makefile b/security/prngd/Makefile index 4b7d0ac23a6..eaee575cf70 100644 --- a/security/prngd/Makefile +++ b/security/prngd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/12/02 12:28:09 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:45 joerg Exp $ DISTNAME= prngd-0.9.29 CATEGORIES= security @@ -9,12 +9,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html COMMENT= Pseudo Random Number Generator Daemon +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_ENV+= DEFS='-DRANDSAVENAME="\"${VARBASE}/db/prngd-seed\"" -DCONFIGFILE="\"${PKG_SYSCONFDIR}/prngd.conf\""' EGDIR= ${PREFIX}/share/examples/prngd CONF_FILES= ${EGDIR}/prngd.conf.netbsd ${PKG_SYSCONFDIR}/prngd.conf -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/prngd share/examples/prngd SUBST_CLASSES+= path SUBST_STAGE.path= pre-install @@ -27,13 +29,11 @@ do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/prngd ${PREFIX}/bin/prngd - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prngd - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/prngd - ${INSTALL_DATA} ${WRKSRC}/00README ${PREFIX}/share/doc/prngd - ${INSTALL_DATA} ${WRKSRC}/00README.gatherers ${PREFIX}/share/doc/prngd - ${INSTALL_DATA} ${WRKSRC}/00DESIGN ${PREFIX}/share/doc/prngd - ${INSTALL_DATA} ${WRKSRC}/contrib/NetBSD1/prngd.conf.netbsd ${PREFIX}/share/examples/prngd - ${INSTALL_MAN} ${WRKSRC}/prngd.man ${PREFIX}/${PKGMANDIR}/man1/prngd.1 + ${INSTALL_PROGRAM} ${WRKSRC}/prngd ${DESTDIR}${PREFIX}/bin/prngd + ${INSTALL_DATA} ${WRKSRC}/00README ${DESTDIR}${PREFIX}/share/doc/prngd + ${INSTALL_DATA} ${WRKSRC}/00README.gatherers ${DESTDIR}${PREFIX}/share/doc/prngd + ${INSTALL_DATA} ${WRKSRC}/00DESIGN ${DESTDIR}${PREFIX}/share/doc/prngd + ${INSTALL_DATA} ${WRKSRC}/contrib/NetBSD1/prngd.conf.netbsd ${DESTDIR}${PREFIX}/share/examples/prngd + ${INSTALL_MAN} ${WRKSRC}/prngd.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/prngd.1 .include "../../mk/bsd.pkg.mk" |