summaryrefslogtreecommitdiff
path: root/wm/oroborox
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
commit18efaab3ec6b1347e50dbba08f092861a02eb054 (patch)
tree70902d9918abec4d9a9a1ae847f5ce57e7caec13 /wm/oroborox
parentcee007a2f728e66533dcf2dea21ce9dccb1b087f (diff)
downloadpkgsrc-18efaab3ec6b1347e50dbba08f092861a02eb054.tar.gz
Fix DESTDIR
Diffstat (limited to 'wm/oroborox')
-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"