summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorabs <abs>2009-12-17 17:40:29 +0000
committerabs <abs>2009-12-17 17:40:29 +0000
commit64922f2bd69baf6bbf43ced7f339e2a6cfbfe0c6 (patch)
tree5d9823f512e914b129ef6005ac6d0188912b25be /x11
parentfa06bd3bbc260d0866dc2aa6bd96ba64d3c323dc (diff)
downloadpkgsrc-64922f2bd69baf6bbf43ced7f339e2a6cfbfe0c6.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"