1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/japanese/p5-MeCab/Makefile
Muhammad Moinur Rahman 78170a36df japanese/p5-MeCab: Fix build with llvm16
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-07-23 12:50:18 +02:00

36 lines
791 B
Makefile

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
WWW= https://code.google.com/p/mecab/
LICENSE= BSD3CLAUSE GPLv2 LGPL21
LICENSE_COMB= dual
LIB_DEPENDS= libmecab.so:japanese/mecab
USES= perl5
USE_PERL5= configure
CFLAGS+= --std=c++14
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>