diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 17:07:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 17:07:38 +0000 |
commit | 3b433154dcf87503b3188fd68daacdfdf66e2db0 (patch) | |
tree | e74e049bf53d7d1d008e3621856e7fc4321fb36f /x11/xpmicons | |
parent | c3648bdab5401036b976b2da7da160d524afda5b (diff) | |
download | pkgsrc-3b433154dcf87503b3188fd68daacdfdf66e2db0.tar.gz |
user-destdir support
Diffstat (limited to 'x11/xpmicons')
-rw-r--r-- | x11/xpmicons/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/xpmicons/Makefile b/x11/xpmicons/Makefile index 142749cfc5d..4e31def301f 100644 --- a/x11/xpmicons/Makefile +++ b/x11/xpmicons/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2008/01/19 09:16:26 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2009/07/07 17:16:35 joerg Exp $ DISTNAME= xpmicons-1.0 PKGREVISION= 5 @@ -14,6 +14,8 @@ DISTFILES= icons.tar.gz KDEicons.tgz \ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Huge collection of icons for any windowmanager +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} DIST_SUBDIR= icons USE_X11BASE= yes @@ -26,8 +28,8 @@ post-extract: do-install: set -e; cd ${WRKSRC}; find * -name \*.xpm -print | \ - while read f; do ${INSTALL_DATA} $$f ${PREFIX}/include/X11/pixmaps; done + while read f; do ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/include/X11/pixmaps; done set -e; cd ${WRKSRC}; find * -name \*.xbm -print | \ - while read f; do ${INSTALL_DATA} $$f ${PREFIX}/include/X11/bitmaps; done + while read f; do ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/include/X11/bitmaps; done .include "../../mk/bsd.pkg.mk" |