diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2014-11-08 09:12:59 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2014-11-08 09:12:59 +0000 |
commit | bc4b51938e4783db181215fb4777d63dc64c5dcb (patch) | |
tree | 8a22881fb7d37b28d43db0b76e47bb45176f6801 /japanese | |
parent | New port: devel/p5-Term-ReadLine (diff) |
japanese/p5-MeCab: some fixes
- Fix LICENSE(BSD -> BSD3CLAUSE)
- Strip shared library
- Remove unnecessary .if ${PORT_OPTIONS:MEXAMPLES} ... .endif
- remove @dir* from pkg-plist
PR: 191308
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Notes
Notes:
svn path=/head/; revision=372308
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/p5-MeCab/Makefile | 8 | ||||
-rw-r--r-- | japanese/p5-MeCab/pkg-plist | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/japanese/p5-MeCab/Makefile b/japanese/p5-MeCab/Makefile index 1e56865beec5..844c0384340f 100644 --- a/japanese/p5-MeCab/Makefile +++ b/japanese/p5-MeCab/Makefile @@ -3,6 +3,7 @@ PORTNAME= MeCab PORTVERSION= 0.996 +PORTREVISION= 1 CATEGORIES= japanese textproc perl5 MASTER_SITES= GOOGLE_CODE PROJECTHOST= ${PORTNAME:tl} @@ -11,7 +12,7 @@ DISTNAME= ${PORTNAME:tl}-perl-${PORTVERSION} MAINTAINER= perl@FreeBSD.org COMMENT= MeCab library module for Perl5 -LICENSE= BSD GPLv2 LGPL21 +LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= dual LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab @@ -26,10 +27,11 @@ OPTIONSFILE= ${PORT_DBDIR}/ja-p5-${PORTNAME}/options PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- -.if ${PORT_OPTIONS:MEXAMPLES} +pre-install: + ${STRIP_CMD} ${WRKSRC}/blib/arch/auto/MeCab/MeCab.so + post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.pl ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.post.mk> diff --git a/japanese/p5-MeCab/pkg-plist b/japanese/p5-MeCab/pkg-plist index 13cbdb506ffc..2d3b6ba00141 100644 --- a/japanese/p5-MeCab/pkg-plist +++ b/japanese/p5-MeCab/pkg-plist @@ -1,6 +1,4 @@ %%SITE_PERL%%/%%PERL_ARCH%%/MeCab.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab/MeCab.so -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MeCab %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.pl -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |