[41023] trunk/dports/www/w3m/Portfile
blb at macports.org
blb at macports.org
Mon Oct 20 21:14:01 PDT 2008
Revision: 41023
http://trac.macports.org/changeset/41023
Author: blb at macports.org
Date: 2008-10-20 21:14:01 -0700 (Mon, 20 Oct 2008)
Log Message:
-----------
www/w3m - fix dependencies, as this uses several libs not previously declared,
and swap out the no_x11 (which technically needed X11 without stating so) for
two variants to specific methods for viewing images inline
Modified Paths:
--------------
trunk/dports/www/w3m/Portfile
Modified: trunk/dports/www/w3m/Portfile
===================================================================
--- trunk/dports/www/w3m/Portfile 2008-10-21 03:28:37 UTC (rev 41022)
+++ trunk/dports/www/w3m/Portfile 2008-10-21 04:14:01 UTC (rev 41023)
@@ -17,22 +17,29 @@
homepage http://w3m.sourceforge.net/
master_sites sourceforge
checksums md5 ba06992d3207666ed1bf2dcf7c72bf58
-depends_lib port:boehmgc
+depends_lib port:boehmgc port:zlib port:openssl port:ncurses \
+ port:gettext port:libiconv
patchfiles gc_init.patch
configure.args --with-gc=${prefix} \
--with-ssl=${prefix} \
--enable-keymap=w3m \
- --enable-image=x11 \
- --with-termlib=curses \
+ --with-termlib=ncurses \
+ --with-libiconv-prefix=${prefix} \
+ --with-libintl-prefix=${prefix} \
+ --disable-image \
--mandir=${prefix}/share/man
-# libwc will not find gc unless ..
-configure.cflags-append "-I${prefix}/include/"
+variant inline_image_gtk2 description {View inline images with GTK2} {
+ configure.args-delete --disable-image
+ configure.args-append --enable-image=gtk2
+ depends_lib-append port:gtk2
+}
-variant no_x11 description {For people with gdk +quartz} {
- configure.args-delete --enable-image=x11
- configure.args-append --enable-image=no
+variant inline_image_imlib2 description {View inline images with imlib2} {
+ configure.args-delete --disable-image
+ configure.args-append --enable-image=imlib2
+ depends_lib-append port:imlib2
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081020/61eede56/attachment.html
More information about the macports-changes
mailing list