aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/php5-mecab/Makefile
blob: b99e00e08486ba908c0d32d7ed78f7167880b6f8 (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
# $FreeBSD$

PORTNAME=   mecab
PORTVERSION=    0.5.0
PORTREVISION=   1
CATEGORIES= japanese
MASTER_SITES=   https://github.com/downloads/rsky/php-${PORTNAME}/
DISTNAME=   php-mecab-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    PHP5 extension for MeCab Morphological Analyzer

LIB_DEPENDS=    libmecab.so:japanese/mecab

USES=       php:ext
IGNORE_WITH_PHP=    70 71 72
CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${PHP_PKGNAMEPREFIX}

.include <bsd.port.post.mk>