1 | # $Id: Portfile 89153 2012-01-19 22:58:38Z eborisch@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python 1.0 |
---|
5 | |
---|
6 | name py-openbabel |
---|
7 | version 2.3.1 |
---|
8 | license GPL-2 |
---|
9 | maintainers openmaintainer |
---|
10 | description Python bindings for the Open Babel library |
---|
11 | long_description Open Babel is a free, open-source version \ |
---|
12 | of the Babel chemistry file translation program. \ |
---|
13 | OpenBabel is a project designed to pick up where \ |
---|
14 | Babel left off, as a cross-platform program and \ |
---|
15 | library designed to interconvert between many \ |
---|
16 | file formats used in molecular modeling and \ |
---|
17 | computational chemistry. This port provides \ |
---|
18 | Python bindings. |
---|
19 | platforms darwin freebsd |
---|
20 | homepage http://openbabel.sourceforge.net/ |
---|
21 | master_sites sourceforge |
---|
22 | distname openbabel-${version} |
---|
23 | dist_subdir openbabel |
---|
24 | checksums rmd160 da4d240a92942dbf9dcf999187336d69d7ef8f5c \ |
---|
25 | sha256 9e2e8bc9af585ee7e4a03720e3d7b82ef567aa17fdeeea48cc213a3035ced7a3 |
---|
26 | |
---|
27 | python.versions 24 25 26 27 |
---|
28 | |
---|
29 | depends_lib-append port:openbabel |
---|
30 | |
---|
31 | worksrcdir ${distname}/scripts/python |
---|
32 | |
---|
33 | build.env-append OPENBABEL_INSTALL=${prefix} |
---|
34 | build.target build_ext |
---|
35 | build.args-append -I${prefix}/include/openbabel-2.0:${prefix}/include/eigen2 |
---|
36 | |
---|
37 | post-destroot { |
---|
38 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
39 | xinstall -m 644 -W ${worksrcpath} README \ |
---|
40 | ${destroot}${prefix}/share/doc/${name} |
---|
41 | } |
---|
42 | |
---|
43 | livecheck.type regex |
---|
44 | livecheck.url http://sourceforge.net/projects/openbabel/files/openbabel/ |
---|
45 | livecheck.regex openbabel-\(\[\\d.\]+\)\.tar\.gz |
---|
46 | |
---|