aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-08-23 01:34:51 +0800
committerswills <swills@FreeBSD.org>2014-08-23 01:34:51 +0800
commitb470d71fa74ef8fc6f8ef0a079c520755d114447 (patch)
treef6fe549f6feb0fa48578e76f365b7f880d33239f
parent033a59b136a4b9306e4b7aed58990b4004389b60 (diff)
downloadfreebsd-ports-gnome-b470d71fa74ef8fc6f8ef0a079c520755d114447.tar.gz
freebsd-ports-gnome-b470d71fa74ef8fc6f8ef0a079c520755d114447.tar.zst
freebsd-ports-gnome-b470d71fa74ef8fc6f8ef0a079c520755d114447.zip
japanese/ruby-mecab: fix LICENSE, strip shared library
PR: 191310 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
-rw-r--r--japanese/ruby-mecab/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/japanese/ruby-mecab/Makefile b/japanese/ruby-mecab/Makefile
index 1dcde1294b73..906e9926e7fd 100644
--- a/japanese/ruby-mecab/Makefile
+++ b/japanese/ruby-mecab/Makefile
@@ -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}