diff options
author | heinz <heinz> | 2007-08-23 20:40:56 +0000 |
---|---|---|
committer | heinz <heinz> | 2007-08-23 20:40:56 +0000 |
commit | 605ba7b433580f1b713d65dbd1d035880f8ea214 (patch) | |
tree | 86aa3fa55c72642f8c6c050ee4481859727698b4 /pkgtools/x11-links | |
parent | 2a33b4ff00c12891ab869ed661d0c7df104dbcc9 (diff) | |
download | pkgsrc-605ba7b433580f1b713d65dbd1d035880f8ea214.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'pkgtools/x11-links')
-rw-r--r-- | pkgtools/x11-links/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgtools/x11-links/Makefile b/pkgtools/x11-links/Makefile index 5143b1d07a5..3908f968f73 100644 --- a/pkgtools/x11-links/Makefile +++ b/pkgtools/x11-links/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.83 2007/06/09 23:05:42 reed Exp $ +# $NetBSD: Makefile,v 1.84 2007/08/23 20:40:56 heinz Exp $ # # NOTE: If you update this package, then you'll likely need to also update # the x11-links dependency in buildlink3.mk to the correct version, @@ -13,6 +13,7 @@ MAINTAINER= jlam@pkgsrc.org HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html COMMENT= Shadow tree of links to native X11 headers and libraries +PKG_DESTDIR_SUPPORT= user-destdir PKG_INSTALLATION_TYPES= overwrite pkgviews WRKSRC= ${WRKDIR} @@ -82,7 +83,8 @@ do-build: } > ${PLIST_SRC.dirs} do-install: - ${INSTALL_DATA_DIR} ${X11_LINKS_DIR} - cd ${X11_LINKS_BUILD_DIR} && ${PAX} -rw . ${X11_LINKS_DIR} + ${INSTALL_DATA_DIR} ${DESTDIR:Q}${X11_LINKS_DIR:Q} + cd ${X11_LINKS_BUILD_DIR} && \ + ${PAX} -rw . ${DESTDIR:Q}${X11_LINKS_DIR:Q} .include "../../mk/bsd.pkg.mk" |