forked from Lainports/freebsd-ports
Bump PORTREVISION for www/nginx-devel. <ChangeLog> *) Bugfix: fixed Fetch Response prototype reinitialization. When at least one js_import directive was declared in both HTTP and Stream, ngx.fetch() returned inapproriate response in Stream. The bug was introduced in 0.7.7. Core: *) Bugfix: fixed String.prototype.replace(re) if re.exec() returns non-flat array. *) Bugfix: fixed Array.prototype.fill() when start object changes "this". *) Bugfix: fixed description for fs.mkdir() and fs.rmdir() methods. *) Bugfix: fixed %TypedArray%.prototype.set(s) when s element changes "this". *) Bugfix: fixed Array.prototype.splice(s, d) when d resizes "this" during evaluation. *) Bugfix: fixed for-in loop with left and right hand side expressions. </ChangeLog>
44 lines
830 B
Makefile
44 lines
830 B
Makefile
PORTNAME= njs
|
|
DISTVERSION= 0.7.9
|
|
CATEGORIES= lang www
|
|
|
|
MAINTAINER= osa@FreeBSD.org
|
|
COMMENT= NGINX JavaScript command line utility
|
|
WWW= https://nginx.org/en/docs/njs/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cpe ssl
|
|
|
|
CPE_VENDOR= f5
|
|
|
|
USE_GITHUB= yes
|
|
GH_TUPLE= nginx:njs:${DISTVERSION}
|
|
HAS_CONFIGURE= yes
|
|
|
|
FLAVORS= pcre pcre2
|
|
FLAVOR?= ${FLAVORS:[1]}
|
|
|
|
pcre_PKGNAMESUFFIX=
|
|
pcre2_PKGNAMESUFFIX= -pcre2
|
|
|
|
pcre_CONFLICTS_INSTALL= ${PORTNAME}-pcre2
|
|
pcre2_CONFLICTS_INSTALL= ${PORTNAME}
|
|
|
|
.if ${FLAVOR} == pcre
|
|
LIB_DEPENDS= libpcre.so:devel/pcre
|
|
CONFIGURE_FLAGS+= --no-pcre2
|
|
.else
|
|
LIB_DEPENDS= libpcre2-8.so:devel/pcre2
|
|
.endif
|
|
|
|
PLIST_FILES= bin/njs
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} njs
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/build/njs ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|