aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cbrowser/Makefile
blob: 4f847aeb7173db87ab19af9319a1e0521c6c0077 (plain) (blame)
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
34
35
36
37
# New ports collection makefile for: cbrowser
# Date created:     20 April 2000
# Whom:         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

USE_TK=     84+
USE_TK_RUN= yes
NO_BUILD=   yes

post-patch:
    ${REINPLACE_CMD} -i "" -e '3s|wish|${WISH}|' ${WRKSRC}/cbrowser

do-install:
    ${MKDIR} ${DATADIR}
    (cd ${WRKSRC} && ${COPYTREE_SHARE} \*.tcl ${DATADIR})
    ${INSTALL_DATA} ${WRKSRC}/tclIndex ${DATADIR}
    ${INSTALL_SCRIPT} ${WRKSRC}/cbrowser ${DATADIR}
    ${LN} -s ${DATADIR}/cbrowser ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>