diff options
Diffstat (limited to 'devel/mph')
-rw-r--r-- | devel/mph/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/mph/Makefile b/devel/mph/Makefile index 823bba6f48a..c12ec65eafa 100644 --- a/devel/mph/Makefile +++ b/devel/mph/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/03/04 21:29:18 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2008/03/03 17:45:36 jlam Exp $ # DISTNAME= mph-1.2 @@ -9,13 +9,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org #HOMEPAGE= none COMMENT= Minimal perfect hashing functionality +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin share/doc do-install: - for i in emitc mph mphm; do \ - ${INSTALL_PROGRAM} ${WRKSRC}/$$i ${PREFIX}/bin; \ + for i in emitc mph mphm; do \ + ${INSTALL_PROGRAM} ${WRKSRC}/$$i ${DESTDIR]${PREFIX}/bin; \ done - ${INSTALL_SCRIPT} ${WRKSRC}/mphminm ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/mph.doc ${PREFIX}/share/doc + ${INSTALL_SCRIPT} ${WRKSRC}/mphminm ${DESTDIR]${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/mph.doc ${DESTDIR]${PREFIX}/share/doc .include "../../mk/bsd.pkg.mk" |