pkgsrc/textproc/php-json/Makefile
taca 875dd80d70 lang/php: reset PKGREVISION
Reset PKGREVISION with updating of all lang/php* packages.
2018-01-05 03:14:52 +00:00

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"