[69229] trunk/dports/editors/tea/Portfile

michaelld at macports.org michaelld at macports.org
Mon Jun 28 22:52:47 PDT 2010


Revision: 69229
          http://trac.macports.org/changeset/69229
Author:   michaelld at macports.org
Date:     2010-06-28 22:52:46 -0700 (Mon, 28 Jun 2010)
Log Message:
-----------
Correct use of qt4-mac; added aspell use; correct location of aspell
and use of -lz.

Modified Paths:
--------------
    trunk/dports/editors/tea/Portfile

Modified: trunk/dports/editors/tea/Portfile
===================================================================
--- 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}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100628/f5532c35/attachment.html>


More information about the macports-changes mailing list