# $Id: Portfile,v 1.1 2005/11/05 12:48:43 mww Exp $

PortSystem 1.0

name			mtl
version			2.1.2-22
categories		math devel
platforms		darwin
maintainers		mww@opendarwin.org
description		The Matrix Template Library
long_description	The Matrix Template Library (MTL) is a high-performance \
			generic component library that provides comprehensive linear \
			algebra functionality for a wide variety of matrix formats. \
			The patch for gcc 4.02 from Markus Grabner is already included.

homepage		http://www.osl.iu.edu/research/mtl/
master_sites	http://www.osl.iu.edu/download/research/mtl/ freebsd
checksums		md5 db4aa87d9b6ca9b83bead3ac73652cbc
patchfiles		patch

use_configure	no

build			{}

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/include/${name} \
		${destroot}${prefix}/share/doc/${name}
	eval xinstall -m 644 -W ${worksrcpath}/mtl [glob ${worksrcpath}/mtl/*.h] \
		${destroot}${prefix}/include/${name}
	xinstall -m 644 -W ${worksrcpath} README INSTALL license.mtl.txt \
		${destroot}${prefix}/share/doc/${name}
}

