[27836] trunk/dports/editors/vim-app/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 14 18:31:26 PDT 2007
Revision: 27836
http://trac.macosforge.org/projects/macports/changeset/27836
Author: raimue at macports.org
Date: 2007-08-14 18:31:25 -0700 (Tue, 14 Aug 2007)
Log Message:
-----------
editors/vim-app: adapting some changes from vim port
Modified Paths:
--------------
trunk/dports/editors/vim-app/Portfile
Modified: trunk/dports/editors/vim-app/Portfile
===================================================================
--- trunk/dports/editors/vim-app/Portfile 2007-08-15 01:00:37 UTC (rev 27835)
+++ trunk/dports/editors/vim-app/Portfile 2007-08-15 01:31:25 UTC (rev 27836)
@@ -17,14 +17,14 @@
use_bzip2 yes
distfiles \
- ${realname}-${vim_version}${extract.suffix}:vim \
+ [suffix ${realname}-${vim_version}]: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
checksums \
- ${realname}-${vim_version}${extract.suffix} \
+ [suffix ${realname}-${vim_version}] \
md5 44c6b4914f38d6f9aa959640b89da329 \
sha1 981e1acecc4d8f15680b6e160de84aed038d857d \
rmd160 470775e0d0219cafe7e04dd91199ed7441882456 \
@@ -41,8 +41,8 @@
doc.tar.gz \
md5 692f7874fc617162d0fe110daf39a98a
-dist_subdir vim
-distname vim[strsed ${vim_version} {g/\.//}]
+dist_subdir ${realname}
+distname ${realname}[strsed ${vim_version} {g/\.//}]
master_sites-append \
http://www.douglas.stebila.ca/files/code/vim/app/:app_aqua \
@@ -57,7 +57,8 @@
--disable-gpm \
--mandir=${prefix}/share/man \
--with-tlib=ncurses
-extract.only ${realname}-${vim_version}${extract.suffix}
+
+extract.only [suffix ${realname}-${vim_version}]
post-extract {
system "gnutar xvfz ${distpath}/${realname}-${vim_version}-extra.tar.gz -C \
${workpath}"
@@ -70,7 +71,6 @@
test.run yes
destroot {
- set appPath "/Applications/MacPorts/"
# create the required directories
xinstall -d -m 755 ${destroot}${appPath}Vim
# copy Vim.app
@@ -150,6 +150,12 @@
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/20070814/1c7a8012/attachment.html
More information about the macports-changes
mailing list