1 | # $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python26 1.0 |
---|
5 | name py26-openbabel |
---|
6 | version 2.3.0 |
---|
7 | categories-append science devel |
---|
8 | license GPL-2 |
---|
9 | maintainers nomaintainer |
---|
10 | description Python 2.6 interface to OpenBabel |
---|
11 | long_description ${description} |
---|
12 | |
---|
13 | platforms darwin |
---|
14 | |
---|
15 | homepage http://openbabel.sourceforge.net/ |
---|
16 | master_sites sourceforge:openbabel |
---|
17 | distname openbabel-${version} |
---|
18 | dist_subdir openbabel |
---|
19 | |
---|
20 | checksums rmd160 96dafa3c2aca544f79e08b5617ab0da845c28a16 \ |
---|
21 | sha256 6dadcb256d83b1f2e616fa1853dd1afadb23550a20d1c118b406231a09f861fb |
---|
22 | |
---|
23 | depends_lib-append port:openbabel |
---|
24 | |
---|
25 | worksrcdir ${distname}/scripts/python |
---|
26 | |
---|
27 | build.env-append OPENBABEL_INSTALL=${prefix} |
---|
28 | build.target build_ext -I${prefix}/include/openbabel-2.0 |
---|
29 | |
---|
30 | post-destroot { |
---|
31 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
32 | xinstall -m 644 -W ${worksrcpath} README \ |
---|
33 | ${destroot}${prefix}/share/doc/${name} |
---|
34 | } |
---|
35 | |
---|
36 | livecheck.type regex |
---|
37 | livecheck.url http://sourceforge.net/projects/openbabel/files/openbabel/ |
---|
38 | livecheck.regex openbabel-\(\[\\d.\]+\)\.tar\.gz |
---|
39 | |
---|