# Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= mecab PORTVERSION= 0.996 CATEGORIES= japanese textproc ruby MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} MAINTAINER= ruby@FreeBSD.org COMMENT= MeCab library module for Ruby LICENSE= BSD GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= mecab:${PORTSDIR}/japanese/mecab USE_RUBY= yes USE_RUBY_EXTCONF= yes INSTALL_TARGET= site-install OPTIONS_DEFINE= DOCS EXAMPLES OPTIONSFILE= ${PORT_DBDIR}/ja-ruby-${PORTNAME}/options .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} post-install: @${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} ${INSTALL_DATA} ${WRKSRC}/bindings.html ${STAGEDIR}${RUBY_MODDOCDIR}/ @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.rb ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ .include