# -*- 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
# $Id: Portfile 93012 2012-05-14 03:12:41Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           cmake 1.0

# Keep relevant lines in sync between openbabel and py-openbabel.

name                openbabel
version             2.3.1
categories          science devel
license             GPL-2
platforms           darwin 
maintainers         mac.com:mlund openmaintainer

description         A chemistry file translation program.
long_description    Open Babel is a free, open-source version \
                    of the Babel chemistry file translation program. \
                    OpenBabel is a project designed to pick up where \
                    Babel left off, as a cross-platform program and \
                    library designed to interconvert between many \
                    file formats used in molecular modeling and \
                    computational chemistry.

homepage            http://openbabel.sourceforge.net/
master_sites        sourceforge:project/openbabel/openbabel/${version}

checksums           rmd160 da4d240a92942dbf9dcf999187336d69d7ef8f5c \
                    sha256 9e2e8bc9af585ee7e4a03720e3d7b82ef567aa17fdeeea48cc213a3035ced7a3

depends_build-append    port:eigen

depends_lib         path:lib/pkgconfig/cairo.pc:cairo port:libiconv port:libxml2 port:zlib

configure.args-append -DBUILD_GUI=OFF \
                      -DBUILD_TESTING=OFF \
                      -DPYTHON_BINDINGS=OFF
