# $Id: Portfile 85198 2011-10-10 23:57:04Z jmr@macports.org $

PortSystem 1.0

name			mtl
version			2.1.2-22
revision		1
categories		math devel
license			Restrictive/Distributable
platforms		darwin
maintainers		nomaintainer
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

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}
}
