[88278] trunk/dports/textproc
hum at macports.org
hum at macports.org
Mon Dec 26 08:27:52 PST 2011
Revision: 88278
http://trac.macports.org/changeset/88278
Author: hum at macports.org
Date: 2011-12-26 08:27:48 -0800 (Mon, 26 Dec 2011)
Log Message:
-----------
mecab, mecab-{base,sjis,utf8}: update to 0.99; modify license; install doc and example; update master_sites and livecheck.url.
Modified Paths:
--------------
trunk/dports/textproc/mecab/Portfile
trunk/dports/textproc/mecab-base/Portfile
trunk/dports/textproc/mecab-base/files/patch-configure.diff
trunk/dports/textproc/mecab-sjis/Portfile
trunk/dports/textproc/mecab-utf8/Portfile
Modified: trunk/dports/textproc/mecab/Portfile
===================================================================
--- trunk/dports/textproc/mecab/Portfile 2011-12-25 19:20:03 UTC (rev 88277)
+++ trunk/dports/textproc/mecab/Portfile 2011-12-26 16:27:48 UTC (rev 88278)
@@ -5,12 +5,11 @@
set encoding eucjp
name mecab
-version 0.98
-revision 1
+version 0.99
categories textproc japanese
platforms darwin
maintainers gmail.com:rsky0711 hum openmaintainer
-license GPL-2 LGPL-2 BSD
+license GPL-2 LGPL-2.1 BSD
homepage http://mecab.sourceforge.net/
description yet another part-of-speech and morphological analyzer
Modified: trunk/dports/textproc/mecab-base/Portfile
===================================================================
--- trunk/dports/textproc/mecab-base/Portfile 2011-12-25 19:20:03 UTC (rev 88277)
+++ trunk/dports/textproc/mecab-base/Portfile 2011-12-26 16:27:48 UTC (rev 88278)
@@ -4,11 +4,11 @@
PortSystem 1.0
name mecab-base
-version 0.98
+version 0.99
categories textproc japanese
platforms darwin
maintainers gmail.com:rsky0711 hum openmaintainer
-license GPL-2 LGPL-2 BSD
+license GPL-2 LGPL-2.1 BSD
homepage http://mecab.sourceforge.net/
description yet another part-of-speech and morphological analyzer
@@ -17,11 +17,10 @@
dist_subdir mecab
distname mecab-${version}
-master_sites sourceforge:mecab
+master_sites googlecode:mecab
+checksums rmd160 879cafc8ca4d09191a311d75c0cbe4de705616a7 \
+ sha256 31b9889bcf56085084997ca3bbeacc4b3b563a0668191cdbd07171e5a98b47a8
-checksums rmd160 d63f396b2fc1b979f98213ba1b0b86a3a5c77cbd \
- sha256 751d431422539d714a812eba9fbb8468db412221ab03feeb5e4ebd3bbb4e34a2
-
depends_lib port:libiconv
patchfiles patch-configure.diff
@@ -32,9 +31,22 @@
test.run yes
test.target check
+set dest_mecab ${destroot}${prefix}/share/mecab
+set dest_doc ${dest_mecab}/doc
+set dest_example ${dest_mecab}/example
+
post-destroot {
# set the default dictionary path to sysdic.
reinplace s|ipadic|sysdic| ${destroot}${prefix}/etc/mecabrc
+
+ # install doc and example.
+ file mkdir ${dest_doc}
+ eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] ${dest_doc}
+ eval xinstall -m 644 [glob ${worksrcpath}/doc/*.png] ${dest_doc}
+ eval xinstall -m 644 [glob ${worksrcpath}/doc/*.css] ${dest_doc}
+ copy ${worksrcpath}/doc/doxygen ${dest_doc}
+ copy ${worksrcpath}/doc/en ${dest_doc}
+ copy ${worksrcpath}/example ${dest_example}
}
# deactivate any old mecab port.
@@ -64,5 +76,5 @@
}
livecheck.type regex
-livecheck.url ${homepage}
+livecheck.url http://code.google.com/p/mecab/downloads/list
livecheck.regex {mecab-([\d\.]+)\.tar}
Modified: trunk/dports/textproc/mecab-base/files/patch-configure.diff
===================================================================
--- trunk/dports/textproc/mecab-base/files/patch-configure.diff 2011-12-25 19:20:03 UTC (rev 88277)
+++ trunk/dports/textproc/mecab-base/files/patch-configure.diff 2011-12-26 16:27:48 UTC (rev 88278)
@@ -1,15 +1,15 @@
---- configure.orig 2009-09-27 03:02:36.000000000 -0500
-+++ configure 2011-04-20 05:05:14.000000000 -0500
-@@ -21216,7 +21216,7 @@
- $as_echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
-- ac_cv_lib_iconv_iconv_open=no
-+ ac_cv_lib_iconv_iconv_open=yes
+--- configure.orig 2011-12-24 18:03:53.000000000 +0900
++++ configure 2011-12-25 16:34:42.000000000 +0900
+@@ -17847,7 +17847,7 @@
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_iconv_iconv_open=yes
+ else
+- ac_cv_lib_iconv_iconv_open=no
++ ac_cv_lib_iconv_iconv_open=yes
fi
-
- rm -rf conftest.dSYM
-@@ -21593,8 +21593,8 @@
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+@@ -17981,8 +17981,8 @@
fi
if test -n "$GCC"; then
Modified: trunk/dports/textproc/mecab-sjis/Portfile
===================================================================
--- trunk/dports/textproc/mecab-sjis/Portfile 2011-12-25 19:20:03 UTC (rev 88277)
+++ trunk/dports/textproc/mecab-sjis/Portfile 2011-12-26 16:27:48 UTC (rev 88278)
@@ -5,11 +5,11 @@
set encoding sjis
name mecab-${encoding}
-version 0.98
+version 0.99
categories textproc japanese
platforms darwin
maintainers gmail.com:rsky0711 hum openmaintainer
-license GPL-2 LGPL-2 BSD
+license GPL-2 LGPL-2.1 BSD
homepage http://mecab.sourceforge.net/
description yet another part-of-speech and morphological analyzer
Modified: trunk/dports/textproc/mecab-utf8/Portfile
===================================================================
--- trunk/dports/textproc/mecab-utf8/Portfile 2011-12-25 19:20:03 UTC (rev 88277)
+++ trunk/dports/textproc/mecab-utf8/Portfile 2011-12-26 16:27:48 UTC (rev 88278)
@@ -5,11 +5,11 @@
set encoding utf8
name mecab-${encoding}
-version 0.98
+version 0.99
categories textproc japanese
platforms darwin
maintainers gmail.com:rsky0711 hum openmaintainer
-license GPL-2 LGPL-2 BSD
+license GPL-2 LGPL-2.1 BSD
homepage http://mecab.sourceforge.net/
description yet another part-of-speech and morphological analyzer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111226/0f2f2242/attachment.html>
More information about the macports-changes
mailing list