Ticket #47524: diff2

File diff2, 1.2 KB (added by tadashi.kumano@…, 10 years ago)
Line 
1--- /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/jdepp/Portfile   2015-04-22 20:31:17.000000000 +0900
2+++ ./Portfile  2015-04-24 12:46:42.000000000 +0900
3@@ -44,7 +44,6 @@
4     configure.args-append --with-corpus=knbc
5 
6     build.target          model
7-    build.args-append     CORPUS_DIR=${prefix}/share/KNBC
8 }
9 
10 variant kyoto_partial conflicts kyoto knbc description {Train a parser with Kyoto-University Text Corpus annotation without Mainichi news articles} {
11@@ -60,7 +59,7 @@
12                           --enable-autopos-train=no
13 
14     build.target          model
15-    build.args-append     CORPUS_DIR=${workpath}/${kyoto_corpus}
16+    build.args-append     KYOTO_CORPUS_DIR=${workpath}/${kyoto_corpus}
17 }
18 
19 # To use the complete kyoto corpus with +kyoto variant, users must put their data into the following directory.
20@@ -70,7 +69,7 @@
21     if {[file exists ${kyoto_dir}]} {
22         configure.args-append --with-corpus=kyoto
23         build.target          model
24-        build.args-append     CORPUS_DIR=${kyoto_dir}
25+        build.args-append     KYOTO_CORPUS_DIR=${kyoto_dir}
26     } else {
27         pre-fetch {
28             ui_error "To train a parser with Kyoto Corpus, please put the files in ${kyoto_dir}"