# Created by: Sunpoet Po-Chuan Hsieh # $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