mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
* homepage to http://taku910.github.io/mecab/ * master_sites to macports_distfiles:mecab
39 lines
1.1 KiB
Tcl
39 lines
1.1 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup ruby 1.0
|
|
|
|
ruby.setup MeCab 0.996 extconf.rb {} {} ruby19
|
|
|
|
categories-append textproc japanese
|
|
maintainers nomaintainer
|
|
|
|
description a Ruby module for MeCab
|
|
long_description ${description}
|
|
|
|
homepage http://taku910.github.io/mecab/
|
|
platforms darwin
|
|
license {GPL LGPL BSD}
|
|
|
|
master_sites macports_distfiles: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
|