pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cbrowser Fix path to wish. Add DESTDIR support. ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fabf57c63a8
branches: trunk
changeset: 532777:2fabf57c63a8
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Aug 30 16:45:39 2007 +0000
description:
Fix path to wish. Add DESTDIR support. Bump revision.
diffstat:
devel/cbrowser/Makefile | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 056e3bdc3ffe -r 2fabf57c63a8 devel/cbrowser/Makefile
--- a/devel/cbrowser/Makefile Thu Aug 30 16:44:59 2007 +0000
+++ b/devel/cbrowser/Makefile Thu Aug 30 16:45:39 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2007/02/22 19:26:21 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2007/08/30 16:45:39 joerg Exp $
#
DISTNAME= cbrowser-0.8
+PKGREVISION= 1
CATEGORIES= devel tk
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cbrowser/}
@@ -9,18 +10,24 @@
HOMEPAGE= http://cbrowser.sourceforge.net/
COMMENT= Graphical C/C++ source code browsing tool, and call graph viewer
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= cscope-[0-9]*:../../devel/cscope
DEPENDS+= tk-[0-9]*:../../x11/tk
NO_BUILD= yes
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin share/cbrowser
+
+REPLACE_INTERPRETER+= wish
+REPLACE.wish.old= /usr/local/bin/wish
+REPLACE.wish.new= ${LOCALBASE}/bin/wish
+REPLACE_FILES.wish= ftcllib.tcl
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cbrowser ${PREFIX}/bin
- ${INSTALL_SCRIPT_DIR} ${PREFIX}/share/cbrowser
+ ${INSTALL_SCRIPT} ${WRKSRC}/cbrowser ${DESTDIR}${PREFIX}/bin
for f in *.tcl tclIndex; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/share/cbrowser; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/cbrowser; \
done
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index