# $Id: Portfile,v 1.10 2006/06/21 18:35:02 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-biopython
version			1.41
categories		python science
maintainers		mww@opendarwin.org
platforms		darwin
description		python tools for computational molecular biology
long_description	python tools for computational molecular biology: \
				parsers for various file formats, interfaces for programs, \
				tools for performing common operations on sequences, etc.

homepage		http://www.biopython.org/
master_sites	${homepage}/DIST
distname		biopython-${version}
checksums		md5 03f8efc258fb49b07d1a2b642fa8362e

depends_lib-append	port:py-numeric \
				port:py-mx \
				port:py-reportlab

test.run		no
test.cmd		${build.cmd}
test.target		test

post-destroot	{
	file delete -force ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} CONTRIB LICENSE NEWS README \
		${destroot}${prefix}/share/doc/${name}
}
