[87160] trunk/dports/java/lucene-gosen/Portfile

hum at macports.org hum at macports.org
Sat Nov 12 08:15:09 PST 2011


Revision: 87160
          http://trac.macports.org/changeset/87160
Author:   hum at macports.org
Date:     2011-11-12 08:15:09 -0800 (Sat, 12 Nov 2011)
Log Message:
-----------
lucene-gosen: update to 1.2.0; simplify master_sites and livecheck for googlecode.

Modified Paths:
--------------
    trunk/dports/java/lucene-gosen/Portfile

Modified: trunk/dports/java/lucene-gosen/Portfile
===================================================================
--- trunk/dports/java/lucene-gosen/Portfile	2011-11-12 15:56:42 UTC (rev 87159)
+++ trunk/dports/java/lucene-gosen/Portfile	2011-11-12 16:15:09 UTC (rev 87160)
@@ -4,25 +4,25 @@
 PortSystem          1.0
 
 name                lucene-gosen
-version             1.1.1
+version             1.2.0
 categories          java textproc japanese
 platforms           darwin
 maintainers         hum openmaintainer
 license             LGPL-2.1
 
-homepage            http://code.google.com/p/${name}/
+homepage            http://code.google.com/p/lucene-gosen/
 description         a Japanese morphological analyzer for Apache Lucene/Solr
 long_description    ${name} is ${description}.
 
-master_sites        http://${name}.googlecode.com/files/
+master_sites        googlecode
 distfiles           ${distname}-ipadic.jar
-checksums           sha1    2637bf3c4bdb4cb0efd095f4d423e5efb37e4543 \
-                    rmd160  3feacc9c2ac81e2c15f3b8d6a377a85dd6fb6d01
+checksums           rmd160  b70d904c4ac9d17775870d9f9d1f54d14ca51908 \
+                    sha256  c816844104067b9287b01ec88ade68a63e5fae88e5b5c7968399fb762cf0b3d4
 
 variant naist description {Use naist chasen dictionary instead of ipadic} {
     distfiles       ${distname}-naist-chasen.jar
-    checksums       sha1    bf5cde340da36e0a1fc506c60358eca7c23347fa \
-                    rmd160  b76436ceb14bd92cc0ad449734ba8633bb15c02c
+    checksums       rmd160  fe4e946475d2dbc1efa0e140ea2c2b250041fd5f \
+                    sha256  831f632f71623de9e859c13f0880216fd22e882e6445b7857b02cf75f1aee89d
 }
 
 extract {}
@@ -33,19 +33,17 @@
 build {}
 
 destroot {
+    set gosendir ${destroot}${prefix}/share/java/${name}
     # install the jar file.
-    xinstall -d ${destroot}${prefix}/share/java/${name}/lib
-    copy ${distpath}/${distfiles} \
-                ${destroot}${prefix}/share/java/${name}/lib
+    xinstall -d ${gosendir}/lib
+    copy ${distpath}/${distfiles} ${gosendir}/lib
     # install the config files.
-    xinstall -d ${destroot}${prefix}/share/java/${name}/conf
+    xinstall -d ${gosendir}/conf
     xinstall -m 644 -W ${filespath} \
         mapping-japanese.txt \
         stoptags_ja.txt \
         stopwords_ja.txt \
-        ${destroot}${prefix}/share/java/${name}/conf
+        ${gosendir}/conf
 }
 
-livecheck.type      regex
-livecheck.url       http://code.google.com/p/${name}/downloads/list
-livecheck.regex     ${name}\-(\[0-9.\]+)
+livecheck.type      default
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111112/bcd2cf65/attachment.html>


More information about the macports-changes mailing list