mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
4528494e5c
Approved by: gahr (maintainer)
35 lines
890 B
Makefile
35 lines
890 B
Makefile
# Created by: jkoshy
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cbrowser
|
|
PORTVERSION= 0.8
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel tk
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Graphical front end for cscope and cscope clones
|
|
|
|
RUN_DEPENDS= cscope:${PORTSDIR}/devel/cscope
|
|
|
|
USES+= tk:run
|
|
NO_BUILD= yes
|
|
LIBDIR= ${PREFIX}/lib/${PORTNAME}
|
|
PLIST_FILES= bin/cbrowser \
|
|
lib/cbrowser/cbrowser lib/cbrowser/tclIndex \
|
|
lib/cbrowser/builder.tcl lib/cbrowser/calltree.tcl \
|
|
lib/cbrowser/ftcllib.tcl lib/cbrowser/hierarchy.tcl \
|
|
lib/cbrowser/widget.tcl
|
|
PLIST_DIRS= lib/cbrowser
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -i "" -e '3s|wish|${WISH}|' ${WRKSRC}/cbrowser
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${LIBDIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${LIBDIR} "-a ! -name README"
|
|
${CHMOD} ${BINMODE} ${STAGEDIR}${LIBDIR}/cbrowser
|
|
${LN} -s ${LIBDIR}/cbrowser ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|