aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/php5-mecab/Makefile
blob: efe112369d76577c5cef44ca6e8a11b4c9feaf8a (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
33
34
35
36
# New ports collection makefile for:    php5-mecab
# Date created:     31 Aug 2006
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mecab
PORTVERSION=    0.0.2
CATEGORIES= japanese
MASTER_SITES=   http://page2.xrea.jp/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

BROKEN=     Does not compile
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2007-04-10

USE_PHP=    yes
DEFAULT_PHP_VER=5
USE_PHPEXT= yes
CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config
CONFIGURE_ENV=  CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
        LIBS="${LIBS} ${PTHREAD_LIBS}"

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:= ${PKGNAMEPREFIX}php5-

.include <bsd.port.post.mk>