aboutsummaryrefslogtreecommitdiff
path: root/devel/freescope/Makefile
blob: c707793631e2ae5dd2fa77a1eb7d743992360e93 (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
# 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

MAN1=		freescope.1
PLIST_FILES=	bin/freescope

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not compile (bad C++ code)"
.endif

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.post.mk>