blob: b392a9ee2f104e479ab970e7b5a5d528a22247e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# $NetBSD: Makefile,v 1.5.2.1 2018/01/07 18:02:30 bsiegert Exp $
MODNAME= json
CATEGORIES+= textproc
COMMENT= PHP extension for JSON serialization support
CONFIGURE_ARGS+= --enable-${MODNAME}=shared
.include "../../lang/php/ext.mk"
INSTALLATION_DIRS+= include/php/ext/json
JSON_INCLUDES= php_json.h
PLIST_SRC+= ${.CURDIR}/../../textproc/php-json/PLIST
post-install:
${INSTALL_DATA} ${WRKSRC}/${JSON_INCLUDES} \
${DESTDIR}${PREFIX}/include/php/ext/json/${JSON_INCLUDES}
.include "../../mk/bsd.pkg.mk"
|