blob: bfb222577bf8d5b112e304996a4e98089e5cfffb (
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
|
# $FreeBSD$
PORTNAME= mecab
PORTVERSION= 0.4.0
CATEGORIES= japanese
MASTER_SITES= http://www.opendogs.org/pub/ \
http://dist.bsdlab.org/
DISTNAME= php_mecab-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= A PHP5 extension for MeCab Morphological Analyzer
LIB_DEPENDS= mecab:${PORTSDIR}/japanese/mecab
USE_PHP= yes
USE_PHPEXT= yes
DEFAULT_PHP_VER=53
IGNORE_WITH_PHP=5
CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config
CONFIGURE_ENV= LIBS="${LIBS} ${PTHREAD_LIBS}"
CFLAGS+= ${PTHREAD_CFLAGS}
NO_STAGE= yes
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}php5-
.include <bsd.port.post.mk>
|