Ticket #33849: Portfile

File Portfile, 1.2 KB (added by atenderholt@…, 13 years ago)

Portfile for py26-openbabel

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