# $Id: Portfile,v 1.2 2005/07/11 21:33:20 mww Exp $

PortSystem 1.0
name		netcdf
version		3.6.0-p1
maintainers	fulton@cmu.edu
platforms	darwin
categories	science

description	NetCDF - Network Common Data Form
long_description	NetCDF is an interface \
			for array-oriented data access and a library that \
			provides an implementation of the interface. The \
			netCDF library also defines a machine-independent \
			format for representing scientific data. Together, \
			the interface, library, and format support the \
			creation, access, and sharing of scientific data. \
			The netCDF software was developed at the Unidata \
			Program Center in Boulder, Colorado.

homepage	http://unidata.ucar.edu/packages/netcdf/

master_sites	ftp://ftp.unidata.ucar.edu/pub/netcdf/ \
		ftp://www.gfd-dennou.org/arch/netcdf/unidata-mirror/
extract.suffix	.tar.Z
checksums	md5 5272a1c6e736a6c00361e7b7542e522e

worksrcdir	${distname}/src

destroot.destdir	prefix=${destroot}${prefix} \
			MANDIR=\\\${prefix}/share/man

post-destroot {
	file delete -force ${destroot}${prefix}/share/man/whatis.db
}
