aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/php-cconv/Makefile
blob: 5e98e6c84faa38da973cd6f00edb5da2948b9c48 (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
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   cconv
PORTVERSION=    0.6.4
CATEGORIES= chinese converters
MASTER_SITES=   GOOGLE_CODE
PKGNAMEPREFIX=  php-
DISTNAME=   ${PORTNAME}-php-${PORTVERSION}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    PHP wrapper for chinese/cconv

LICENSE=    GPLv2

LIB_DEPENDS=    libcconv.so:${PORTSDIR}/chinese/cconv

CONFIGURE_ARGS= --with-cconv-dir=${LOCALBASE}
USE_PHP=    yes
USE_PHPEXT= yes

post-patch:
    @${REINPLACE_CMD} -e 's| function_entry| zend_function_entry|' ${WRKSRC}/php_cconv.c

.include <bsd.port.mk>