diff options
Diffstat (limited to 'archivers/php-brotli/Makefile')
| -rw-r--r-- | archivers/php-brotli/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/archivers/php-brotli/Makefile b/archivers/php-brotli/Makefile index dedbbbde7b37..bcd834ae8a6d 100644 --- a/archivers/php-brotli/Makefile +++ b/archivers/php-brotli/Makefile @@ -1,34 +1,25 @@ PORTNAME= brotli -DISTVERSION= 0.13.1 +DISTVERSION= 0.18.2 +PORTREVISION= 1 CATEGORIES= archivers PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} -MAINTAINER= daniel@shafer.cc +MAINTAINER= pkaipila@gmail.com 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> |
