# $Id: Portfile 62211 2009-12-31 21:36:31Z ryandesign@macports.org $

PortSystem              1.0

name                    tea
version                 25.1.0
description             TEA is the powerful text editor for GNU/Linux and *BSD.
long_description        ${description}
maintainers             nomaintainer
categories              editors
platforms               darwin
homepage                http://tea.linux.kiev.ua/
master_sites            sourceforge:tea-editor

checksums               md5     072f7d60db0b5ffb6f0b3411af22620e \
                        sha1    49d3c2d5058652f527ea82f6fe1e0c69f6d8433f \
                        rmd160  1c2dc1173038a5a0334dff3c6fd56501bb28dd20

depends_lib             path:bin/qmake-mac:qt4-mac

use_bzip2               yes

configure.cmd           ${prefix}/libexec/qt4-mac/bin/qmake
configure.pre_args
configure.universal_args

build.args              CC=${configure.cc}

destroot {
    copy ${worksrcpath}/bin/tea.app ${destroot}${applications_dir}
}
