blob: fd3db53bbdf90cb9c67e6b97796483c6ae576e5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $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/}
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 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 ${DESTDIR}${PREFIX}/bin
for f in *.tcl tclIndex; do \
${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/cbrowser; \
done
.include "../../mk/bsd.pkg.mk"
|