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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 895 bytes
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem      1.0
4PortGroup       ruby 1.0
5
6ruby.setup      MeCab 0.96 extconf.rb {}
7
8platforms       darwin
9maintainers     gmail.com:rsky0711
10description     a Ruby module for MeCab
11long_description ${description}
12
13homepage        http://mecab.sourceforge.net/
14master_sites    sourceforge:mecab
15distname        mecab-ruby-${version}
16checksums       md5    400479138d0cc1a7a4bf2af3e1bf581a \
17                sha1   2831121ed5121802c3bc0cbeedee7a04563e3bfd \
18                rmd160 bb0063b20162c0a6d02b529f9e451d8fe0e7b518
19
20categories-append   textproc japanese
21depends_lib-append  port:mecab
22
23post-extract {
24    reinplace s|\#!/usr/bin/ruby|\#!${ruby.bin}|g \
25        ${worksrcpath}/test.rb
26}
27
28post-destroot {
29    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
30    xinstall -m 644 ${worksrcpath}/test.rb \
31        ${destroot}${prefix}/share/doc/${name}/examples
32}
Note: See TracBrowser for help on using the repository browser.