source: trunk/dports/textproc/mecab-ipadic/Portfile

Last change on this file was 113832, checked in by hum@…, 4 years ago

mecab-ipadic: define subports for sjis and utf8; delete mecab-ipadic-sjis and mecab-ipadic-utf8; update maintainers and master_sites; clean up livecheck.

  • 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 113832 2013-11-24 16:22:08Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6set dicname         ipadic
7name                mecab-${dicname}
8version             2.7.0-20070801
9categories          textproc japanese
10maintainers         hum openmaintainer
11
12set encoding        eucjp
13
14subport mecab-${dicname}-sjis {
15    set encoding    sjis
16    set charset     sjis
17    configure.post_args  --with-charset=${charset}
18    livecheck.type  none
19}
20
21subport mecab-${dicname}-utf8 {
22    set encoding    utf8
23    set charset     utf-8
24    configure.post_args  --with-charset=${charset}
25    livecheck.type  none
26}
27
28description         ${dicname} of ${encoding} encoding for MeCab
29long_description    ${description}
30
31homepage            http://mecab.sourceforge.net/
32platforms           darwin
33license             Permissive
34
35dist_subdir         mecab
36
37master_sites        googlecode:mecab
38checksums           rmd160  8c774433a555e4947a6af80c436e9b40631bda45 \
39                    sha256  b62f527d881c504576baed9c6ef6561554658b175ce6ae0096a60307e49e3523
40
41depends_lib         port:mecab-base
42
43supported_archs     noarch
44
45configure.args      --with-mecab-config=${prefix}/bin/mecab-config \
46                    --with-dicdir=${prefix}/lib/mecab/dic/${dicname}-${encoding}
Note: See TracBrowser for help on using the repository browser.