[125944] trunk/dports/editors/tea

ryandesign at macports.org ryandesign at macports.org
Mon Sep 29 20:36:40 PDT 2014


Revision: 125944
          https://trac.macports.org/changeset/125944
Author:   ryandesign at macports.org
Date:     2014-09-29 20:36:40 -0700 (Mon, 29 Sep 2014)
Log Message:
-----------
tea: update to 37.2.1; take over as maintainer

Modified Paths:
--------------
    trunk/dports/editors/tea/Portfile
    trunk/dports/editors/tea/files/patch-src.pro.diff

Modified: trunk/dports/editors/tea/Portfile
===================================================================
--- trunk/dports/editors/tea/Portfile	2014-09-30 03:21:05 UTC (rev 125943)
+++ trunk/dports/editors/tea/Portfile	2014-09-30 03:36:40 UTC (rev 125944)
@@ -5,31 +5,31 @@
 PortGroup               qmake 1.0
 
 name                    tea
-version                 25.1.0
-revision                2
+version                 37.2.1
 description             TEA is the powerful text editor for GNU/Linux and *BSD.
 long_description        ${description}
-maintainers             nomaintainer
+maintainers             ryandesign openmaintainer
 categories              editors
 license                 GPL-3
 platforms               darwin
-homepage                http://tea.linux.kiev.ua/
-master_sites            sourceforge:project/tea-editor/tea-editor/${version}
 
-checksums               md5     072f7d60db0b5ffb6f0b3411af22620e \
-                        sha1    49d3c2d5058652f527ea82f6fe1e0c69f6d8433f \
-                        rmd160  1c2dc1173038a5a0334dff3c6fd56501bb28dd20
+homepage                http://semiletov.org/tea
+master_sites            ${homepage}/dloads/
+use_bzip2               yes
 
-depends_lib-append      port:aspell
+checksums               rmd160  7148d915f688c53aaf22ae23c960eb58ed985ef3 \
+                        sha256  5f58f740d8bab94cbdda7df920560a9499a09ad7080e365ef2d4a15e583e5f69
 
-use_bzip2               yes
+depends_lib-append      port:aspell \
+                        port:hunspell \
+                        port:zlib
 
 patchfiles-append       patch-src.pro.diff
 
-post-patch {
-    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/src.pro
-}
-
 destroot {
     copy ${worksrcpath}/bin/tea.app ${destroot}${applications_dir}
 }
+
+livecheck.type          regex
+livecheck.url           [lindex ${master_sites} 0]
+livecheck.regex         ${name}-(\[0-9.\]+)${extract.suffix}

Modified: trunk/dports/editors/tea/files/patch-src.pro.diff
===================================================================
--- trunk/dports/editors/tea/files/patch-src.pro.diff	2014-09-30 03:21:05 UTC (rev 125943)
+++ trunk/dports/editors/tea/files/patch-src.pro.diff	2014-09-30 03:36:40 UTC (rev 125944)
@@ -1,23 +1,20 @@
---- src.pro.orig	2009-08-09 09:13:01.000000000 -0500
-+++ src.pro	2014-09-29 22:18:34.000000000 -0500
-@@ -48,7 +48,7 @@
-     script \
-     svg
- TARGET = bin/tea
--target.path = /usr/local/bin
-+target.path = @PREFIX@/local/bin
- INSTALLS += target
- RESOURCES += rlvn.qrc
- TRANSLATIONS = translations/tea_ru.ts
-@@ -68,9 +68,9 @@
-     manuals/ru.html \
-     text-data/* \
-     translations/*
--exists("/usr/include/aspell.h") { 
-+exists("@PREFIX@/include/aspell.h") { 
+--- src.pro.orig	2014-04-08 13:50:14.000000000 -0500
++++ src.pro	2014-09-29 22:32:16.000000000 -0500
+@@ -153,7 +153,7 @@
+ 
+ 
+ contains(USE_ASPELL,true){
+-exists("/usr/include/aspell.h") {
++exists("$$PREFIX/include/aspell.h") {
      message ("ASpell enabled")
--    LIBS += -laspell
-+    LIBS += -laspell -lz
+     LIBS += -laspell
      DEFINES += ASPELL_ENABLE
- }
+@@ -163,7 +163,7 @@
  
+ 
+ contains(USE_HUNSPELL,true){
+-exists("/usr/include/hunspell/hunspell.hxx") { 
++exists("$$PREFIX/include/hunspell/hunspell.hxx") { 
+     message ("hunspell enabled")
+         PKGCONFIG += hunspell
+             DEFINES += HUNSPELL_ENABLE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140929/0f5bee93/attachment.html>


More information about the macports-changes mailing list