pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/ethemes user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/920e65fd8521
branches:  trunk
changeset: 561126:920e65fd8521
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 19:46:03 2009 +0000

description:
user-destdir support

diffstat:

 wm/ethemes/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 6b48d4ac5411 -r 920e65fd8521 wm/ethemes/Makefile
--- a/wm/ethemes/Makefile       Tue Jul 07 19:45:49 2009 +0000
+++ b/wm/ethemes/Makefile       Tue Jul 07 19:46:03 2009 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index