[101966] contrib/mpvim/syntax/portfile.vim
larryv at macports.org
larryv at macports.org
Wed Jan 23 00:09:45 PST 2013
Revision: 101966
https://trac.macports.org/changeset/101966
Author: larryv at macports.org
Date: 2013-01-23 00:09:45 -0800 (Wed, 23 Jan 2013)
Log Message:
-----------
mpvim: Add keywords "categories-{append,delete}" and "startupitem.logfile"; remove redundant "use_{automake,autoconf,configure}".
Modified Paths:
--------------
contrib/mpvim/syntax/portfile.vim
Modified: contrib/mpvim/syntax/portfile.vim
===================================================================
--- contrib/mpvim/syntax/portfile.vim 2013-01-23 07:36:50 UTC (rev 101965)
+++ contrib/mpvim/syntax/portfile.vim 2013-01-23 08:09:45 UTC (rev 101966)
@@ -30,12 +30,12 @@
syn match PortfileYesNo "\(yes\|no\)" contained
syn keyword PortfileRequired PortSystem name version maintainers
-syn keyword PortfileRequired homepage master_sites categories platforms
+syn keyword PortfileRequired homepage master_sites platforms
+syn match PortfileRequired "^categories\%(-\%(append\|delete\)\)\?"
syn match PortfileRequired "^\(long_\)\?description" nextgroup=PortfileDescription skipwhite
syn region PortfileDescription matchgroup=Normal start="" skip="\\$" end="$" contained
syn keyword PortfileOptional PortGroup epoch revision worksrcdir distname
-syn keyword PortfileOptional use_automake use_autoconf use_configure
syn keyword PortfileOptional patch_sites distfiles dist_subdir license conflicts
syn keyword PortfileOptional replaced_by supported_archs
@@ -113,7 +113,7 @@
" StartupItems
syn match PortfileStartupPid "\(none\|auto\|clean\|manual\)" contained
-syn match PortfileOptional "startupitem\.\(start\|stop\|restart\|init\|executable\)"
+syn match PortfileOptional "startupitem\.\(start\|stop\|restart\|init\|executable\|logfile\)"
syn match PortfileOptional "startupitem\.\(create\|logevents\|netchange\)" nextgroup=PortfileYesNo skipwhite
syn match PortfileOptional "startupitem\.pidfile" nextgroup=PortfileStartupPid skipwhite
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130123/9cb6ab6b/attachment-0001.html>
More information about the macports-changes
mailing list