# $Id: Portfile 85609 2011-10-15 07:59:13Z jmr@macports.org $

PortSystem          1.0

name                c3270
version             3.3.11ga6
set branch          [join [lrange [split ${version} .] 0 1] .]
categories          comms
maintainers         deadpixi.com:jking
platforms           darwin

description         A console-based IBM3270 terminal emulator.
long_description    A console-based emulator for the IBM3270 terminal. \
                    It is capable of emulating both the IBM3279 (color) \
                    and IBM3278 (monochrome) terminals. \
                    \
                    This port is a good alternative to the x3270 port \
                    for those users who do not with to install the X11 \
                    dependencies of that package.

homepage            http://x3270.bgp.nu/index.html
master_sites        sourceforge:x3270

depends_lib         port:openssl  \
                    port:readline \
                    port:libiconv

distfiles           suite3270-${version}-src.tgz
dist_subdir         x3270
checksums           md5 01d6d3809a457e6f6bd3731642e0c02d \
                    sha1 c72c4f72313659863e8718ffdcd43b03aa77b8e5 \
                    rmd160 1f5214a2e18f2cbea7aa7a1d81f943f07e8f0dce

worksrcdir          ${name}-${branch}
configure.args      --disable-apl \
                    --disable-dbcs \
                    --disable-script \
                    --enable-history \
                    --bindir=${prefix}/bin \
                    --mandir=${prefix}/share/man

universal_variant   no
