c3fa6373c8
Reusable split-off of pecl_http's persistent handle and resource factory API.
29 lines
695 B
Makefile
29 lines
695 B
Makefile
# $NetBSD: Makefile,v 1.1 2016/03/12 09:11:01 fhajny Exp $
|
|
|
|
MODNAME= raphf
|
|
PECL_VERSION= 2.0.0
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= rodent@NetBSD.org
|
|
HOMEPAGE= https://pecl.php.net/package/raphf
|
|
COMMENT= Resource and persistent handles factory
|
|
LICENSE= 2-clause-bsd
|
|
|
|
BUILD_DEPENDS+= re2c>=0.13.0.4:../../devel/re2c
|
|
|
|
PHP_VERSIONS_ACCEPTED= 70
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
|
|
INSTALLATION_DIRS+= include/php/ext/raphf
|
|
PLIST_SRC+= PLIST
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/php_raphf.h \
|
|
${DESTDIR}${PREFIX}/include/php/ext/raphf
|
|
${INSTALL_DATA} ${WRKSRC}/src/php_raphf_api.h \
|
|
${DESTDIR}${PREFIX}/include/php/ext/raphf
|
|
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|