[113832] trunk/dports/textproc

hum at macports.org hum at macports.org
Sun Nov 24 08:22:08 PST 2013


Revision: 113832
          https://trac.macports.org/changeset/113832
Author:   hum at macports.org
Date:     2013-11-24 08:22:08 -0800 (Sun, 24 Nov 2013)
Log Message:
-----------
mecab-ipadic: define subports for sjis and utf8; delete mecab-ipadic-sjis and mecab-ipadic-utf8; update maintainers and master_sites; clean up livecheck.

Modified Paths:
--------------
    trunk/dports/textproc/mecab-ipadic/Portfile

Removed Paths:
-------------
    trunk/dports/textproc/mecab-ipadic-sjis/
    trunk/dports/textproc/mecab-ipadic-utf8/

Modified: trunk/dports/textproc/mecab-ipadic/Portfile
===================================================================
--- trunk/dports/textproc/mecab-ipadic/Portfile	2013-11-24 15:52:10 UTC (rev 113831)
+++ trunk/dports/textproc/mecab-ipadic/Portfile	2013-11-24 16:22:08 UTC (rev 113832)
@@ -4,12 +4,27 @@
 PortSystem          1.0
 
 set dicname         ipadic
-set encoding        eucjp
 name                mecab-${dicname}
 version             2.7.0-20070801
 categories          textproc japanese
-maintainers         hum gmail.com:rsky0711 openmaintainer
+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}
 
@@ -19,16 +34,13 @@
 
 dist_subdir         mecab
 
-master_sites        sourceforge:mecab
+master_sites        googlecode:mecab
 checksums           rmd160  8c774433a555e4947a6af80c436e9b40631bda45 \
                     sha256  b62f527d881c504576baed9c6ef6561554658b175ce6ae0096a60307e49e3523
 
 depends_lib         port:mecab-base
 
 supported_archs     noarch
+
 configure.args      --with-mecab-config=${prefix}/bin/mecab-config \
                     --with-dicdir=${prefix}/lib/mecab/dic/${dicname}-${encoding}
-
-livecheck.type      regex
-livecheck.url       http://sourceforge.net/projects/mecab/files/mecab-${dicname}
-livecheck.regex     {(\d+\.\d+\.\d+-\d+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131124/8144665c/attachment.html>


More information about the macports-changes mailing list