# $Id: Portfile 96800 2012-08-19 15:49:29Z blair@macports.org $

PortSystem 1.0
PortGroup       python 1.0

name            py-zeroc-ice
version         3.4.2
revision        2
categories-append   devel
maintainers     blair
license         GPL-2
description     Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP

long_description \
    The Internet Communications Engine (Ice) is a modern alternative to \
    object middleware such as CORBA or COM/DCOM/COM+, with support for \
    C++, C#, Java, PHP, Python, Ruby and Visual Basic. \
    Ice consists of the following packages. \
    Slice: The Specification Language for Ice.  Slice establishes a \
    contract between clients and servers, and is also used to describe \
    persistent data. \
    Slice Compilers: Slice specifications are compiled into various \
    programming languages. Ice supports C++, Java, C#, Visual Basic, PHP, \
    Python and Ruby.  Ice clients and servers work together, regardless \
    of the programming language. \
    Ice: The Ice core library manages all the communication tasks using a \
    highly efficient protocol (including protocol compression and support \
    for both TCP and UDP), provides a flexible thread pool for \
    multi-threaded servers. \
    This Port provides the Python bindings that sit on top of the C++ \
    Ice C++ runtime libraries.

homepage        http://www.zeroc.com/
platforms       darwin
distfiles

python.versions 25 26 27

if {$subport != $name} {
    replaced_by py${python.version}-zeroc-ice34
    pre-configure {
        ui_error "Please install py${python.version}-zeroc-ice34 instead."
        return -code error "obsolete port"
    }
}
