source: trunk/dports/python/py-openbabel/Portfile

Last change on this file was 150724, checked in by petr@…, 14 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7# Keep relevant lines in sync between openbabel and py-openbabel.
8
9name                py-openbabel
10version             2.3.2
11categories-append   science chemistry devel
12platforms           darwin freebsd
13license             GPL-2
14maintainers         nomaintainer
15
16description         Python bindings for the Open Babel library
17
18long_description    Open Babel is a free, open-source version \
19                    of the Babel chemistry file translation program. \
20                    OpenBabel is a project designed to pick up where \
21                    Babel left off, as a cross-platform program and \
22                    library designed to interconvert between many \
23                    file formats used in molecular modeling and \
24                    computational chemistry. This port provides \
25                    Python bindings.
26
27homepage            http://openbabel.sourceforge.net/
28master_sites        sourceforge:project/openbabel/openbabel/${version}
29distname            openbabel-${version}
30dist_subdir         openbabel
31
32checksums           rmd160  dc9aa026a81b987b08c60709a624a192418ee7fb \
33                    sha256  4eaca26679aa6cc85ebf96af19191472ac63ca442c36b0427b369c3a25705188
34
35python.versions     27
36
37worksrcdir          ${distname}/scripts/python
38patch.dir           ${workpath}/${distname}
39
40patchfiles          patch-shared_ptr.diff
41
42if {${name} ne ${subport}} {
43    depends_build       port:eigen
44   
45    depends_lib-append  port:openbabel
46   
47    build.env-append    OPENBABEL_INSTALL=${prefix} 
48    build.target        build_ext
49    build.args-append   -I${prefix}/include/openbabel-2.0:${prefix}/include/eigen2
50   
51    post-destroot {
52        set docdir ${prefix}/share/doc/${subport}
53        xinstall -m 755 -d ${destroot}${docdir}
54        xinstall -m 644 -W ${worksrcpath} README ${destroot}${docdir}
55    }
56   
57    livecheck.type      none
58}
Note: See TracBrowser for help on using the repository browser.