forked from Lainports/freebsd-ports
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
25 lines
458 B
Makefile
25 lines
458 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= php-mecab
|
|
PORTVERSION= 0.6.0
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= gasol.wu@gmail.com
|
|
COMMENT= PHP bindings of the MeCab
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libmecab.so:japanese/mecab
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rsky
|
|
|
|
WRKSRC_SUBDIR= mecab
|
|
CONFIGURE_ARGS+= --with-mecab=${LOCALBASE}/bin/mecab-config
|
|
USES= php:ext tar:tgz
|
|
PHP_MODNAME= mecab
|
|
|
|
.include <bsd.port.mk>
|