1 | # -*- 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 |
---|
2 | # $Id: Portfile 73902 2010-11-28 19:56:26Z adfernandes@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name py26-biopython |
---|
8 | version 1.56 |
---|
9 | categories python science |
---|
10 | maintainers mmoll openmaintainer |
---|
11 | platforms darwin |
---|
12 | description python tools for computational molecular biology |
---|
13 | long_description python tools for computational molecular biology: \ |
---|
14 | parsers for various file formats, interfaces for programs, \ |
---|
15 | tools for performing common operations on sequences, etc. |
---|
16 | |
---|
17 | homepage http://www.biopython.org/ |
---|
18 | master_sites ${homepage}/DIST |
---|
19 | distname biopython-${version} |
---|
20 | checksums md5 19e6481e7724b7dadb1c9d0b956c9b77 \ |
---|
21 | sha1 d33dda23adb148cf4ae0fa5eb37f7396b26c856f \ |
---|
22 | rmd160 a1c2b0daa4a881052b5e300c59293b8896240f2c |
---|
23 | |
---|
24 | depends_lib-append port:py26-numpy \ |
---|
25 | port:py26-reportlab |
---|
26 | |
---|
27 | build.env CFLAGS=-I${python.include} |
---|
28 | |
---|
29 | test.run no |
---|
30 | test.cmd ${build.cmd} |
---|
31 | test.target test |
---|
32 | |
---|
33 | post-destroot { |
---|
34 | file delete -force ${destroot}${prefix}/share/doc/${name} |
---|
35 | file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name} |
---|
36 | xinstall -m 644 -W ${worksrcpath} CONTRIB DEPRECATED LICENSE NEWS README \ |
---|
37 | ${destroot}${prefix}/share/doc/${name} |
---|
38 | } |
---|
39 | |
---|
40 | variant flex description {Specify this to install the flex-based mmCIF parser libraries.} { |
---|
41 | patchfiles patch-setup |
---|
42 | depends_lib-append port:flex |
---|
43 | } |
---|
44 | |
---|
45 | livecheck.type regex |
---|
46 | livecheck.url http://biopython.org/wiki/Download |
---|
47 | livecheck.regex biopython-(\[0-9\.\]+).tar.gz |
---|