summaryrefslogtreecommitdiff
path: root/devel/pecl-jsonc/Makefile
blob: 46438cd151bca0c67bb43834e11e0e0f2bf09fbc (plain)
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
26
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$

PORTNAME=	jsonc
PORTVERSION=	1.3.7
CATEGORIES=	devel
MASTER_SITES=	http://pecl.php.net/get/
PKGNAMEPREFIX=	pecl-
DIST_SUBDIR=	PECL

MAINTAINER=	gasol.wu@gmail.com
COMMENT=	PECL extension for JSON manipulation

LICENSE=	PHP301

LIB_DEPENDS=	libjson-c.so:${PORTSDIR}/devel/json-c

USES=		pkgconfig tar:tgz
CONFIGURE_ARGS=	--with-jsonc --with-libjson
MAKE_ARGS=	EXTRA_CFLAGS=-DCOMPILE_DL_JSON=1
USE_PHP=	yes
USE_PHPEXT=	yes
IGNORE_WITH_PHP=70
CONFLICTS_INSTALL=	php54-json-5* php55-json-5* php5-json-5*

.include <bsd.port.mk>