pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/acpi-iasl Add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/811f2766d9df
branches:  trunk
changeset: 532381:811f2766d9df
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 17 20:14:55 2007 +0000

description:
Add DESTDIR support.

diffstat:

 sysutils/acpi-iasl/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r caa383aa23cd -r 811f2766d9df sysutils/acpi-iasl/Makefile
--- a/sysutils/acpi-iasl/Makefile       Fri Aug 17 17:30:17 2007 +0000
+++ b/sysutils/acpi-iasl/Makefile       Fri Aug 17 20:14:55 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/06/26 16:24:53 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2007/08/17 20:14:55 joerg Exp $
 #
 
 DISTNAME=      acpica-unix-${ACPI_IASL_VERSION}
@@ -13,6 +13,7 @@
 ACPI_IASL_VERSION=     20060217
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 INSTALLATION_DIRS=     bin share/doc/acpi-iasl
 
@@ -23,9 +24,9 @@
        @cd ${WRKSRC}/tools/acpisrc && ${MAKE_PROGRAM}
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/compiler/iasl ${PREFIX}/bin/acpi-iasl
-       ${INSTALL_PROGRAM} ${WRKSRC}/tools/acpisrc/acpisrc ${PREFIX}/bin/acpisrc
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/acpi-iasl
-       ${INSTALL_DATA} ${FILESDIR}/LICENSE ${PREFIX}/share/doc/acpi-iasl
+       ${INSTALL_PROGRAM} ${WRKSRC}/compiler/iasl ${DESTDIR}${PREFIX}/bin/acpi-iasl
+       ${INSTALL_PROGRAM} ${WRKSRC}/tools/acpisrc/acpisrc ${DESTDIR}${PREFIX}/bin/acpisrc
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/acpi-iasl
+       ${INSTALL_DATA} ${FILESDIR}/LICENSE ${DESTDIR}${PREFIX}/share/doc/acpi-iasl
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index