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 /sysutils/acpidump/Makefile | |
parent | 63309a20a533bc79929c9bd5b3bf872561762300 (diff) | |
download | pkgsrc-168a3246f0e3c46b0ef3b5dcf5d18607cff1583f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'sysutils/acpidump/Makefile')
-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" |