pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/rox-lib Correct the hardcoded paths fixing, b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/611357879fe4
branches:  trunk
changeset: 505607:611357879fe4
user:      rxg <rxg%pkgsrc.org@localhost>
date:      Thu Jan 05 15:40:37 2006 +0000

description:
Correct the hardcoded paths fixing, bump PKGREVISION.

diffstat:

 sysutils/rox-lib/Makefile |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 4a52b7031349 -r 611357879fe4 sysutils/rox-lib/Makefile
--- a/sysutils/rox-lib/Makefile Thu Jan 05 15:35:44 2006 +0000
+++ b/sysutils/rox-lib/Makefile Thu Jan 05 15:40:37 2006 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index