diff options
Diffstat (limited to 'devel/cbrowser')
-rw-r--r-- | devel/cbrowser/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/devel/cbrowser/Makefile b/devel/cbrowser/Makefile index f08b9c9e9a2..fd3db53bbdf 100644 --- a/devel/cbrowser/Makefile +++ b/devel/cbrowser/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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" |