git: 9e2f203aa66e - main - www/nginx: changes in the njs module

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Sat, 12 Mar 2022 21:53:52 UTC
The branch main has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e2f203aa66ed3a8ee1497230ef0c4336ad91303

commit 9e2f203aa66ed3a8ee1497230ef0c4336ad91303
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2022-03-12 21:50:09 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2022-03-12 21:53:46 +0000

    www/nginx: changes in the njs module
    
    @osa has brought lang/njs into the ports, so we can safely remove `njs' command-line utility installation from the www/nginx.
    
    PR:     262491
    Reported by:    osa
    Sponsored by:   Netzkommune GmbH
---
 www/nginx/Makefile  | 4 +---
 www/nginx/pkg-plist | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 35a3388505b5..04bf391f34a8 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	nginx
 PORTVERSION=	1.20.2
-PORTREVISION?=	8
+PORTREVISION?=	9
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	https://nginx.org/download/ \
@@ -350,8 +350,6 @@ do-install-NAXSI-on:
 	${WRKDIR}/naxsi-${NAXSI_NGINX_VER}/naxsi_config/naxsi_core.rules \
 	${STAGEDIR}${ETCDIR}
 
-do-install-NJS-on:
-	${INSTALL_PROGRAM} ${WRKSRC_njs}/build/njs ${STAGEDIR}${PREFIX}/sbin
 .endif
 
 .if !target(post-install)
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist
index f89602212b70..db67d46b9121 100644
--- a/www/nginx/pkg-plist
+++ b/www/nginx/pkg-plist
@@ -89,7 +89,6 @@
 %%WWW%%www/nginx-dist/50x.html
 %%WWW%%@postexec chmod a-w %D/www/nginx-dist
 %%WWW%%@postunexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
-%%NJS%%sbin/njs
 sbin/nginx
 share/vim/vimfiles/ftdetect/nginx.vim
 share/vim/vimfiles/ftplugin/nginx.vim