pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/rox-wallpaper PKG_DESTDIR_SUPPORT & a tiny tweak o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f7f03016662
branches:  trunk
changeset: 568737:4f7f03016662
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 17 17:40:29 2009 +0000

description:
PKG_DESTDIR_SUPPORT & a tiny tweak of pkglint

diffstat:

 x11/rox-wallpaper/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 6be84f84101a -r 4f7f03016662 x11/rox-wallpaper/Makefile
--- a/x11/rox-wallpaper/Makefile        Thu Dec 17 17:39:55 2009 +0000
+++ b/x11/rox-wallpaper/Makefile        Thu Dec 17 17:40:29 2009 +0000
@@ -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 @@
 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 @@
 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"



Home | Main Index | Thread Index | Old Index