[25090] trunk/dports/editors/vim-app/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun May 13 13:19:28 PDT 2007


Revision: 25090
          http://trac.macosforge.org/projects/macports/changeset/25090
Author:   pipping at macports.org
Date:     2007-05-13 13:19:28 -0700 (Sun, 13 May 2007)

Log Message:
-----------
 * additional update to r25089

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

Modified: trunk/dports/editors/vim-app/Portfile
===================================================================
--- trunk/dports/editors/vim-app/Portfile	2007-05-13 20:16:01 UTC (rev 25089)
+++ trunk/dports/editors/vim-app/Portfile	2007-05-13 20:19:28 UTC (rev 25090)
@@ -3,10 +3,9 @@
 
 name                vim-app
 set realname        vim
-set vim_version     7.0
-set vim_patchlevel  224
+set vim_version     7.1
+set vim_patchlevel  000
 version             ${vim_version}.${vim_patchlevel}
-revision            0
 categories          editors
 maintainers         raimue at codingfarm.de
 description         Vim.app is a GUI version of the famous editor vim.
@@ -15,69 +14,40 @@
 homepage            http://www.vim.org/
 platforms           darwin freebsd
 
-distfiles           ${realname}-${vim_version}.tar.bz2:vim \
-                      ${realname}-${vim_version}-extra.tar.gz:extra \
-                      ${realname}-${vim_version}-lang.tar.gz:extra \
-                      app-bm.tar.gz:app_aqua \
-                      doc.tar.gz:doc_aqua
-
 use_bzip2           yes
 
-set serverList {
-                    ftp://ftp.vim.org/pub/vim/ \
-                      http://ftp.vim.org/pub/vim/ \
-                      ftp://ftp.us.vim.org/pub/vim/ \
-                      ftp://ftp.ca.vim.org/pub/vim/ \
-                      ftp://ftp.nl.vim.org/pub/vim/ \
-                      ftp://ftp.uk.vim.org/pub/vim/ \
-                      ftp://ftp.ie.vim.org/pub/vim/ \
-                      ftp://ftp.is.vim.org/pub/vim/ \
-                      ftp://ftp.pl.vim.org/pub/vim/ \
-                      ftp://ftp.ro.vim.org/pub/vim/ \
-                      ftp://ftp.cz.vim.org/pub/vim/ \
-                      ftp://ftp.sk.vim.org/pub/vim/ \
-                      ftp://ftp.jp.vim.org/pub/vim/ \
-                      ftp://ftp.kr.vim.org/pub/vim/ \
-                      ftp://ftp2.us.vim.org/pub/vim/ \
-                      ftp://ftp9.us.vim.org/pub/vim/ \
-                      ftp://ftp2.nl.vim.org/pub/vim/ \
-                      ftp://ftp3.nl.vim.org/pub/vim/ \
-                      ftp://ftp3.de.vim.org/pub/vim/ \
-                      ftp://ftp2.tw.vim.org/pub/vim/ \
-                      ftp://miroir-francais.fr/pub/vim/ \
-                      ftp://ftp.tw.vim.org/pub/Unix/Editors/Vim/
-}
+distfiles \
+    ${realname}-${vim_version}${extract.suffix}:vim \
+    ${realname}-${vim_version}-extra.tar.gz:extra \
+    ${realname}-${vim_version}-lang.tar.gz:extra \
+    app-bm.tar.gz:app_aqua \
+    doc.tar.gz:doc_aqua
 
-# create list of locations for source, extras, patches from serverList
-foreach server ${serverList} {
-    lappend master_sites ${server}unix/:vim
-    lappend master_sites ${server}extra/:extra
-    lappend patch_sites ${server}patches/${vim_version}
-}
+checksums \
+  ${realname}-${vim_version}${extract.suffix} \
+    md5 44c6b4914f38d6f9aa959640b89da329 \
+    sha1 981e1acecc4d8f15680b6e160de84aed038d857d \
+    rmd160 470775e0d0219cafe7e04dd91199ed7441882456 \
+  ${realname}-${vim_version}-extra.tar.gz \
+    md5 605cc7ae31bcc9d7864bb0bb6025f55d \
+    sha1 65581f63ff3c665e0513ba578d9e80e9e9512aa3 \
+    rmd160 e44bde407fb42233a8fbcc74d96a03650bf863d1 \
+  ${realname}-${vim_version}-lang.tar.gz \
+    md5 144aa049ba70621acf4247f0459f3ee7 \
+    sha1 7c1e2f498e1f8304879e73b88562f9036801c7ee \
+    rmd160 ac38dde9b2e497687f9d046786b3ce1e45f45020 \
+  app-bm.tar.gz \
+    md5 418b9e615a34ae5aad918f5c5a694a44 \
+  doc.tar.gz \
+    md5 692f7874fc617162d0fe110daf39a98a
+
+dist_subdir         vim
+distname            vim[strsed ${vim_version} {g/\.//}]
+
 master_sites-append \
     http://www.douglas.stebila.ca/files/code/vim/app/:app_aqua \
     http://www.douglas.stebila.ca/files/code/vim/doc/:doc_aqua
 
-patchfiles          patch-if_ruby.c
-
-dist_subdir         ${realname}
-distname            ${realname}[strsed ${vim_version} {g/[.]//}]
-
-eval {
-    set low 1
-    while {$low <= $vim_patchlevel} {
-        set high [expr $low + 99];
-        if {$high < $vim_patchlevel} {
-            patchfiles-append \
-              [format "%s.%03d-%03d.gz" $vim_version $low $high]
-            incr low 100
-        } else {
-            patchfiles-append [format "%s.%03d" $vim_version $low]
-            incr low 1
-        }
-    }
-}
-
 set appPath "/Applications/MacPorts/"
 depends_lib         port:gettext \
                     port:ncurses
@@ -87,8 +57,6 @@
                     --disable-gpm \
                     --mandir=${prefix}/share/man \
                     --with-tlib=ncurses
-configure.env       CPPFLAGS="-I${prefix}/include" \
-                    LDFLAGS="-L${prefix}/lib"
 extract.only        ${realname}-${vim_version}${extract.suffix}
 post-extract {
     system "gnutar xvfz ${distpath}/${realname}-${vim_version}-extra.tar.gz -C \
@@ -138,23 +106,16 @@
 }
 
 # vim-app specific, experimental variants.
-# Since the patches may overlap, only ONE of these 
-# can be installed at a time.
 
 # macatsui: better antialising (experimental)
 # see http://wiki.macvim.org/wiki/VimPatches/ATSUI
-variant macatsui conflicts guitab {
-    patch_sites-append macports:.:macatsui
-    patchfiles-append  atsui.patch_mod:macatsui
-}
+# -- doesn't work with 7.1
+#variant macatsui {
+#    patch_sites-append  macports:.:macatsui
+#    patchfiles-append   atsui.patch_mod:macatsui
+#    checksums-append    atsui.patch_mod md5 b0d53c9faa40fa8a43f905dc938d86c9
+#}
 
-# guitab: use a drawer for tabs (experimental)
-# see http://wiki.macvim.org/wiki/VimPatches/GuiTab
-variant guitab conflicts macatsui {
-   patch_sites-append  macports:.:guitab
-   patchfiles-append   guitab.v7.diff:guitab
-}
-
 # general vim variants
 
 variant big                     { configure.args-append --with-features=big }
@@ -186,5 +147,6 @@
 platform darwin i386 {
 }
 
-include checksums_dist
-include checksums_patch
+include serverlist
+include patchlist
+

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


More information about the macports-changes mailing list