aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/php5-mecab/Makefile
blob: 4de655a2e21def5023824d504a4bb4c0292bef97 (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
CATEGORIES= japanese
MASTER_SITES=   http://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:${PORTSDIR}/japanese/mecab

USE_PHP=    yes
USE_PHPEXT= yes
IGNORE_WITH_PHP=    70
CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:= ${PKGNAMEPREFIX}php5-

.include <bsd.port.post.mk>