Changeset 87341


Ignore:
Timestamp:
Nov 17, 2011, 4:02:06 PM (8 years ago)
Author:
hum@…
Message:

seekanser: update to 1.0.6; remove version dependency from patch-slothlib.properties.diff.

Location:
trunk/dports/textproc/seekanser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/seekanser/Portfile

    r87270 r87341  
    55
    66name                seekanser
    7 version             1.0.2
     7version             1.0.6
    88categories          textproc java japanese
    99platforms           darwin
     
    1515long_description    SeekAnser is ${description}.
    1616
    17 master_sites        sourceforge_jp:seekanser/53849/
     17master_sites        sourceforge_jp:seekanser/53880/
    1818distname            SeekAnser
    1919use_zip             yes
    20 checksums           rmd160  7d3f48ae5d043b14fff63683d257c6f0650d897c \
    21                     sha256  eee94c6562f03810cbb1af693d8b5131a928aacb794069156c2847aeae1eb32a
     20checksums           rmd160  985701dcbc23c0cc38128c25cecc7739f0ed66ae \
     21                    sha256  ad29e3cdf1af81f439db0a29ee5994ef3d7b8ecbfe97fb813b8a00803b03c6df
    2222
    2323dist_subdir         ${name}/${version}
     
    2828set jardir          ${worksrcpath}/seekanser-${version}
    2929set jarname         seekanser-${version}.jar
     30set jarpatch        ${filespath}/patch-slothlib.properties.diff
    3031
    3132post-extract {
     
    3435}
    3536
    36 patchfiles          patch-slothlib.properties.diff
    37 
    3837post-patch {
    39     reinplace "s|/usr/bin/|${prefix}/bin/|g" ${jardir}/slothlib.properties
     38    system -W ${jardir} "patch < ${jarpatch}"
     39    reinplace "s|/usr/|${prefix}/|g" ${jardir}/slothlib.properties
    4040}
    4141
  • trunk/dports/textproc/seekanser/files/patch-slothlib.properties.diff

    r87270 r87341  
    1 --- seekanser-1.0.2/slothlib.properties.orig    2011-11-16 01:26:40.000000000 +0900
    2 +++ seekanser-1.0.2/slothlib.properties 2011-11-16 01:28:20.000000000 +0900
     1--- slothlib.properties.orig    2008-04-24 15:11:06.000000000 +0900
     2+++ slothlib.properties 2011-11-18 00:39:57.000000000 +0900
    33@@ -1,12 +1,12 @@
    44 # for mecab
    5  slothLib.NLP.MeCab.meCabPath=/usr/bin/mecab
    6  slothLib.NLP.MeCab.meCabRcPath=/usr/bin/mecab-config
     5-slothLib.NLP.MeCab.meCabPath=C:\\Program Files\\MeCab\\bin\\mecab.exe
     6-slothLib.NLP.MeCab.meCabRcPath=C:\\Program Files\\MeCab\\etc\\mecabrc
    77-slothLib.NLP.MeCab.meCabEncoding=SJIS
     8+slothLib.NLP.MeCab.meCabPath=/usr/bin/mecab
     9+slothLib.NLP.MeCab.meCabRcPath=/usr/etc/mecabrc
    810+slothLib.NLP.MeCab.meCabEncoding=EUC-JP
    911 
    1012 # for chasen
    11  slothLib.NLP.ChaSen.chaSenPath=/usr/bin/chasen
    12  slothLib.NLP.ChaSen.chaSenRcPath=/usr/bin/chasen-config
    13 -slothLib.NLP.ChaSen.chaSenEncoding=UTF-8
     13-slothLib.NLP.ChaSen.chaSenPath=C:\\Program Files\\ChaSen\\chasen.exe
     14-slothLib.NLP.ChaSen.chaSenRcPath=C:\\Program Files\\ChaSen\\dic\\chasenrc
     15-slothLib.NLP.ChaSen.chaSenEncoding=SJIS
     16+slothLib.NLP.ChaSen.chaSenPath=/usr/bin/chasen
     17+slothLib.NLP.ChaSen.chaSenRcPath=/usr/etc/chasen/chasenrc
    1418+slothLib.NLP.ChaSen.chaSenEncoding=EUC-JP
    1519 
    1620 # for SSTager
    1721 slothLib.NLP.SSTagger.ssTaggerPath=C:\\Program Files\\postagger-1.0\\tagger.exe
     22@@ -23,7 +23,7 @@
     23 slothlib.ppthtml.path/usr/bin/ppthtml
     24 
     25 # slothlib global setting             
     26-slothlib.default.encoding=SJIS
     27+slothlib.default.encoding=UTF-8
     28 
     29 # API keys
     30 #slothlib.web.search.GoogleSOAPSearchAPI.key=
Note: See TracChangeset for help on using the changeset viewer.