source: trunk/dports/ruby/rb-mecab/Portfile

Last change on this file was 136054, checked in by mf2k@…, 2 years ago

hyperestraier p5-mecab py-hyperestraier py-mecab qdbm rb-hyperestraier rb-mecab rb19-mecab: Ports abandoned by gmail.com:rsky0711. (#47295)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 136054 2015-05-11 14:00:12Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           ruby 1.0
6
7ruby.setup          MeCab 0.996 extconf.rb {}
8categories-append   textproc japanese
9maintainers         hum openmaintainer
10
11description         a Ruby module for MeCab
12long_description    ${description}
13
14master_sites        googlecode:mecab
15checksums           rmd160  916fbe29716988936abf19be1728b184b0afc0a6 \
16                    sha256  b75e9731e717cec1c261a27d06c4f7baa696cf2fd4e5e3158df5f8fd65107285
17
18homepage            http://mecab.sourceforge.net/
19platforms           darwin
20license             {GPL LGPL BSD}
21
22distname            mecab-ruby-${version}
23dist_subdir         mecab
24
25depends_lib-append  path:bin/mecab-config:mecab-utf8
26
27post-patch {
28    reinplace "s|\#!/usr/bin/ruby|\#!${ruby.bin}|g" \
29        ${worksrcpath}/test.rb
30}
31
32post-destroot {
33    set exdir ${destroot}${prefix}/share/doc/${name}/examples
34    xinstall -m 755 -d ${exdir}
35    xinstall -m 755 ${worksrcpath}/test.rb ${exdir}
36}
37
38livecheck.type      regex
39livecheck.url       http://code.google.com/p/mecab/downloads/list
40livecheck.regex     {mecab-ruby-([\d\.]+)\.tar}
Note: See TracBrowser for help on using the repository browser.