875dd80d70
Reset PKGREVISION with updating of all lang/php* packages.
19 lines
509 B
Makefile
19 lines
509 B
Makefile
# $NetBSD: Makefile,v 1.6 2018/01/05 03:14:52 taca 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"
|