source: trunk/dports/textproc/mecab-naist-jdic/Portfile

Last change on this file was 121644, checked in by hum@…, 3 years ago

mecab-naist-jdic: fix livecheck.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 121644 2014-07-03 09:19:42Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6set dicname         naist-jdic
7name                mecab-${dicname}
8set timestamp       20111013
9version             0.6.3b-${timestamp}
10categories          textproc japanese
11maintainers         hum openmaintainer
12
13set encoding        eucjp
14
15description         ${dicname} of ${encoding} encoding for MeCab
16long_description    ${description}
17
18homepage            http://sourceforge.jp/projects/naist-jdic/
19platforms           darwin
20license             BSD
21
22dist_subdir         mecab
23
24master_sites        sourceforge_jp:${dicname}/53500/
25checksums           rmd160  0f0bce78a7e304cfe6f3083cd5c947f95ddb7e0d \
26                    sha256  cb37700dc9a77b953f2bf3b15b49cfecd67848530a2cf8abcb09b594ca5628cc
27
28depends_lib         port:mecab-base
29
30patchfiles          patch-Makefile.in.diff
31
32supported_archs     noarch
33
34configure.args      --with-mecab-config=${prefix}/bin/mecab-config \
35                    --with-dicdir=${prefix}/lib/mecab/dic/${dicname}-${encoding}
36
37livecheck.type      regex
38livecheck.url       http://sourceforge.jp/projects/naist-jdic/releases/
39livecheck.version   ${timestamp}
40livecheck.regex     ${name}-\\d+\\.\\d+\\.\\d+\[a-z\]?-(\\d+)
41
42subport mecab-${dicname}-sjis {
43    set encoding    sjis
44    set charset     sjis
45    configure.post_args  --with-charset=${charset}
46    livecheck.type  none
47}
48
49subport mecab-${dicname}-utf8 {
50    set encoding    utf8
51    set charset     utf-8
52    configure.post_args  --with-charset=${charset}
53    livecheck.type  none
54}
Note: See TracBrowser for help on using the repository browser.