[56475] contrib/mpvim/syntax/portfile.vim

mnick at macports.org mnick at macports.org
Fri Aug 28 05:43:59 PDT 2009


Revision: 56475
          http://trac.macports.org/changeset/56475
Author:   mnick at macports.org
Date:     2009-08-28 05:43:57 -0700 (Fri, 28 Aug 2009)
Log Message:
-----------
MacPorts 1.8.0 changes:
* add license, conflicts, replaced_by keywords
* change svn.tag to svn.revision
* add depends_{extract|fetch} keywords
* change livecheck.check to livecheck.type

Modified Paths:
--------------
    contrib/mpvim/syntax/portfile.vim

Modified: contrib/mpvim/syntax/portfile.vim
===================================================================
--- contrib/mpvim/syntax/portfile.vim	2009-08-28 12:10:30 UTC (rev 56474)
+++ contrib/mpvim/syntax/portfile.vim	2009-08-28 12:43:57 UTC (rev 56475)
@@ -32,7 +32,8 @@
 
 syn keyword PortfileOptional 	PortGroup epoch revision worksrcdir distname platform
 syn keyword PortfileOptional 	use_automake use_autoconf use_configure
-syn keyword PortfileOptional 	patch_sites distfiles dist_subdir
+syn keyword PortfileOptional 	patch_sites distfiles dist_subdir license conflicts
+syn keyword PortfileOptional 	replaced_by
 
 syn keyword PortfileOptional 	checksums nextgroup=PortfileChecksums skipwhite
 syn region PortfileChecksums 	matchgroup=Normal start="" skip="\\$" end="$" contained contains=PortfileChecksumsType
@@ -43,7 +44,7 @@
 " Fetch phase options
 syn match PortfilePhasesFetch   "fetch\.\(type\|user\|password\|use_epsv\|ignore_sllcert\)"
 syn match PortfilePhasesFetch 	"cvs\.\(root\|password\|tag\|date\|module\)"
-syn match PortfilePhasesFetch 	"svn\.\(url\|tag\)"
+syn match PortfilePhasesFetch 	"svn\.\(url\|revision\)"
 syn match PortfilePhasesFetch 	"git\.\(url\|branch\)"
 syn match PortfilePhasesFetch 	"hg\.\(url\|tag\)"
 
@@ -95,7 +96,7 @@
 syn match PortfileDefaultVariants 		"\([+|\-][a-zA-Z0-9_]\+\s*\)\+" contained
 
 " Dependencies
-syn match PortfileDepends 			"depends_\(\(lib\|build\|run\)\(-\(append\|delete\)\)\?\)" nextgroup=PortfileDependsEntries skipwhite
+syn match PortfileDepends 			"depends_\(\(lib\|build\|run\|fetch\|extract\)\(-\(append\|delete\)\)\?\)" nextgroup=PortfileDependsEntries skipwhite
 syn region PortfileDependsEntries 	matchgroup=Normal start="" skip="\\$" end="$" contains=PortfileDependsEntry contained
 syn match PortfileDependsEntry 		"\(port\|bin\):" contained
 
@@ -103,7 +104,7 @@
 syn match PortfileOptional 			"startupitem\.\(start\|stop\|restart\|init\|pidfile\)"
 
 " Livecheck / Distcheck
-syn match PortfileOptional 			"livecheck\.\(check\|name\|distname\|version\|url\|regex\|md5\)"
+syn match PortfileOptional 			"livecheck\.\(type\|name\|distname\|version\|url\|regex\|md5\)"
 syn keyword PortfileOptional 		distcheck.check
 
 " Notes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090828/dd6005c8/attachment.html>


More information about the macports-changes mailing list