# $Id: Portfile,v 1.3 2005/04/14 23:07:09 toby Exp $

PortSystem 1.0

name		cscope
version		15.5
categories	devel
platforms	darwin freebsd
maintainers	mww@opendarwin.org
description	development tool for browsing source code
long_description	Cscope is a developer's tool for browsing source code. \
			It has an impeccable Unix pedigree, having been \
			originally developed at Bell Labs back in the days of \
			the PDP-11. Cscope was part of the official AT&T Unix \
			distribution for many years, and has been used to \
			manage projects involving 20 million lines of code.

homepage	http://cscope.sourceforge.net/
master_sites	sourceforge
checksums	md5 beb6032a301bb11524aec74bfb5e4840

patchfiles	patch-src__egrep.y

configure.args	--mandir=${prefix}/share/man

variant darwin {
	patchfiles-append	patch-constants.h.diff
	configure.args-append	--with-flex
}

post-destroot	{
	system "strip ${destroot}${prefix}/bin/cscope"
}
