<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[115161] trunk/dports/textproc/jdepp</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/115161">115161</a></dd>
<dt>Author</dt> <dd>hum@macports.org</dd>
<dt>Date</dt> <dd>2013-12-27 01:22:28 -0800 (Fri, 27 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>jdepp: update to 2013-12-25; add unidic variant.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportstextprocjdeppPortfile">trunk/dports/textproc/jdepp/Portfile</a></li>
<li><a href="#trunkdportstextprocjdeppfilespatchconfigurediff">trunk/dports/textproc/jdepp/files/patch-configure.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportstextprocjdeppPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/textproc/jdepp/Portfile (115160 => 115161)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/jdepp/Portfile        2013-12-27 08:31:01 UTC (rev 115160)
+++ trunk/dports/textproc/jdepp/Portfile        2013-12-27 09:22:28 UTC (rev 115161)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> PortSystem          1.0
</span><span class="cx"> 
</span><span class="cx"> name                jdepp
</span><del>-version             2013-01-23
</del><ins>+version             2013-12-25
</ins><span class="cx"> categories          textproc japanese
</span><span class="cx"> maintainers         hum openmaintainer
</span><span class="cx"> 
</span><span class="lines">@@ -23,8 +23,8 @@
</span><span class="cx"> 
</span><span class="cx"> master_sites        ${homepage}
</span><span class="cx"> checksums           ${distname}${extract.suffix} \
</span><del>-                    rmd160  cb074e8ea1648ea2e3eb1262f6d2d0e1f7a5e5c5 \
-                    sha256  9c6ea9e3be05d4074e9a0b427b02b284e23a8649fcc1b36f5f64f30fd43f19cf
</del><ins>+                    rmd160  76f61e9abc67fdd6d1facdd2ca7ac8885da39208 \
+                    sha256  fce5ea5afca2d0b1d3fa0addc68fec2398f163be25e008861c81ecffa171e205
</ins><span class="cx"> 
</span><span class="cx"> patchfiles          patch-configure.diff
</span><span class="cx"> 
</span><span class="lines">@@ -73,31 +73,38 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-variant ipadic conflicts naistjdic description {Build a parser with auto POSs given by MeCab/ipadic} {
</del><ins>+variant ipadic conflicts naistjdic unidic description {Build a parser with auto POSs given by MeCab/ipadic} {
</ins><span class="cx">     depends_lib-delete    port:mecab-jumandic-utf8
</span><span class="cx">     depends_lib-append    port:mecab-ipadic-utf8
</span><span class="cx"> 
</span><span class="cx">     configure.args-append --with-mecab-dict=IPA
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-variant naistjdic conflicts ipadic description {Build a parser with auto POSs given by MeCab/NAIST-jdic} {
</del><ins>+variant naistjdic conflicts ipadic unidic description {Build a parser with auto POSs given by MeCab/NAIST-jdic} {
</ins><span class="cx">     depends_lib-delete    port:mecab-jumandic-utf8
</span><span class="cx">     depends_lib-append    port:mecab-naist-jdic-utf8
</span><span class="cx"> 
</span><span class="cx">     configure.args-append --with-mecab-dict=NAIST-J
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+variant unidic conflicts ipadic naistjdic description {Build a parser with auto POSs given by MeCab/UNIdic} {
+    depends_lib-delete    port:mecab-jumandic-utf8
+    depends_lib-append    port:unidic-mecab
+
+    configure.args-append --with-mecab-dict=UNI
+}
+
</ins><span class="cx"> if {![variant_isset kyoto] &amp;&amp; ![variant_isset kyoto_partial]} {
</span><span class="cx">     default_variants +knbc
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> post-destroot {
</span><del>-    set doc_dir ${destroot}${prefix}/share/doc/${name}
-    file mkdir ${doc_dir}
</del><ins>+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
</ins><span class="cx">     xinstall -m 644 -W ${worksrcpath} \
</span><del>-        AUTHORS COPYING GPL LGPL README TODO \
-        ${doc_dir}
</del><ins>+        AUTHORS COPYING GPL LGPL README \
+        ${destroot}${docdir}
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> livecheck.type      regex
</span><del>-livecheck.regex     ${name}-(\\d+-\\d+-\\d+)\\.
</del><ins>+livecheck.regex     &quot;${name}-(\\d+(?:\\-\\d+)*)${extract.suffix}&quot;
</ins></span></pre></div>
<a id="trunkdportstextprocjdeppfilespatchconfigurediff"></a>
<div class="modfile"><h4>Modified: trunk/dports/textproc/jdepp/files/patch-configure.diff (115160 => 115161)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/jdepp/files/patch-configure.diff        2013-12-27 08:31:01 UTC (rev 115160)
+++ trunk/dports/textproc/jdepp/files/patch-configure.diff        2013-12-27 09:22:28 UTC (rev 115161)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><del>---- configure.orig        2013-01-23 19:29:15.000000000 +0900
-+++ configure        2013-01-26 12:51:43.000000000 +0900
-@@ -5685,7 +5685,7 @@
</del><ins>+--- configure.orig        2013-12-25 13:52:42.000000000 +0900
++++ configure        2013-12-27 17:48:54.000000000 +0900
+@@ -5798,7 +5798,7 @@
</ins><span class="cx">  
</span><span class="cx">  $as_echo &quot;#define USE_MECAB 1&quot; &gt;&gt;confdefs.h
</span><span class="cx">  
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx">      if ! test -e $MECAB_DICT; then :
</span><span class="cx">    as_fn_error $? &quot;\&quot;${MECAB_DICT}\&quot; not found&quot; &quot;$LINENO&quot; 5
</span><span class="cx">  fi
</span><del>-@@ -5762,7 +5762,7 @@
</del><ins>+@@ -5900,7 +5900,7 @@
</ins><span class="cx">  
</span><span class="cx">  $as_echo &quot;#define USE_AS_STANDALONE 1&quot; &gt;&gt;confdefs.h
</span><span class="cx">  
</span><span class="lines">@@ -18,3 +18,23 @@
</span><span class="cx">      JDEPP_CPPFLAGS+=&quot; -DMECAB_DICT=\\\&quot;${MECAB_DICT}\\\&quot;&quot;
</span><span class="cx">      JDEPP_LDFLAGS+=&quot; -lmecab&quot;
</span><span class="cx">    else
</span><ins>+--- configure.ac.orig        2013-12-25 13:52:33.000000000 +0900
++++ configure.ac        2013-12-27 17:48:54.000000000 +0900
+@@ -140,7 +140,7 @@
+     AS_IF([test &quot;x$MECAB_CONFIG&quot; = &quot;xno&quot;],
+       [AC_MSG_ERROR(cannot find executable mecab-config: ${MECAB_CONFIG})])
+     AC_DEFINE([USE_MECAB],   [1],    [MeCab as morphological analyzer])
+-    MECAB_DICT=`$MECAB_CONFIG --dicdir`/`echo $DICT_ID | tr &quot;A-Z&quot; &quot;a-z&quot;`dic
++    MECAB_DICT=`$MECAB_CONFIG --dicdir`/`echo $DICT_ID | tr &quot;A-Z&quot; &quot;a-z&quot;`dic-utf8
+     AS_IF([! test -e $MECAB_DICT],
+       [AC_MSG_ERROR(&quot;${MECAB_DICT}&quot; not found)])
+     if [test &quot;$DICT_ID&quot; = &quot;UNI&quot;]; then
+@@ -197,7 +197,7 @@
+ if [test &quot;x$enable_standalone&quot; != &quot;xno&quot;]; then
+   if [test &quot;$POS_TAGGER_ID&quot; = &quot;mecab&quot;]; then
+     AC_DEFINE([USE_AS_STANDALONE], [1], [standalone parser])
+-    MECAB_DICT=`$MECAB_CONFIG --dicdir`/`echo $DICT_ID | tr &quot;A-Z&quot; &quot;a-z&quot;`dic
++    MECAB_DICT=`$MECAB_CONFIG --dicdir`/`echo $DICT_ID | tr &quot;A-Z&quot; &quot;a-z&quot;`dic-utf8
+     JDEPP_CPPFLAGS+=&quot; -DMECAB_DICT=\\\&quot;${MECAB_DICT}\\\&quot;&quot;
+     JDEPP_LDFLAGS+=&quot; -lmecab&quot;
+   else
</ins></span></pre>
</div>
</div>

</body>
</html>