summaryrefslogtreecommitdiff
path: root/sysutils/acpidump
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commita459d6adc77b22d7efa499cea1bcfbae7c929a42 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /sysutils/acpidump
parent7854cf84ecbcc45c6b18092fadae7896937e468a (diff)
downloadpkgsrc-a459d6adc77b22d7efa499cea1bcfbae7c929a42.tar.gz
Add DESTDIR support.
Diffstat (limited to 'sysutils/acpidump')
-rw-r--r--sysutils/acpidump/Makefile8
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"