diff options
Diffstat (limited to 'devel/cbrowser/Makefile')
-rw-r--r-- | devel/cbrowser/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/cbrowser/Makefile b/devel/cbrowser/Makefile new file mode 100644 index 00000000000..5d4b07eb653 --- /dev/null +++ b/devel/cbrowser/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/11/14 11:27:03 agc Exp $ +# + +DISTNAME= cbrowser-0.6 +CATEGORIES= devel tk80 +MASTER_SITES= http://www.ziplink.net/~felaco/cbrowser/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.ziplink.net/~felaco/cbrowser/ +COMMENT= graphical C/C++ source code browsing tool, and call graph viewer + +DEPENDS+= cscope-[0-9]*:../../devel/cscope + +NO_BUILD= # defined + +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 \ + ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/share/cbrowser; \ + done + +.include "../../x11/tk/buildlink.mk" +.include "../../mk/bsd.pkg.mk" |