aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-MeCab/Makefile
blob: 5d939581695d83c3e6807742494f69b9b8f563e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=	MeCab
PORTVERSION=	0.996
PORTREVISION=	2
CATEGORIES=	japanese textproc perl5
MASTER_SITES=	https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7M1pQam5XQjBLcU0&dummy=/
DISTNAME=	${PORTNAME:tl}-perl-${PORTVERSION}

MAINTAINER=	perl@FreeBSD.org
COMMENT=	MeCab library module for Perl5

LICENSE=	BSD3CLAUSE GPLv2 LGPL21
LICENSE_COMB=	dual

LIB_DEPENDS=	libmecab.so:japanese/mecab

USES=		perl5
USE_PERL5=	configure

OPTIONS_DEFINE=	EXAMPLES

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:=	${PKGNAMEPREFIX}p5-

pre-install:
	${STRIP_CMD} ${WRKSRC}/blib/arch/auto/MeCab/MeCab.so

post-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/test.pl ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.post.mk>