3a74315ff4
c++ -I. -I/wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0/include -I/wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0/main -I/wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/cld -DHAVE_CONFIG_H -Wall -Wno-write-strings -c /wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0/cld.cc -fPIC -DPIC -o .libs/cld.o /wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0/cld.cc:33:30: error: compact_lang_det.h: No such file or directory /wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0/cld.cc:34:26: error: ext_lang_enc.h: No such file or directory /wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0/cld.cc:35:22: error: lang_enc.h: No such file or directory /wrkdirs/usr/ports/textproc/pecl-cld/work/cld-0.5.0/cld.cc:36:30: error: base/string_util.h: No such file or directory ... Reported by: pkg-fallout
30 lines
648 B
Makefile
30 lines
648 B
Makefile
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cld
|
|
PORTVERSION= 0.5.0
|
|
CATEGORIES= textproc pear
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
DIST_SUBDIR= PECL
|
|
|
|
MAINTAINER= gasol.wu@gmail.com
|
|
COMMENT= PHP Bindings for Chromium Compact Language Detector
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
BROKEN= Missing headers with cld 20150113
|
|
|
|
LIB_DEPENDS= libcld.so:${PORTSDIR}/devel/cld
|
|
|
|
CONFIGURE_ARGS= --enable-cld --with-libcld-dir=${LOCALBASE}/lib
|
|
USES= tar:tgz
|
|
USE_PHP= yes
|
|
USE_PHP_BUILD= yes
|
|
USE_PHPIZE= yes
|
|
USE_PHPEXT= yes
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/php/${PHP_EXT_DIR}/cld.so
|
|
|
|
.include <bsd.port.mk>
|