[90496] trunk/dports/textproc

hum at macports.org hum at macports.org
Wed Mar 7 08:01:36 PST 2012


Revision: 90496
          http://trac.macports.org/changeset/90496
Author:   hum at macports.org
Date:     2012-03-07 08:01:35 -0800 (Wed, 07 Mar 2012)
Log Message:
-----------
juman6: rename juman at 6.01(r83486) to juman6; install the distribution in ${prefix}/lib/juman6; install juman6 as an executable.

Revision Links:
--------------
    http://trac.macports.org/changeset/83486

Modified Paths:
--------------
    trunk/dports/textproc/juman6/Portfile

Added Paths:
-----------
    trunk/dports/textproc/juman6/

Modified: trunk/dports/textproc/juman6/Portfile
===================================================================
--- trunk/dports/textproc/juman/Portfile	2011-09-03 07:48:26 UTC (rev 83486)
+++ trunk/dports/textproc/juman6/Portfile	2012-03-07 16:01:35 UTC (rev 90496)
@@ -3,19 +3,20 @@
 
 PortSystem          1.0
 
-name                juman
+name                juman6
 version             6.01
 categories          textproc japanese
 platforms           darwin
 maintainers         hum openmaintainer
 license             BSD
 
-homepage            http://nlp.ist.i.kyoto-u.ac.jp/EN/index.php?JUMAN
+homepage            http://nlp.ist.i.kyoto-u.ac.jp/index.php?JUMAN
 description         a user-extensible morphological analyzer for Japanese.
 long_description    ${description}
 
-master_sites        http://nlp.kuee.kyoto-u.ac.jp/nl-resource/${name}/
-
+master_sites        http://nlp.kuee.kyoto-u.ac.jp/nl-resource/juman/
+dist_subdir         juman
+distname            juman-${version}
 checksums           sha1    aeca5d50b803e7b659a7e70501db1157c5ebc005 \
                     rmd160  562773845e75bce157d027f541a47dd3b1846051
 
@@ -23,6 +24,13 @@
     use_autoreconf  yes
 }
 
-livecheck.type      regex
-livecheck.url       [lindex ${master_sites} 0]
-livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
+# install the distribution into ${prefix_juman6}.
+set prefix_juman6   ${prefix}/lib/${name}
+configure.pre_args  --prefix=${prefix_juman6}
+
+# install juman6 as an executable.
+post-destroot {
+    ln -s ${destroot}${prefix_juman6}/bin/juman ${destroot}${prefix}/bin/juman6
+}
+
+livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120307/5182112e/attachment.html>


More information about the macports-changes mailing list