aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-MeCab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/p5-MeCab/Makefile')
-rw-r--r--japanese/p5-MeCab/Makefile8
1 files changed, 5 insertions, 3 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>