Changeset 87160 for trunk/dports/java


Ignore:
Timestamp:
Nov 12, 2011, 4:15:09 PM (8 years ago)
Author:
hum@…
Message:

lucene-gosen: update to 1.2.0; simplify master_sites and livecheck for googlecode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/lucene-gosen/Portfile

    r83879 r87160  
    55
    66name                lucene-gosen
    7 version             1.1.1
     7version             1.2.0
    88categories          java textproc japanese
    99platforms           darwin
     
    1111license             LGPL-2.1
    1212
    13 homepage            http://code.google.com/p/${name}/
     13homepage            http://code.google.com/p/lucene-gosen/
    1414description         a Japanese morphological analyzer for Apache Lucene/Solr
    1515long_description    ${name} is ${description}.
    1616
    17 master_sites        http://${name}.googlecode.com/files/
     17master_sites        googlecode
    1818distfiles           ${distname}-ipadic.jar
    19 checksums           sha1    2637bf3c4bdb4cb0efd095f4d423e5efb37e4543 \
    20                     rmd160  3feacc9c2ac81e2c15f3b8d6a377a85dd6fb6d01
     19checksums           rmd160  b70d904c4ac9d17775870d9f9d1f54d14ca51908 \
     20                    sha256  c816844104067b9287b01ec88ade68a63e5fae88e5b5c7968399fb762cf0b3d4
    2121
    2222variant naist description {Use naist chasen dictionary instead of ipadic} {
    2323    distfiles       ${distname}-naist-chasen.jar
    24     checksums       sha1    bf5cde340da36e0a1fc506c60358eca7c23347fa \
    25                     rmd160  b76436ceb14bd92cc0ad449734ba8633bb15c02c
     24    checksums       rmd160  fe4e946475d2dbc1efa0e140ea2c2b250041fd5f \
     25                    sha256  831f632f71623de9e859c13f0880216fd22e882e6445b7857b02cf75f1aee89d
    2626}
    2727
     
    3434
    3535destroot {
     36    set gosendir ${destroot}${prefix}/share/java/${name}
    3637    # install the jar file.
    37     xinstall -d ${destroot}${prefix}/share/java/${name}/lib
    38     copy ${distpath}/${distfiles} \
    39                 ${destroot}${prefix}/share/java/${name}/lib
     38    xinstall -d ${gosendir}/lib
     39    copy ${distpath}/${distfiles} ${gosendir}/lib
    4040    # install the config files.
    41     xinstall -d ${destroot}${prefix}/share/java/${name}/conf
     41    xinstall -d ${gosendir}/conf
    4242    xinstall -m 644 -W ${filespath} \
    4343        mapping-japanese.txt \
    4444        stoptags_ja.txt \
    4545        stopwords_ja.txt \
    46         ${destroot}${prefix}/share/java/${name}/conf
     46        ${gosendir}/conf
    4747}
    4848
    49 livecheck.type      regex
    50 livecheck.url       http://code.google.com/p/${name}/downloads/list
    51 livecheck.regex     ${name}\-(\[0-9.\]+)
     49livecheck.type      default
Note: See TracChangeset for help on using the changeset viewer.