# ex:ts=8
# New ports collection makefile for:	freescope
# Date created:			Mar 18, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD: ports/devel/freescope/Makefile,v 1.8 2003/02/20 17:06:44 knu Exp $
#

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

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>
