[105212] trunk/dports/textproc/unidic-mecab/Portfile
hum at macports.org
hum at macports.org
Sat Apr 13 05:47:51 PDT 2013
Revision: 105212
https://trac.macports.org/changeset/105212
Author: hum at macports.org
Date: 2013-04-13 05:47:51 -0700 (Sat, 13 Apr 2013)
Log Message:
-----------
marisa-trie: update to 2.1.2; modify distname and livecheck; skip decompressing error in extract phase.
Modified Paths:
--------------
trunk/dports/textproc/unidic-mecab/Portfile
Modified: trunk/dports/textproc/unidic-mecab/Portfile
===================================================================
--- trunk/dports/textproc/unidic-mecab/Portfile 2013-04-13 12:04:45 UTC (rev 105211)
+++ trunk/dports/textproc/unidic-mecab/Portfile 2013-04-13 12:47:51 UTC (rev 105212)
@@ -4,7 +4,7 @@
PortSystem 1.0
name unidic-mecab
-version 2.1.1
+version 2.1.2
categories textproc japanese
maintainers hum openmaintainer
@@ -15,14 +15,21 @@
platforms darwin
license {BSD GPL LGPL}
-distname unidic-mecab-[strsed ${version} {g/\.//}]_bin
+distname ${name}-${version}_bin
dist_subdir mecab
-use_zip yes
+#use_zip yes
+extract.suffix .zip
-master_sites sourceforge_jp:unidic/57618/
-checksums rmd160 4379e83039ea2b20625b8fe2cf0d08ebb51a92b6 \
- sha256 07eefcc24a6abc5862f57b630e6ef29b686cc3c06d8fc554386bfe35733eca9e
+master_sites sourceforge_jp:unidic/58338/
+checksums rmd160 93dbf8230a9d90663028dc140c58b866bf5990ee \
+ sha256 666b549b56f47e5cf4cabe3ad9eced25a31df2f0b6e99ef73c54b5c2ce623354
+# skip decompressing error of unzip.
+extract {
+ catch {eval exec "unzip -q ${distpath}/${distfiles} -d ${workpath}"} result
+ ui_debug "unzip: $result"
+}
+
supported_archs noarch
use_configure no
build {}
@@ -35,5 +42,4 @@
livecheck.type regex
livecheck.url http://sourceforge.jp/projects/unidic/releases/
-livecheck.version [strsed ${version} {g/\.//}]
-livecheck.regex ${name}-(\[\\d\]+)
+livecheck.regex ${name}-(\[\\d\\.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130413/ac0c8a42/attachment.html>
More information about the macports-changes
mailing list