diff options
author | rxg <rxg@pkgsrc.org> | 2006-01-05 15:40:37 +0000 |
---|---|---|
committer | rxg <rxg@pkgsrc.org> | 2006-01-05 15:40:37 +0000 |
commit | 519bce5bbec8450e9e16522280fffade6a34dd0a (patch) | |
tree | 6130ca486154e3e3834511775eebe583da39efef /sysutils | |
parent | 73a56802a8f6af357968e0c3ab33f105643d98df (diff) | |
download | pkgsrc-519bce5bbec8450e9e16522280fffade6a34dd0a.tar.gz |
Correct the hardcoded paths fixing, bump PKGREVISION.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/rox-lib/Makefile | 14 |
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 |