# -*- 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 # $Id$ PortSystem 1.0 PortGroup ruby 1.0 ruby.setup MeCab 0.996 extconf.rb {} {} ruby19 categories-append textproc japanese maintainers hum openmaintainer description a Ruby module for MeCab long_description ${description} homepage http://mecab.sourceforge.net/ platforms darwin license {GPL LGPL BSD} master_sites googlecode:mecab checksums rmd160 916fbe29716988936abf19be1728b184b0afc0a6 \ sha256 b75e9731e717cec1c261a27d06c4f7baa696cf2fd4e5e3158df5f8fd65107285 distname mecab-ruby-${version} dist_subdir mecab depends_lib-append path:bin/mecab-config:mecab-utf8 post-patch { reinplace "s|\#!/usr/bin/ruby|\#!${ruby.bin}|g" \ ${worksrcpath}/test.rb } post-destroot { set exdir ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 755 -d ${exdir} xinstall -m 755 ${worksrcpath}/test.rb ${exdir} } livecheck.type none