aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sourcenav/Makefile
blob: 0c9c56b44b3a37db8c8ceda8a8dc2564ce2e4603 (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
38
39
40
41
42
43
44
45
# New ports collection makefile for:    sourcenav
# Date created:         23 July 2000
# Whom:             Donald Burr <dburr@FreeBSD.ORG>
#
# $FreeBSD$
#

PORTNAME=   sourcenav
PORTVERSION=    5.1.4
PORTREVISION=   6
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Source code analysis tool

LIB_DEPENDS=    tcl83.1:${PORTSDIR}/lang/tcl83 \
        tk83.1:${PORTSDIR}/x11-toolkits/tk83

.if defined(PREFIX)
PREFIX:=    ${PREFIX}/${PORTNAME}
.else
PREFIX?=    ${LOCALBASE}/${PORTNAME}
.endif
USE_BISON=  yes
USE_GMAKE=  yes
USE_XLIB=   yes
GNU_CONFIGURE=  yes
NO_MTREE=   yes

SUB_FILES=  pkg-message

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 600000
EXTRA_PATCHES+= ${FILESDIR}/FreeBSD6-cdefs.h
.endif

post-install:
    @${LN} -s ${PREFIX}/bin/snavigator ${PREFIX}/../bin
    @${ECHO_CMD}
    @${CAT} ${PKGMESSAGE}
    @${ECHO_CMD}

.include <bsd.port.post.mk>