Modified: trunk/dports/editors/tea/Portfile (69228 => 69229)
--- trunk/dports/editors/tea/Portfile 2010-06-29 05:31:26 UTC (rev 69228)
+++ trunk/dports/editors/tea/Portfile 2010-06-29 05:52:46 UTC (rev 69229)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -4,6 +5,7 @@
name tea
version 25.1.0
+revision 1
description TEA is the powerful text editor for GNU/Linux and *BSD.
long_description ${description}
maintainers nomaintainer
@@ -16,7 +18,8 @@
sha1 49d3c2d5058652f527ea82f6fe1e0c69f6d8433f \
rmd160 1c2dc1173038a5a0334dff3c6fd56501bb28dd20
-depends_lib path:bin/qmake-mac:qt4-mac
+depends_lib port:qt4-mac \
+ port:aspell
use_bzip2 yes
@@ -26,6 +29,11 @@
build.args CC=${configure.cc}
+post-patch {
+ reinplace "s|/usr|${prefix}|" ${worksrcpath}/src.pro
+ reinplace "s|-laspell|-laspell -lz|" ${worksrcpath}/src.pro
+}
+
destroot {
copy ${worksrcpath}/bin/tea.app ${destroot}${applications_dir}
}