summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorrxg <rxg>2006-01-05 15:40:37 +0000
committerrxg <rxg>2006-01-05 15:40:37 +0000
commitbb1ab3dda5ab528cf6a5ca2842d399c76592fb38 (patch)
tree6130ca486154e3e3834511775eebe583da39efef /sysutils
parente2b6d114679148b9400ec34373bcf2e8d79a068c (diff)
downloadpkgsrc-bb1ab3dda5ab528cf6a5ca2842d399c76592fb38.tar.gz
Correct the hardcoded paths fixing, bump PKGREVISION.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rox-lib/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/rox-lib/Makefile b/sysutils/rox-lib/Makefile
index 9979922e584..a80935663c6 100644
--- a/sysutils/rox-lib/Makefile
+++ b/sysutils/rox-lib/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2006/01/03 15:50:07 rxg Exp $
+# $NetBSD: Makefile,v 1.18 2006/01/05 15:40:37 rxg Exp $
#
DISTNAME= rox-lib-2.0.2
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
EXTRACT_SUFX= .tgz
@@ -27,12 +28,17 @@ INSTALLATION_DIRS= share/rox/ROX-Lib2
SUBST_CLASSES+= path
SUBST_MESSAGE.path= "Fixing hardcoded paths."
SUBST_STAGE.path= post-patch
-SUBST_FILES.path= Help/findrox.py
-SUBST_FILES.path+= python/rox/basedir.py
+SUBST_FILES.path= python/rox/basedir.py
SUBST_FILES.path+= python/rox/choices.py
SUBST_FILES.path+= tests/python/testbasedir.py
SUBST_FILES.path+= tests/python/testchoices.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= Help/findrox.py
+SUBST_SED.lib= -e 's,/usr/local/lib,${PREFIX}/share/rox,g'
do-install:
cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/share/rox/ROX-Lib2