[34039] trunk/dports/editors/vim

raimue at macports.org raimue at macports.org
Sun Feb 10 18:51:11 PST 2008


Revision: 34039
          http://trac.macosforge.org/projects/macports/changeset/34039
Author:   raimue at macports.org
Date:     2008-02-10 18:51:11 -0800 (Sun, 10 Feb 2008)

Log Message:
-----------
editors/vim, editors/vim-app:
Cleanup.

Modified Paths:
--------------
    trunk/dports/editors/vim/Portfile
    trunk/dports/editors/vim-app/Portfile

Modified: trunk/dports/editors/vim/Portfile
===================================================================
--- trunk/dports/editors/vim/Portfile	2008-02-11 02:49:44 UTC (rev 34038)
+++ trunk/dports/editors/vim/Portfile	2008-02-11 02:51:11 UTC (rev 34039)
@@ -7,8 +7,7 @@
 set vim_patchlevel  245
 version             ${vim_version}.${vim_patchlevel}
 categories          editors
-maintainers         raimue \
-                    openmaintainer
+maintainers         raimue
 description         Vi \"workalike\" with many additional features
 long_description \
     Vim is an advanced text editor that seeks to provide the power of the   \
@@ -57,6 +56,12 @@
       ${workpath}"
 }
 
+post-patch {
+	set features [open ${worksrcpath}/src/feature.h a+]
+	puts $features "#define SYS_VIMRC_FILE \"${prefix}/etc/vimrc\""
+	close $features
+}
+
 test.run            yes
 
 variant athena description {Build GUI version using Athena widgets} conflicts gtk1 gtk2 motif {
@@ -125,12 +130,6 @@
 include serverlist
 include patchlist
 
-post-patch {
-	set features [open ${worksrcpath}/src/feature.h a+]
-	puts $features "#define SYS_VIMRC_FILE \"${prefix}/etc/vimrc\""
-	close $features
-}
-
 livecheck.check regex
 livecheck.url   http://ftp.vim.org/pub/${name}/patches/${vim_version}/?O=D
 livecheck.regex (${vim_version}\.\\d+)

Modified: trunk/dports/editors/vim-app/Portfile
===================================================================
--- trunk/dports/editors/vim-app/Portfile	2008-02-11 02:49:44 UTC (rev 34038)
+++ trunk/dports/editors/vim-app/Portfile	2008-02-11 02:51:11 UTC (rev 34039)
@@ -70,6 +70,12 @@
     system "gnutar xvfz ${distpath}/doc.tar.gz -C ${workpath}"
 }
 
+post-patch {
+	set features [open ${worksrcpath}/src/feature.h a+]
+	puts $features "#define SYS_VIMRC_FILE \"${prefix}/etc/vimrc\""
+	close $features
+}
+
 test.run            yes
 
 destroot {
@@ -157,12 +163,6 @@
 include serverlist
 include patchlist
 
-post-patch {
-	set features [open ${worksrcpath}/src/feature.h a+]
-	puts $features "#define SYS_VIMRC_FILE \"${prefix}/etc/vimrc\""
-	close $features
-}
-
 livecheck.check regex
 livecheck.url   http://ftp.vim.org/pub/${realname}/patches/${vim_version}/?O=D
 livecheck.regex (${vim_version}\.\\d+)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080210/0748fa2d/attachment.html


More information about the macports-changes mailing list