# -*- 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.994 extconf.rb {} {} ruby19 categories-append textproc japanese maintainers hum gmail.com:rsky0711 openmaintainer description a Ruby module for MeCab long_description ${description} master_sites googlecode:mecab checksums rmd160 cfd828e6090a915c2655e46c5e208885bd099ed4 \ sha256 16f9c6de6a90fb11d07f191ea646217e9006a6aec3f90f386b476ce51e611269 homepage http://mecab.sourceforge.net/ platforms darwin license {GPL LGPL BSD} 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