aboutsummaryrefslogtreecommitdiffstats
path: root/devel/freescope/Makefile
blob: 6620be7fc94f1613711eba31fda2339d9b1dd601 (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
# ex:ts=8
# New ports collection makefile for:    freescope
# Date created:         Mar 18, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   freescope
PORTVERSION=    0.3.0.1
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E}.src

MAINTAINER= ports@FreeBSD.org
COMMENT=    Source code browsing on UNIX-like operating systems

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}

USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
USE_GCC=    2.95

MAN1=       freescope.1
PLIST_FILES=    bin/freescope

pre-patch:
    @${REINPLACE_CMD} -e 's|CFLAGS=.*$$|CFLAGS="\$$CFLAGS"|g ; \
         s|CXXFLAGS=.*$$|CXXFLAGS="\$$CXXFLAGS"|g ; \
         s|bindir="/usr/local/bin"||g' ${WRKSRC}/configure

.include <bsd.port.mk>