summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 19:46:03 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 19:46:03 +0000
commit8b07cd43798b6c2142cca6d846522f0c9344593e (patch)
tree90772ae635925a16e3517fcc8e7616a6a685a01f /wm
parentc5abc0a2f1093fe1a670657c588b85a752aaf9ee (diff)
downloadpkgsrc-8b07cd43798b6c2142cca6d846522f0c9344593e.tar.gz
user-destdir support
Diffstat (limited to 'wm')
-rw-r--r--wm/ethemes/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/wm/ethemes/Makefile b/wm/ethemes/Makefile
index 0caaad33cee..7f6d229c417 100644
--- a/wm/ethemes/Makefile
+++ b/wm/ethemes/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2007/02/01 23:12:22 joerg Exp $
+# $NetBSD: Makefile,v 1.18 2009/07/07 19:46:03 joerg Exp $
DISTNAME= ethemes-0.1
PKGREVISION= 3
@@ -40,12 +40,12 @@ E_THEMES?= Absolute_E-DR16-199911060830.etheme \
do-install:
.for FILE in ${E_THEMES}
NAME=`echo ${FILE} | ${SED} -e s/-DR16.*//` ; \
- ${INSTALL_DATA_DIR} ${PREFIX}/${E_DATADIR}/$$NAME ; \
- ${GTAR} -C ${PREFIX}/${E_DATADIR}/$$NAME \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${E_DATADIR}/$$NAME ; \
+ ${GTAR} -C ${DESTDIR}${PREFIX}/${E_DATADIR}/$$NAME \
-xzf ${DISTDIR}/${DIST_SUBDIR}/${FILE}
.endfor
.for DIR in Absolute_E ApplePlatinum FinalE
- cd ${PREFIX}/${E_DATADIR}/${DIR} \
+ cd ${DESTDIR}${PREFIX}/${E_DATADIR}/${DIR} \
&& ${CHMOD} go+rx `${FIND} . -type d -print` \
&& ${CHMOD} go+r `${FIND} . -type f -print`
.endfor