# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem 1.0
PortGroup python26 1.0

name			py26-biopython
version			1.58
#revision		1
categories		python science
maintainers		mmoll 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       md5     5c48a52a7bbdda032f1e71b91650e4ca \
                sha1    3db0819d0046cfcd1c9aaf39aa7db40b9aa2645e \
                rmd160  3e05426017e98cdc45cacfb08b1b5d7c3d4b10ff
patchfiles		patch-setup.diff
depends_lib-append	port:py26-numpy \
				port:py26-reportlab \
				port:flex

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