source: trunk/dports/textproc/juman6/Portfile

Last change on this file was 114325, checked in by ryandesign@…, 4 years ago

use eq and ne instead of == and != when comparing ${os.platform} and ${os.subplatform}

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 114325 2013-12-05 09:20:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                juman6
7version             6.01
8revision            1
9categories          textproc japanese
10maintainers         hum openmaintainer
11
12description         a user-extensible morphological analyzer for Japanese.
13long_description    ${description}
14
15homepage            http://nlp.ist.i.kyoto-u.ac.jp/index.php?JUMAN
16platforms           darwin
17license             BSD
18
19master_sites        http://nlp.kuee.kyoto-u.ac.jp/nl-resource/juman/
20dist_subdir         juman
21distname            juman-${version}
22checksums           sha1    aeca5d50b803e7b659a7e70501db1157c5ebc005 \
23                    rmd160  562773845e75bce157d027f541a47dd3b1846051
24
25if {${os.major} >= 12 && ${os.platform} eq "darwin"} {
26    patchfiles-append patch-sed.diff
27}
28
29if {[variant_isset universal]} {
30    patchfiles-append patch-automake-1.13.diff
31    use_autoreconf  yes
32}
33
34# install the distribution into ${prefix_juman6}.
35set prefix_juman6   ${prefix}/lib/${name}
36configure.pre_args  --prefix=${prefix_juman6}
37
38# install juman6 as an executable.
39post-destroot {
40    ln -s ${prefix_juman6}/bin/juman ${destroot}${prefix}/bin/juman6
41}
42
43livecheck.type      none
Note: See TracBrowser for help on using the repository browser.