blob: a3bea48931405b177ef43d05c36fba1c3342c91c (
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
|
# New ports collection makefile for: php5-mecab
# Date created: 31 Aug 2006
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $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
DEFAULT_PHP_VER=5
USE_PHPEXT= yes
CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config
CONFIGURE_ENV= LIBS="${LIBS} ${PTHREAD_LIBS}"
CFLAGS+= ${PTHREAD_CFLAGS}
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}php5-
.include <bsd.port.post.mk>
|