diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /sysutils/acpidump | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'sysutils/acpidump')
-rw-r--r-- | sysutils/acpidump/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/acpidump/Makefile b/sysutils/acpidump/Makefile index 7fa432dee30..0bdb73bd23d 100644 --- a/sysutils/acpidump/Makefile +++ b/sysutils/acpidump/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/01/07 09:14:11 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:45 joerg Exp $ # DISTNAME= pacpidump @@ -11,13 +11,15 @@ MAINTAINER= uebayasi@NetBSD.org HOMEPAGE= ${MASTER_SITES} # Just a directory list. :-) COMMENT= Portable ACPI table dumper +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake BUILD_TARGET= # null INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/acpidump ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/acpidump.8 ${PREFIX}/${PKGMANDIR}/man8 + @${INSTALL_PROGRAM} ${WRKSRC}/acpidump ${DESTDIR}${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/acpidump.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../mk/bsd.pkg.mk" |