[24862] trunk/dports/editors/vim/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sun May 6 10:59:04 PDT 2007
Revision: 24862
http://trac.macosforge.org/projects/macports/changeset/24862
Author: pipping at macports.org
Date: 2007-05-06 10:59:03 -0700 (Sun, 06 May 2007)
Log Message:
-----------
* add variant nls to make internationalization optional (-> no gettext dependency by default)
Modified Paths:
--------------
trunk/dports/editors/vim/Portfile
Modified: trunk/dports/editors/vim/Portfile
===================================================================
--- trunk/dports/editors/vim/Portfile 2007-05-06 17:07:02 UTC (rev 24861)
+++ trunk/dports/editors/vim/Portfile 2007-05-06 17:59:03 UTC (rev 24862)
@@ -5,7 +5,7 @@
set vim_version 7.0
set vim_patchlevel 243
version ${vim_version}.${vim_patchlevel}
-revision 0
+revision 1
categories editors
maintainers pipping at macports.org openmaintainer at macports.org
description Vi "workalike" with many additional features
@@ -75,13 +75,14 @@
}
}
-depends_lib port:gettext \
- port:ncurses
+depends_lib port:ncurses
configure.args --enable-gui=no \
--without-x \
--disable-gpm \
+ --disable-nls \
--mandir=${prefix}/share/man \
--with-tlib=ncurses
+
extract.only ${name}-${vim_version}${extract.suffix}
post-extract {
system "gnutar xvfz ${distpath}/${name}-${vim_version}-extra.tar.gz -C \
@@ -141,6 +142,11 @@
configure.args-append --enable-cscope
}
+variant nls {
+ configure.args-delete --disable-nls
+ depends_lib-append port:gettext
+}
+
include checksums_dist
include checksums_patch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070506/a26d23c2/attachment.html
More information about the macports-changes
mailing list