aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-MeCab
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2014-11-08 09:12:59 +0000
committerKurt Jaeger <pi@FreeBSD.org>2014-11-08 09:12:59 +0000
commitbc4b51938e4783db181215fb4777d63dc64c5dcb (patch)
tree8a22881fb7d37b28d43db0b76e47bb45176f6801 /japanese/p5-MeCab
parentc13b88560463f95899529137aaa8c3e79a98fca1 (diff)
downloadports-bc4b51938e4783db181215fb4777d63dc64c5dcb.tar.gz
ports-bc4b51938e4783db181215fb4777d63dc64c5dcb.zip
Notes
Diffstat (limited to 'japanese/p5-MeCab')
-rw-r--r--japanese/p5-MeCab/Makefile8
-rw-r--r--japanese/p5-MeCab/pkg-plist2
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%%