summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-17 17:40:29 +0000
committerabs <abs@pkgsrc.org>2009-12-17 17:40:29 +0000
commit175ad4c2252f8b25d4142eae3a2c0dcd3cb7b2e8 (patch)
tree5d9823f512e914b129ef6005ac6d0188912b25be /x11
parent9db28408623c7f91edbdc8e5ae328559f9a016f2 (diff)
downloadpkgsrc-175ad4c2252f8b25d4142eae3a2c0dcd3cb7b2e8.tar.gz
PKG_DESTDIR_SUPPORT & a tiny tweak of pkglint
Diffstat (limited to 'x11')
-rw-r--r--x11/rox-wallpaper/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/rox-wallpaper/Makefile b/x11/rox-wallpaper/Makefile
index 59b6885131d..2a9d576af26 100644
--- a/x11/rox-wallpaper/Makefile
+++ b/x11/rox-wallpaper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/02/09 22:56:28 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2009/12/17 17:40:29 abs Exp $
#
DISTNAME= wallpaper-2.0
@@ -22,6 +22,7 @@ NO_BUILD= yes
PYTHON_PATCH_SCRIPTS= AppRun
INSTALLATION_DIRS= share/rox/Wallpaper
+PKG_DESTDIR_SUPPORT= user-destdir
SUBST_CLASSES+= lib
SUBST_MESSAGE.lib= Fixing hardcoded paths for ROX-Lib.
@@ -32,10 +33,10 @@ SUBST_SED.lib= -e 's,/usr/local/lib,${PREFIX}/share/rox,g'
USE_TOOLS+= pax
post-patch:
- @${FIND} ${WRKSRC} -name 'CVS' -print | ${XARGS} ${RM} -rf
+ ${FIND} ${WRKSRC} -name 'CVS' -print | ${XARGS} ${RM} -rf
do-install:
- cd ${WRKSRC} && pax -rw . ${PREFIX}/share/rox/Wallpaper
+ cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/share/rox/Wallpaper
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"