# -*- 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 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-jcc
version             2.13

categories-append   devel
platforms           darwin
maintainers         gmail.com:petrus.hyvonen openmaintainer
license             Apache-2
homepage            http://lucene.apache.org/pylucene/jcc/index.html
description         JCC is a C++ code generator for calling Java from C++/Python
long_description    JCC is a C++ code generator for producing the code \
                    necessary to call into Java classes from CPython via \
                    Java's Native Invocation Interface (JNI).\
                    JCC generates C++ wrapper classes that hide all \
                    the gory details of JNI access as well Java memory \
                    and object reference management.\
                    JCC generates CPython types that make these C++ classes\
                    accessible from a Python interpreter. JCC attempts to make\
                    these Python types pythonic by detecting iterators and\
                    property accessors. Iterators and mappings may also be\
                    declared to JCC.

master_sites        http://pypi.python.org/packages/source/J/JCC/

distname            JCC-${version}

checksums           md5 5761aaaae3b9082dbc6769014b97dac3 \
                    sha256 4851d8707b72c3d7c75bcba1040c16d2ec17dbacf1d6e722f5c2b0dfdd48b758

python.versions     26 27

if {$subport != $name} {
    depends_build   port:py${python.version}-setuptools
}
