# $Id: Portfile 50572 2009-05-04 19:19:09Z jeremyhu@macports.org $

PortSystem          1.0

name                luit
version             1.0.3
revision            1
categories          x11
platforms           darwin
maintainers         jeremyhu
description         X.org luit
long_description    Convert terminal i/o from legacy encodings to UTF-8

homepage            http://www.x.org
master_sites        ${homepage}/pub/individual/app/

checksums           md5     b01e4f71c20fc1c79ed727759c1df40c \
                    sha1    8b32bcc2f72af7c8c1cdaede3d4ff5b251ecbf31 \
                    rmd160  f03a3ff729284f78c1c1ec90fc3efd1fdee8a43b

use_bzip2	    yes
use_parallel_build  yes

patchfiles secure_tty.patch

depends_build \
	port:pkgconfig

depends_lib \
	port:xorg-libX11 \
	port:xorg-libfontenc

livecheck.check regex
livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
