pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cbrowser Update cbrowser to 0.8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/272d93b23d52
branches:  trunk
changeset: 519549:272d93b23d52
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Oct 05 09:32:02 2006 +0000

description:
Update cbrowser to 0.8.
Patch provided by Lubomir Kundrak via PR 30972.

Version 0.8 is the first release of cbrowser since development began on
Sourceforge.net.  This release contains some minor bug fixes related to cscope,
and text changes to indicate the new home of cbrowser.

* Changed text headers to reflect new web site and email address.
* Added support for scroll mouses.
* Fixed bug in the command line of cscope (cannot combine flags).

diffstat:

 devel/cbrowser/Makefile         |  15 +++++----------
 devel/cbrowser/PLIST            |   3 ++-
 devel/cbrowser/distinfo         |  10 +++++-----
 devel/cbrowser/patches/patch-aa |  24 ++++++++++--------------
 4 files changed, 22 insertions(+), 30 deletions(-)

diffs (98 lines):

diff -r b86c14d487d1 -r 272d93b23d52 devel/cbrowser/Makefile
--- a/devel/cbrowser/Makefile   Thu Oct 05 09:30:27 2006 +0000
+++ b/devel/cbrowser/Makefile   Thu Oct 05 09:32:02 2006 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.13 2006/03/04 21:29:12 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2006/10/05 09:32:02 obache Exp $
 #
 
-DISTNAME=       cbrowser-0.6
-PKGREVISION=   2
+DISTNAME=       cbrowser-0.8
 CATEGORIES=     devel tk
-MASTER_SITES=   http://www.ziplink.net/~felaco/cbrowser/
+MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=cbrowser/}
 
 MAINTAINER=     pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=       http://www.ziplink.net/~felaco/cbrowser/
+HOMEPAGE=       http://cbrowser.sourceforge.net/
 COMMENT=        Graphical C/C++ source code browsing tool, and call graph viewer
 
 DEPENDS+=      cscope-[0-9]*:../../devel/cscope
@@ -17,14 +16,10 @@
 
 INSTALLATION_DIRS=     bin
 
-post-patch:
-       ${MV} ${WRKSRC}/cbrowser ${WRKSRC}/cbrowser.input && \
-               ${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/cbrowser.input > ${WRKSRC}/cbrowser
-
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/cbrowser ${PREFIX}/bin
        ${INSTALL_SCRIPT_DIR} ${PREFIX}/share/cbrowser
-       for f in builder.tcl calltree.tcl hierarchy.tcl widget.tcl tclIndex; do \
+       for f in *.tcl tclIndex; do \
                ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/share/cbrowser; \
        done
 
diff -r b86c14d487d1 -r 272d93b23d52 devel/cbrowser/PLIST
--- a/devel/cbrowser/PLIST      Thu Oct 05 09:30:27 2006 +0000
+++ b/devel/cbrowser/PLIST      Thu Oct 05 09:32:02 2006 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/14 11:27:03 agc Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/10/05 09:32:02 obache Exp $
 bin/cbrowser
 share/cbrowser/builder.tcl
 share/cbrowser/calltree.tcl
+share/cbrowser/ftcllib.tcl
 share/cbrowser/hierarchy.tcl
 share/cbrowser/tclIndex
 share/cbrowser/widget.tcl
diff -r b86c14d487d1 -r 272d93b23d52 devel/cbrowser/distinfo
--- a/devel/cbrowser/distinfo   Thu Oct 05 09:30:27 2006 +0000
+++ b/devel/cbrowser/distinfo   Thu Oct 05 09:32:02 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 22:24:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/10/05 09:32:02 obache Exp $
 
-SHA1 (cbrowser-0.6.tar.gz) = ca2470188345484aa1e07bf9fda49ef0c5770a3b
-RMD160 (cbrowser-0.6.tar.gz) = d573514b990de21f4801d27331c367957b3f412f
-Size (cbrowser-0.6.tar.gz) = 56053 bytes
-SHA1 (patch-aa) = ebd63eec2484b5e877bd09f02f861e180f233347
+SHA1 (cbrowser-0.8.tar.gz) = 611d92a6ce8c823cc810dcb03dacbaf09a7bffd0
+RMD160 (cbrowser-0.8.tar.gz) = 53dba884b455ca9f7ca5cfb9e80d492a5c554e6e
+Size (cbrowser-0.8.tar.gz) = 62895 bytes
+SHA1 (patch-aa) = 441cea8456419d5cbfa81a7a4845d2c16eaf1a1b
diff -r b86c14d487d1 -r 272d93b23d52 devel/cbrowser/patches/patch-aa
--- a/devel/cbrowser/patches/patch-aa   Thu Oct 05 09:30:27 2006 +0000
+++ b/devel/cbrowser/patches/patch-aa   Thu Oct 05 09:32:02 2006 +0000
@@ -1,19 +1,15 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/11/14 11:27:03 agc Exp $
+$NetBSD: patch-aa,v 1.2 2006/10/05 09:32:02 obache Exp $
 
 Set up cbrowser so that it can find its subsidiary tcl files
 
---- cbrowser   2001/11/14 11:06:30     1.1
-+++ cbrowser   2001/11/14 11:07:59
-@@ -3594,6 +3594,12 @@
+--- cbrowser.orig      2005-07-23 18:02:24.000000000 +0200
++++ cbrowser
+@@ -2989,7 +2989,7 @@
+ while {![catch {file readlink $link} result]} {
+   set link [file join [file dirname $link] $result]
  }
- set button_defaults [expr [info tclversion] >= 8.0]
+-set sourcedir [file dirname $link]
++set sourcedir [file dirname [file dirname $link]]/share/cbrowser;
+ # Set up the auto_path to find things in the directory where this lives.
+ lappend auto_path $sourcedir
  
-+set env(CBROWSER_LIB) "@PREFIX@/share/cbrowser"
-+
-+if {[info exists env(CBROWSER_LIB)]} {
-+    lappend auto_path $env(CBROWSER_LIB)
-+}
-+
- # Setup some aliases for those pesky string commands
- interp alias {} strcmp {} string compare
- interp alias {} strlen {} string length



Home | Main Index | Thread Index | Old Index