summaryrefslogtreecommitdiff
path: root/sysutils/acpidump/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/acpidump/Makefile')
-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"