pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/oroborox Fix DESTDIR



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ffc02b7dca0
branches:  trunk
changeset: 545892:1ffc02b7dca0
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Aug 17 04:11:47 2008 +0000

description:
Fix DESTDIR

diffstat:

 wm/oroborox/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 85d7623ed430 -r 1ffc02b7dca0 wm/oroborox/Makefile
--- a/wm/oroborox/Makefile      Sun Aug 17 04:01:37 2008 +0000
+++ b/wm/oroborox/Makefile      Sun Aug 17 04:11:47 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/06/20 01:09:40 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2008/08/17 04:11:47 dholland Exp $
 #
 
 DISTNAME=      OroboROX-0.9.8
@@ -73,13 +73,15 @@
        @${ECHO} "#!/bin/sh" >> ${WRKDIR:Q}/oroborox
        @${ECHO} ${PREFIX:Q}"/share/rox/OroboROX/AppRun \"\$$@\"" >> ${WRKDIR:Q}/oroborox
 
+INSTALLATION_DIRS=     bin libexec/rox share/rox/OroboROX
+
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC:Q}/${PLATFORM:Q}/OroboROX ${PREFIX:Q}/libexec/rox
+       ${INSTALL_PROGRAM} ${WRKSRC:Q}/${PLATFORM:Q}/OroboROX ${DESTDIR:Q}${PREFIX:Q}/libexec/rox
        cd ${WRKSRC:Q} && pax -rw       \
                -s ',^\./${PLATFORM}$$,,' -s ',^\./${PLATFORM}/.*,,'    \
                -s ',^\./src$$,,' -s ',^\./src/.*,,'    \
-               . ${PREFIX:Q}/share/rox/OroboROX
-       ${INSTALL_SCRIPT} ${WRKDIR:Q}/oroborox ${PREFIX:Q}/bin
+               . ${DESTDIR:Q}${PREFIX:Q}/share/rox/OroboROX
+       ${INSTALL_SCRIPT} ${WRKDIR:Q}/oroborox ${DESTDIR:Q}${PREFIX:Q}/bin
 
 .include "../../devel/libgetopt/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index