diff options
Diffstat (limited to 'archivers/php-brotli/Makefile')
-rw-r--r-- | archivers/php-brotli/Makefile | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/archivers/php-brotli/Makefile b/archivers/php-brotli/Makefile index dedbbbde7b37..7e93ed31ee47 100644 --- a/archivers/php-brotli/Makefile +++ b/archivers/php-brotli/Makefile @@ -1,5 +1,5 @@ PORTNAME= brotli -DISTVERSION= 0.13.1 +DISTVERSION= 0.18.2 CATEGORIES= archivers PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} @@ -8,27 +8,17 @@ COMMENT= Brotli extension for PHP WWW= https://github.com/kjdev/php-ext-brotli LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= re2c>0:devel/re2c LIB_DEPENDS= libbrotlienc.so:archivers/brotli -USES= dos2unix libtool php:ext pkgconfig +USES= php:ext pkgconfig USE_GITHUB= yes GH_ACCOUNT= kjdev GH_PROJECT= php-ext-brotli +PHP_MODNAME= ${PORTNAME} -USE_LDCONFIG= yes - -GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libbrotli -PHP_MODNAME= brotli - -.include <bsd.port.pre.mk> -post-patch: -.if ${PHP_VER} >= 85 - @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string.h|Zend/zend_smart_string.h|' \ - ${WRKSRC}/brotli.c -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |