[65587] trunk/dports/devel/cmake/Portfile

css at macports.org css at macports.org
Sun Mar 28 09:30:10 PDT 2010


Revision: 65587
          http://trac.macports.org/changeset/65587
Author:   css at macports.org
Date:     2010-03-28 09:30:07 -0700 (Sun, 28 Mar 2010)
Log Message:
-----------
Add the vim cmake syntax file during installation. refs #24251

Modified Paths:
--------------
    trunk/dports/devel/cmake/Portfile

Modified: trunk/dports/devel/cmake/Portfile
===================================================================
--- trunk/dports/devel/cmake/Portfile	2010-03-28 16:09:42 UTC (rev 65586)
+++ trunk/dports/devel/cmake/Portfile	2010-03-28 16:30:07 UTC (rev 65587)
@@ -6,6 +6,7 @@
 
 name		cmake
 version		2.8.1
+revision	1
 categories	devel
 maintainers	css
 description	Cross-platform make
@@ -34,9 +35,11 @@
 	xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp
 	xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \
 		${destroot}${prefix}/share/emacs/site-lisp
-	xinstall -d -m 0755 ${destroot}${prefix}/share/doc/cmake
-	xinstall -m 0644 -W ${worksrcpath}/Docs cmake-indent.vim \
-		cmake-syntax.vim ${destroot}${prefix}/share/doc/cmake
+	foreach type {syntax indent} {
+		xinstall -d -m 0755 ${destroot}${prefix}/share/vim/vimfiles/${type}
+		xinstall -m 0644 -W ${worksrcpath}/Docs cmake-${type}.vim \
+			${destroot}${prefix}/share/vim/vimfiles/${type}
+	}
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100328/cf368754/attachment.html>


More information about the macports-changes mailing list