diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 18:25:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 18:25:46 +0000 |
commit | a9cbe06e6b938465f41fec14a028adfd3c3ee5a4 (patch) | |
tree | 573447bd0c6aec9980a97a9ff03955555d174e5c /sysutils/dmassage/Makefile | |
parent | 4e06aa332bcec4b6994782bd5fe1838522ef6e3d (diff) | |
download | pkgsrc-a9cbe06e6b938465f41fec14a028adfd3c3ee5a4.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/dmassage/Makefile')
-rw-r--r-- | sysutils/dmassage/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/dmassage/Makefile b/sysutils/dmassage/Makefile index d97a866c57b..c8abb29d625 100644 --- a/sysutils/dmassage/Makefile +++ b/sysutils/dmassage/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/03/04 21:30:40 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2010/01/27 18:26:51 joerg Exp $ # DISTNAME= dmassage-0.6 @@ -10,6 +10,7 @@ HOMEPAGE= http://www.sentia.org/projects/dmassage/ COMMENT= dmesg(8) parser PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir ONLY_FOR_PLATFORM= NetBSD-*-* OpenBSD-*-* @@ -20,7 +21,7 @@ REPLACE_PERL= dmassage INSTALLATION_DIRS= bin share/doc/${PKGBASE} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/dmassage ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_SCRIPT} ${WRKSRC}/dmassage ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} .include "../../mk/bsd.pkg.mk" |