summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2008-08-17 04:11:47 +0000
committerdholland <dholland@pkgsrc.org>2008-08-17 04:11:47 +0000
commit896fd2313e8118f6ffa666ebc0122f35e008a7a3 (patch)
tree70902d9918abec4d9a9a1ae847f5ce57e7caec13 /wm
parent2dcbcbceb33c0d24e223d7ea5a8acd1b3ad60bb9 (diff)
downloadpkgsrc-896fd2313e8118f6ffa666ebc0122f35e008a7a3.tar.gz
Fix DESTDIR
Diffstat (limited to 'wm')
-rw-r--r--wm/oroborox/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/wm/oroborox/Makefile b/wm/oroborox/Makefile
index c2d1c68c373..8f69b2c04be 100644
--- a/wm/oroborox/Makefile
+++ b/wm/oroborox/Makefile
@@ -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 @@ post-build:
@${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"