From 862290f69697af03ae834ff6366922686c8aebbc Mon Sep 17 00:00:00 2001 From: rxg Date: Thu, 5 Jan 2006 16:02:39 +0000 Subject: Correct the hardcoded paths fixing, DEPENDS rox-lib>=2.0.2nb1 and change script installation from ${PREFIX}/bin to ${PREFIX}/sbin. Bump PKGREVISION. --- wm/oroborox/Makefile | 22 ++++++++++++++-------- wm/oroborox/PLIST | 4 ++-- 2 files changed, 16 insertions(+), 10 deletions(-) (limited to 'wm/oroborox') diff --git a/wm/oroborox/Makefile b/wm/oroborox/Makefile index 40c6fcd25d5..347eb904726 100644 --- a/wm/oroborox/Makefile +++ b/wm/oroborox/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/01/03 16:03:19 rxg Exp $ +# $NetBSD: Makefile,v 1.2 2006/01/05 16:02:39 rxg Exp $ # DISTNAME= OroboROX-0.9.7.9 PKGNAME= oroborox-0.9.7.9 +PKGREVISION= 1 CATEGORIES= wm MASTER_SITES= http://roxos.sunsite.dk/dev-contrib/guido/ EXTRACT_SUFX= .tar.bz2 @@ -11,7 +12,7 @@ MAINTAINER= rxg@NetBSD.org HOMEPAGE= http://roxos.sunsite.dk/dev-contrib/guido/ COMMENT= The lightweight Window Manager for the ROX Desktop -DEPENDS+= rox-lib>=2.0.2:../../sysutils/rox-lib +DEPENDS+= rox-lib>=2.0.2nb1:../../sysutils/rox-lib WRKSRC= ${WRKDIR}/OroboROX DIST_SUBDIR= rox @@ -41,11 +42,16 @@ SUBST_CLASSES+= path SUBST_MESSAGE.path= "Fixing hardcoded paths." SUBST_STAGE.path= post-patch SUBST_FILES.path= AppRun -SUBST_FILES.path+= Configure/Keybindings/findrox.py -SUBST_FILES.path+= Configure/Windows/findrox.py -SUBST_FILES.path+= Configure/Workspaces/findrox.py -SUBST_FILES.path+= Configure/OroboScheme/findrox.py -SUBST_SED.path= -e 's,/usr/local/lib,${PREFIX}/share/rox,g' +SUBST_SED.path= -e 's,/usr/local,${PREFIX},g' + +SUBST_CLASSES+= lib +SUBST_MESSAGE.lib= "Fixing hardcoded paths for ROX-Lib." +SUBST_STAGE.lib= post-patch +SUBST_FILES.lib= Configure/Keybindings/findrox.py +SUBST_FILES.lib+= Configure/Windows/findrox.py +SUBST_FILES.lib+= Configure/Workspaces/findrox.py +SUBST_FILES.lib+= Configure/OroboScheme/findrox.py +SUBST_SED.lib= -e 's,/usr/local/lib,${PREFIX}/share/rox,g' SUBST_CLASSES+= py SUBST_MESSAGE.py= "Replace shell magic by python version." @@ -72,7 +78,7 @@ do-install: -s ',^\./${PLATFORM}$$,,' -s ',^\./${PLATFORM}/.*,,' \ -s ',^\./src$$,,' -s ',^\./src/.*,,' \ . ${PREFIX}/share/rox/OroboROX - ${INSTALL_SCRIPT} ${WRKDIR}/oroborox ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/oroborox ${PREFIX}/sbin .include "../../devel/libgetopt/buildlink3.mk" .include "../../fonts/Xft2/buildlink3.mk" diff --git a/wm/oroborox/PLIST b/wm/oroborox/PLIST index e993a1234b6..8dbddb745e9 100644 --- a/wm/oroborox/PLIST +++ b/wm/oroborox/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/03 16:03:26 rxg Exp $ -bin/oroborox +@comment $NetBSD: PLIST,v 1.2 2006/01/05 16:02:39 rxg Exp $ libexec/rox/OroboROX +sbin/oroborox share/rox/OroboROX/.DirIcon share/rox/OroboROX/AppInfo.xml share/rox/OroboROX/AppRun -- cgit v1.2.3