201207451f
- Unbreak on some conditions. - Update WWW: line. No response from: maintainer
38 lines
910 B
Makefile
38 lines
910 B
Makefile
# New ports collection makefile for: ruby-mecab
|
|
# Date created: 23 April 2003
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ${MECAB_PORTNAME}
|
|
PORTVERSION= ${MECAB_PORTVERSION}
|
|
CATEGORIES= japanese textproc ruby
|
|
MASTER_SITES= http://chasen.org/~taku/software/mecab/bindings/
|
|
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
COMMENT= MeCab library module for Ruby
|
|
|
|
LIB_DEPENDS= mecab.0:${MECAB_PORTDIR}
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
.include "${.CURDIR}/../mecab/Makefile.common"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/bindings.html ${RUBY_MODDOCDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|