# $Id: Portfile,v 1.1 2005/12/01 22:15:41 mww Exp $

PortSystem 1.0

name			cxref
version			1.6a
categories		devel
platforms		darwin
maintainers		mww@opendarwin.org
description		C program cross-referencing & documentation tool
long_description	\
A program that takes as input a series of C source files and produces a LaTeX \
or HTML document containing a cross reference of the files/functions/variables \
in the program, including documentation taken from suitably formatted source \
code comments. The documentation is stored in the C source file in specially \
formatted comments, making it simple to maintain. The cross referencing \
includes lists of functions called, callers of each function, usage of global \
variables, header file inclusion, macro definitions and type definitions. \
Works for ANSI C, including a few gcc extensions.

homepage		http://www.gedanken.demon.co.uk/cxref/
master_sites	http://www.gedanken.demon.co.uk/download-cxref/ \
				http://www.ibiblio.org/pub/Linux/devel/lang/c/ \
				ftp://ftp.cs.tu-berlin.de/pub/linux/Mirrors/sunsite.unc.edu/devel/lang/c/
extract.suffix	.tgz
checksums		md5 a384b72b280f47a60025f93dcdda4921

depends_build	bin:bison:bison

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

platform darwin 8 {
	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

