[47370] trunk/dports/editors
raimue at macports.org
raimue at macports.org
Fri Feb 27 03:01:03 PST 2009
Revision: 47370
http://trac.macports.org/changeset/47370
Author: raimue at macports.org
Date: 2009-02-27 03:01:01 -0800 (Fri, 27 Feb 2009)
Log Message:
-----------
editors/MacVim:
New port
Added Paths:
-----------
trunk/dports/editors/MacVim/
trunk/dports/editors/MacVim/Portfile
trunk/dports/editors/MacVim/files/
trunk/dports/editors/MacVim/files/patch-configure.diff
Added: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile (rev 0)
+++ trunk/dports/editors/MacVim/Portfile 2009-02-27 11:01:01 UTC (rev 47370)
@@ -0,0 +1,92 @@
+# $Id: Portfile 46861 2009-02-15 22:28:15Z raimue at macports.org $
+
+PortSystem 1.0
+
+name MacVim
+set vim_version 7.2
+set snapshot 43
+set gitcommit 4188c92e1310024968326007c0e4612e842ef364
+version ${vim_version}.snapshot${snapshot}
+categories editors
+platforms darwin
+maintainers raimue
+description MacVim is a GUI version of vim for Mac OS X
+long_description \
+ MacVim is a port of the text editor Vim to Mac OS X that is meant to look \
+ better and integrate more seamlessly with the Mac than vim-app.
+homepage http://code.google.com/p/macvim
+
+master_sites "http://repo.or.cz/w/MacVim.git?a=snapshot;h=${gitcommit};sf=zip;foo="
+checksums md5 45efc28536e09731b31e943d79784cb3 \
+ sha1 9aaf2dec568b2c0b8a8fba0aa0c7597f7fa89e2b \
+ rmd160 ec70e4c1105b17886a79c0ac5b74889096954dcb
+use_zip yes
+worksrcdir MacVim/src
+
+depends_build bin:gnutar:gnutar \
+ bin:grep:grep
+depends_lib port:ncurses \
+ port:libiconv \
+ port:ctags
+
+patchfiles patch-configure.diff
+
+configure.args --enable-gui=macvim \
+ --without-x \
+ --disable-gpm \
+ --disable-nls \
+ --with-tlib=ncurses \
+ --enable-multibyte
+
+use_parallel_build yes
+
+post-build {
+ system "cd ${worksrcpath}/MacVim && xcodebuild"
+}
+
+destroot {
+ copy ${worksrcpath}/MacVim/build/Release/MacVim.app ${destroot}${applications_dir}
+}
+
+test.run yes
+
+variant big description {Build big feature set} conflicts huge {
+ configure.args-append --with-features=big
+}
+variant huge description {Build huge feature set} conflicts big {
+ configure.args-append --with-features=huge
+}
+variant xim description {Build with support for X Input Method} {
+ configure.args-append --with-xim
+}
+
+variant perl description {Enable Perl scripting} {
+ configure.args-append --enable-perlinterp
+ depends_lib-append path:bin/perl:perl5
+}
+variant python description {Enable Python scripting} {
+ configure.args-append --enable-pythoninterp
+ depends_lib-append port:python25
+}
+variant ruby description {Enable Ruby scripting} {
+ configure.args-append --enable-rubyinterp
+ depends_lib-append port:ruby
+}
+variant tcl description {Enable Tcl scripting} {
+ configure.args-append --enable-tclinterp
+ depends_lib-append port:tcl
+}
+
+variant cscope description {Enable source code browsing with cscope} {
+ configure.args-append --enable-cscope
+}
+
+variant nls {
+ configure.args-delete --disable-nls
+ depends_lib-append port:gettext
+}
+
+livecheck.check regex
+livecheck.url http://code.google.com/p/macvim/downloads/list
+livecheck.version ${snapshot}
+livecheck.regex MacVim-snapshot-(\\d+)
Added: trunk/dports/editors/MacVim/files/patch-configure.diff
===================================================================
--- trunk/dports/editors/MacVim/files/patch-configure.diff (rev 0)
+++ trunk/dports/editors/MacVim/files/patch-configure.diff 2009-02-27 11:01:01 UTC (rev 47370)
@@ -0,0 +1,11 @@
+--- configure.orig 2008-07-24 06:40:36.000000000 -0600
++++ configure 2009-01-18 21:15:03.000000000 -0700
+@@ -15458,7 +15458,7 @@
+ if test "$enable_multibyte" = "yes"; then
+ cflags_save=$CFLAGS
+ ldflags_save=$LDFLAGS
+- if test -n "$x_includes" ; then
++ if test -n "$x_includes" && test "$x_includes" != "NONE"; then
+ CFLAGS="$CFLAGS -I$x_includes"
+ LDFLAGS="$X_LIBS $LDFLAGS -lX11"
+ { $as_echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090227/1de2e39a/attachment.html>
More information about the macports-changes
mailing list