# New ports collection makefile for: cbrowser
# Date created:		20 April 2000
# Whom:			jkoshy
#
# $FreeBSD: ports/devel/cbrowser/Makefile,v 1.8 2007/05/19 20:02:12 flz Exp $
#

PORTNAME=	cbrowser
PORTVERSION=	0.8
PORTREVISION=	2
CATEGORIES=	devel tk84
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	jkoshy@freebsd.org
COMMENT=	Graphical front end for cscope and cscope clones

USE_TK_RUN=	yes
NO_BUILD=	yes

# Private variables
CBDEST=		${PREFIX}/share/cbrowser/
CBFILES=	README builder.tcl calltree.tcl cbrowser ftcllib.tcl \
		hierarchy.tcl tclIndex widget.tcl

do-install:
	${MKDIR} ${PREFIX}/share/cbrowser/
.for file in ${CBFILES}
	${CP} ${WRKSRC}/${file} ${CBDEST}
.endfor
	${LN} -s ${CBDEST}/cbrowser ${PREFIX}/bin/cbrowser

.include <bsd.port.mk>
