Ticket #27919: Portfile

File Portfile, 1.6 KB (added by michelle.lynn.gill@…, 14 years ago)
Line 
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
4PortSystem 1.0
5PortGroup python26 1.0
6
7name                    py26-biopython
8version                 1.56
9categories              python science
10maintainers             mmoll openmaintainer
11platforms               darwin
12description             python tools for computational molecular biology
13long_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
17homepage                http://www.biopython.org/
18master_sites    ${homepage}/DIST
19distname                biopython-${version}
20checksums       md5     19e6481e7724b7dadb1c9d0b956c9b77 \
21                sha1    d33dda23adb148cf4ae0fa5eb37f7396b26c856f \
22                rmd160  a1c2b0daa4a881052b5e300c59293b8896240f2c
23
24depends_lib-append      port:py26-numpy \
25                                port:py26-reportlab
26
27build.env       CFLAGS=-I${python.include}
28
29test.run                no
30test.cmd                ${build.cmd}
31test.target             test
32
33post-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
40variant flex description {Specify this to install the flex-based mmCIF parser libraries.} {
41        patchfiles              patch-setup
42        depends_lib-append      port:flex
43}
44
45livecheck.type  regex
46livecheck.url   http://biopython.org/wiki/Download
47livecheck.regex biopython-(\[0-9\.\]+).tar.gz