source: trunk/dports/ruby/rb19-mecab/Portfile @ 102050

Last change on this file since 102050 was 102050, checked in by hum@…, 6 years ago

mecab,mecab-{base|java|sjis|utf8},{p5|py|rb|rb19}-mecab: update to 0.995.

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