# -*- 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 119555 2014-04-30 10:12:07Z stromnov@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

github.setup        llvmpy llvmpy 0.12.5
revision            0
name                py-llvmpy
categories-append   devel
platforms           darwin
license             BSD

python.versions     26 27 32 33 34

maintainers         stromnov openmaintainer

description         Python bindings for LLVM

long_description    llvmpy is a Python wrapper around the llvm C++ library \
                    which allows simple access to compiler tools.

homepage            http://www.llvmpy.org/

checksums           rmd160  c8b4d50c09419a54fa0bf380d0e0c5aeb7915a3d \
                    sha256  bfd65606e163f80f6f16f82d0bec856e0e3bc90afd66dc5dd0a1cec5a3ecc620

if {${name} ne ${subport}} {
    depends_lib-append  port:llvm-3.2
    build.env-append    LLVM_CONFIG_PATH=${prefix}/bin/llvm-config-mp-3.2
    destroot.env-append LLVM_CONFIG_PATH=${prefix}/bin/llvm-config-mp-3.2

    livecheck.type      none
}
