Changeset 99566
- Timestamp:
- Nov 10, 2012, 4:14:14 AM (11 years ago)
- Location:
- trunk/dports/textproc/jdepp
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/textproc/jdepp/Portfile
r98477 r99566 5 5 6 6 name jdepp 7 version 2012-1 0-067 version 2012-11-08 8 8 categories textproc japanese 9 9 maintainers hum openmaintainer … … 23 23 24 24 master_sites ${homepage} 25 checksums rmd160 2b5ac0967a097a8056bfd14da111d17f41d6c6bd \ 26 sha256 794cd7202cf3e0b667a6726ecdaecb0d1b4bb6bb7f5451b41b4f8700b9d32a67 25 checksums ${distname}${extract.suffix} \ 26 rmd160 cd79420c832369e7c2174e6aa5e786f4c203643b \ 27 sha256 e41699de9672ec9f56c5266977947345e93e10480b003044aa51fe2c4b539e83 27 28 28 patchfiles patch-configure.diff 29 patchfiles patch-configure.diff \ 30 patch-src_classify.cc.diff 29 31 30 32 depends_lib port:mecab-base \ … … 33 35 configure.args --enable-standalone 34 36 35 variant knbc conflicts kyoto description {Train a parser wht KNBC (Kyoto-University and NTT Blog Corpus)} {37 variant knbc conflicts kyoto kyoto_partial description {Train a parser wht KNBC (Kyoto-University and NTT Blog Corpus)} { 36 38 depends_build-append port:KNBC 37 39 … … 42 44 } 43 45 44 # Users must put their Kyoto Corpus 4.0 into the following directory if +kyoto variant is set. 46 variant kyoto_partial conflicts kyoto knbc description {Train a parser with Kyoto-University Text Corpus annotation without Mainichi news articles} { 47 set kyoto_corpus KyotoCorpus4.0 48 set corpus_distfile ${kyoto_corpus}${extract.suffix} 49 distfiles-append ${corpus_distfile}:corpus 50 master_sites-append http://nlp.ist.i.kyoto-u.ac.jp/nl-resource/corpus/:corpus 51 checksums-append ${corpus_distfile} \ 52 rmd160 9c8212d939b7112a79aff30ab0880f94c3ee9b48 \ 53 sha256 6fe4f7bac19e192f7545c4de0c765f690a524c7611191e2af9be031d4923871f 54 55 configure.args-append --with-corpus=kyoto-partial \ 56 --enable-autopos-train=no 57 58 build.target model 59 build.args-append CORPUS_DIR=${workpath}/${kyoto_corpus} 60 } 61 62 # To use the complete kyoto corpus with +kyoto variant, users must put their data into the following directory. 45 63 set kyoto_dir /tmp/KyotoCorpus4.0 46 64 47 variant kyoto conflicts k nbc description {Train a parser with Kyoto-University Text Corpus} {65 variant kyoto conflicts kyoto_partial knbc description {Train a parser with Kyoto-University Text Corpus} { 48 66 if {[file exists ${kyoto_dir}]} { 49 67 build.target model … … 71 89 } 72 90 73 if {![variant_isset kyoto] } {91 if {![variant_isset kyoto] && ![variant_isset kyoto_partial]} { 74 92 default_variants +knbc 75 93 } -
trunk/dports/textproc/jdepp/files/patch-configure.diff
r98196 r99566 1 --- configure.orig 2012- 09-26 22:51:10.000000000 +09002 +++ configure 2012- 09-28 00:21:04.000000000 +09003 @@ -56 25,7 +5625,7 @@1 --- configure.orig 2012-11-08 20:33:04.000000000 +0900 2 +++ configure 2012-11-10 09:37:01.000000000 +0900 3 @@ -5630,7 +5630,7 @@ 4 4 5 5 $as_echo "#define USE_MECAB 1" >>confdefs.h … … 10 10 as_fn_error $? "\"${MECAB_DICT}\" not found" "$LINENO" 5 11 11 fi 12 @@ -570 2,7 +5702,7 @@12 @@ -5707,7 +5707,7 @@ 13 13 14 14 $as_echo "#define USE_AS_STANDALONE 1" >>confdefs.h
Note: See TracChangeset
for help on using the changeset viewer.