summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2006-10-05 09:32:02 +0000
committerobache <obache@pkgsrc.org>2006-10-05 09:32:02 +0000
commitb312d90725852181be460e8973e5c10100a13cbb (patch)
tree04c3b9eecefc816f0a42e7931e17885221017060 /devel
parent8473f0a4f81b4902b1a7305031df525b2cdcdaf5 (diff)
downloadpkgsrc-b312d90725852181be460e8973e5c10100a13cbb.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/cbrowser/Makefile15
-rw-r--r--devel/cbrowser/PLIST3
-rw-r--r--devel/cbrowser/distinfo10
-rw-r--r--devel/cbrowser/patches/patch-aa24
4 files changed, 22 insertions, 30 deletions
diff --git a/devel/cbrowser/Makefile b/devel/cbrowser/Makefile
index 095da4a51d3..2f972d217ce 100644
--- a/devel/cbrowser/Makefile
+++ b/devel/cbrowser/Makefile
@@ -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
-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 @@ NO_BUILD= yes
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 --git a/devel/cbrowser/PLIST b/devel/cbrowser/PLIST
index 9c2df06ddae..dac7c882342 100644
--- a/devel/cbrowser/PLIST
+++ b/devel/cbrowser/PLIST
@@ -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 --git a/devel/cbrowser/distinfo b/devel/cbrowser/distinfo
index 281ee69e0ca..a9b018b39bd 100644
--- a/devel/cbrowser/distinfo
+++ b/devel/cbrowser/distinfo
@@ -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 --git a/devel/cbrowser/patches/patch-aa b/devel/cbrowser/patches/patch-aa
index 86eff865ab2..e5f5648e49f 100644
--- a/devel/cbrowser/patches/patch-aa
+++ b/devel/cbrowser/patches/patch-aa
@@ -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