Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
include vim syntax files for nginx?
To:
Robert Nagy <robert@openbsd.org>
Cc:
ports <ports@openbsd.org>
Date:
Fri, 19 Jun 2026 11:56:23 +0100

Download raw body.

Thread
  • Stuart Henderson:

    include vim syntax files for nginx?

is this ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/nginx/Makefile,v
diff -u -p -r1.205 Makefile
--- Makefile	18 Jun 2026 04:59:10 -0000	1.205
+++ Makefile	19 Jun 2026 10:55:37 -0000
@@ -20,6 +20,7 @@ COMMENT-stream=		nginx TCP/UDP proxy mod
 COMMENT-xslt=		nginx XSLT filter module
 
 VERSION=	1.30.3
+REVISION-main=	0
 DISTNAME=	nginx-${VERSION}
 CATEGORIES=	www
 
@@ -242,5 +243,6 @@ do-install:
 		${PREFIX}/${P5ARCH}/
 	${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \
 		${PREFIX}/${P5ARCH}/auto/nginx/
+	cp -r ${WRKSRC}/contrib/vim ${PREFIX}/share/vim
 
 .include <bsd.port.mk>
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/www/nginx/pkg/PLIST-main,v
diff -u -p -r1.4 PLIST-main
--- pkg/PLIST-main	11 Mar 2022 20:10:10 -0000	1.4
+++ pkg/PLIST-main	19 Jun 2026 10:55:37 -0000
@@ -36,3 +36,12 @@ share/nginx/uwsgi_params
 @sample ${SYSCONFDIR}/nginx/uwsgi_params
 share/nginx/win-utf
 @sample ${SYSCONFDIR}/nginx/win-utf
+share/vim/
+share/vim/ftdetect/
+share/vim/ftdetect/nginx.vim
+share/vim/ftplugin/
+share/vim/ftplugin/nginx.vim
+share/vim/indent/
+share/vim/indent/nginx.vim
+share/vim/syntax/
+share/vim/syntax/nginx.vim