[121644] trunk/dports/textproc/mecab-naist-jdic/Portfile

hum at macports.org hum at macports.org
Thu Jul 3 02:19:42 PDT 2014


Revision: 121644
          https://trac.macports.org/changeset/121644
Author:   hum at macports.org
Date:     2014-07-03 02:19:42 -0700 (Thu, 03 Jul 2014)
Log Message:
-----------
mecab-naist-jdic: fix livecheck.

Modified Paths:
--------------
    trunk/dports/textproc/mecab-naist-jdic/Portfile

Modified: trunk/dports/textproc/mecab-naist-jdic/Portfile
===================================================================
--- trunk/dports/textproc/mecab-naist-jdic/Portfile	2014-07-03 05:36:24 UTC (rev 121643)
+++ trunk/dports/textproc/mecab-naist-jdic/Portfile	2014-07-03 09:19:42 UTC (rev 121644)
@@ -5,26 +5,13 @@
 
 set dicname         naist-jdic
 name                mecab-${dicname}
-version             0.6.3b-20111013
+set timestamp       20111013
+version             0.6.3b-${timestamp}
 categories          textproc japanese
 maintainers         hum openmaintainer
 
 set encoding        eucjp
 
-subport mecab-${dicname}-sjis {
-    set encoding    sjis
-    set charset     sjis
-    configure.post_args  --with-charset=${charset}
-    livecheck.type  none
-}
-
-subport mecab-${dicname}-utf8 {
-    set encoding    utf8
-    set charset     utf-8
-    configure.post_args  --with-charset=${charset}
-    livecheck.type  none
-}
-
 description         ${dicname} of ${encoding} encoding for MeCab
 long_description    ${description}
 
@@ -49,4 +36,19 @@
 
 livecheck.type      regex
 livecheck.url       http://sourceforge.jp/projects/naist-jdic/releases/
-livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+\[a-z\]?-\\d+)
+livecheck.version   ${timestamp}
+livecheck.regex     ${name}-\\d+\\.\\d+\\.\\d+\[a-z\]?-(\\d+)
+
+subport mecab-${dicname}-sjis {
+    set encoding    sjis
+    set charset     sjis
+    configure.post_args  --with-charset=${charset}
+    livecheck.type  none
+}
+
+subport mecab-${dicname}-utf8 {
+    set encoding    utf8
+    set charset     utf-8
+    configure.post_args  --with-charset=${charset}
+    livecheck.type  none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140703/4df8aaf3/attachment.html>


More information about the macports-changes mailing list