file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
26 lines
557 B
Makefile
26 lines
557 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cconv
|
|
PORTVERSION= 0.6.4
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= php-
|
|
CATEGORIES= chinese converters
|
|
MASTER_SITES= GOOGLE_CODE
|
|
PKGNAMEPREFIX= php-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= PHP wrapper for chinese/cconv
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libcconv.so:chinese/cconv
|
|
|
|
CONFIGURE_ARGS= --with-cconv-dir=${LOCALBASE}
|
|
USES= php:ext
|
|
IGNORE_WITH_PHP= 70
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's| function_entry| zend_function_entry|' ${WRKSRC}/php_cconv.c
|
|
|
|
.include <bsd.port.mk>
|