# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 67938 2010-05-22 13:15:22Z adfernandes@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name			py25-biopython
version			1.54
categories		python science
maintainers		mww openmaintainer
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       sha1    db23fd12efec2931fdbfac4b85854212f897ab53

depends_lib-append	port:py25-numpy \
				port:py25-reportlab

build.env	CFLAGS=-I${python.include}

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 DEPRECATED LICENSE NEWS README \
		${destroot}${prefix}/share/doc/${name}
}

livecheck.type	regex
livecheck.url	http://biopython.org/wiki/Download
livecheck.regex	biopython-(\[0-9\.\]+).tar.gz
