# $Id: Portfile,v 1.1 2005/11/30 22:19:21 mww Exp $

PortSystem 1.0

name			algae
version			4.3.6
categories		math
platforms		darwin
maintainers		mww@opendarwin.org
description		A programming language for numerical analysis
long_description	Algae is a programming language for numerical analysis.

homepage		http://algae.sourceforge.net/
master_sites	sourceforge
checksums		md5 80937b31d98882b4bae8ffbe74ab5fd4
patchfiles		patch-config.h.in patch-src-DEPENDS

depends_lib		port:gcc34

configure.args	--mandir=\\\${prefix}/share/man
configure.env	CPP=${prefix}/bin/cpp-dp-3.4 CC=${prefix}/bin/gcc-dp-3.4 \
				F77=${prefix}/bin/g77-dp-3.4

destroot.destdir	prefix=${destroot}${prefix}
post-destroot {
	system "cd ${destroot}${prefix}/bin && ln -sf algae-${version} algae"
}

