Files
ports/devel/php-raphf/Makefile
T
Muhammad Moinur Rahman 845e719864 devel/{pecl|php}-raphf2?: Convert port
A facility to manage possibly persistent resources with a comprehensible
API. Provides simliar functionality like the zend_list API, but with
more flexiblity and freedom.

Please note that pecl infrastructure is being deprecated so create a
different port which is not dependent on pecl infrastructure.

This commit also removes pecl-raphf2 ports in lieu of this port and
updates reverse dependency.

WWW: https://github.com/m6w6/ext-raphf/
2026-07-12 03:34:11 +02:00

29 lines
582 B
Makefile

PORTNAME= raphf
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.2
CATEGORIES= devel
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Resource and persistent handles factory
WWW= https://github.com/m6w6/ext-raphf
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake php:ext
USE_GITHUB= yes
GH_ACCOUNT= m6w6
GH_PROJECT= ext-raphf
.include <bsd.port.pre.mk>
post-patch:
.if ${PHP_VER} >= 86
@${REINPLACE_CMD} -e 's|ZEND_RESULT_CODE|zend_result|g' \
${WRKSRC}/src/php_raphf_api.c \
${WRKSRC}/src/php_raphf_api.h
.endif
.include <bsd.port.post.mk>