Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 09:41:10 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465281 - head/www/nginx
Message-ID:  <201803220941.w2M9fAO3067870@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Thu Mar 22 09:41:10 2018
New Revision: 465281
URL: https://svnweb.freebsd.org/changeset/ports/465281

Log:
  Install vim syntax files.
  
  PR:		226457
  Submitted by:	mat
  Approved by:	maintainer timeout
  Sponsored by:	Absolight

Modified:
  head/www/nginx/Makefile   (contents, props changed)
  head/www/nginx/pkg-plist   (contents, props changed)

Modified: head/www/nginx/Makefile
==============================================================================
--- head/www/nginx/Makefile	Thu Mar 22 09:35:54 2018	(r465280)
+++ head/www/nginx/Makefile	Thu Mar 22 09:41:10 2018	(r465281)
@@ -3,7 +3,7 @@
 
 PORTNAME=	nginx
 PORTVERSION=	1.12.2
-PORTREVISION?=	10
+PORTREVISION?=	11
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	http://nginx.org/download/
@@ -1330,6 +1330,8 @@ do-install:
 .endif
 
 post-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles
+	cd ${WRKSRC}/contrib/vim && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/vim/vimfiles
 .if ${PORT_OPTIONS:MHTTP} && ${PORT_OPTIONS:MHTTP_PERL}
 	${ECHO_CMD} ${SITE_ARCH_REL}/auto/nginx/nginx.so >> ${TMPPLIST}
 	${ECHO_CMD} ${SITE_ARCH_REL}/nginx.pm >> ${TMPPLIST}

Modified: head/www/nginx/pkg-plist
==============================================================================
--- head/www/nginx/pkg-plist	Thu Mar 22 09:35:54 2018	(r465280)
+++ head/www/nginx/pkg-plist	Thu Mar 22 09:41:10 2018	(r465281)
@@ -14,6 +14,10 @@
 %%WWWDATA%%@exec chmod a-w %D/www/nginx-dist
 %%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
 sbin/nginx
+share/vim/vimfiles/ftdetect/nginx.vim
+share/vim/vimfiles/ftplugin/nginx.vim
+share/vim/vimfiles/indent/nginx.vim
+share/vim/vimfiles/syntax/nginx.vim
 @dir %%NGINX_TMPDIR%%
 @dir %%NGINX_LOGDIR%%
 man/man8/nginx.8.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803220941.w2M9fAO3067870>