japanese/ruby-mecab: fix LICENSE, strip shared library

PR:		191310
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
This commit is contained in:
Steve Wills 2014-08-22 17:34:51 +00:00
parent 4a5863d7c6
commit 2043f8f6fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365680

View File

@ -3,6 +3,7 @@
PORTNAME= mecab
PORTVERSION= 0.996
PORTREVISION= 1
CATEGORIES= japanese textproc ruby
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
@ -10,7 +11,7 @@ DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
MAINTAINER= ruby@FreeBSD.org
COMMENT= MeCab library module for Ruby
LICENSE= BSD GPLv2 LGPL21
LICENSE= BSD3CLAUSE GPLv2 LGPL21
LICENSE_COMB= dual
LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab
@ -28,6 +29,7 @@ OPTIONSFILE= ${PORT_DBDIR}/ja-ruby-${PORTNAME}/options
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
post-install:
${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/MeCab.so
@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
${INSTALL_DATA} ${WRKSRC}/bindings.html ${STAGEDIR}${RUBY_MODDOCDIR}/
@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}