# $Id: Portfile,v 1.8 2005/11/26 13:14:01 gwright Exp $

PortSystem 1.0
name		nestedsums
version		1.4.8
categories	math
platforms	darwin
maintainers	gwright@opendarwin.org
description	nestedsums library
long_description	\
		A Library for the Symbolic Expansion of a Class of	\
		Transcendental Functions

homepage	http://www.fis.unipr.it/~stefanw/
master_sites	http://wwwthep.physik.uni-mainz.de/~stefanw/download/

checksums	md5 337195355ff52a251df8bebd988a94ad

depends_lib	lib:ginac:GiNaC

#user_notes	On Tiger (10.4.x), Xcode 2.1 is required to avoid a bug
#		in gcc which causes one of the tests to fail.

platform darwin 7 {
		depends_build	port:gcc40
		configure.env	CXX=g++-dp-4.0
}

default_variants	+test
variant	test	{ test.run	yes
		  test.cmd	make
		  test.target	check
		}

