[47426] trunk/dports/www/elinks-devel/Portfile

perry at macports.org perry at macports.org
Fri Feb 27 18:36:20 PST 2009


Revision: 47426
          http://trac.macports.org/changeset/47426
Author:   perry at macports.org
Date:     2009-02-27 18:36:19 -0800 (Fri, 27 Feb 2009)
Log Message:
-----------
www/elinks-devel - Slightly changed the Portfile's formatting.

Modified Paths:
--------------
    trunk/dports/www/elinks-devel/Portfile

Modified: trunk/dports/www/elinks-devel/Portfile
===================================================================
--- trunk/dports/www/elinks-devel/Portfile	2009-02-28 02:25:12 UTC (rev 47425)
+++ trunk/dports/www/elinks-devel/Portfile	2009-02-28 02:36:19 UTC (rev 47426)
@@ -18,6 +18,10 @@
 livecheck.regex     {unstable version is (\d+\.\d+.*?),}
 livecheck.url       ${homepage}
 
+depends_lib \
+    port:boehmgc port:bzip2 port:expat port:libiconv port:liblzma \
+    port:openssl port:see port:zlib
+
 distname            elinks-${version}
 master_sites        ${homepage}download/
 
@@ -39,9 +43,6 @@
     --without-guile --without-idn --without-lua --without-perl \
     --without-python --without-ruby --without-spidermonkey --without-x \
     --without-xterm
-depends_lib \
-    port:boehmgc port:bzip2 port:expat port:libiconv port:liblzma \
-    port:openssl port:see port:zlib
 
 # Note: This variant increases memory usage regardless of color mode.
 variant colors description {Enable support for 88/256 colors and True color} {
@@ -57,65 +58,76 @@
 }
 
 variant fsp description {Enable support for FSP} {
+    depends_lib-append port:fsplib
+
     configure.args-append --enable-fsp
     configure.args-delete --disable-fsp
-    depends_lib-append port:fsplib
 }
 
 variant gnutls description {Use GnuTLS in lieu of OpenSSL} {
+    depends_lib-append port:gnutls
+    depends_lib-delete port:openssl
+
     configure.args-append --with-gnutls --without-openssl
     configure.args-delete --with-openssl --without-gnutls
-    depends_lib-append port:gnutls
-    depends_lib-delete port:openssl
 }
 
 variant guile description {Enable support for Guile} {
+    depends_lib-append port:guile
+
     configure.args-append --with-guile
     configure.args-delete --without-guile
-    depends_lib-append port:guile
 }
 
 variant idn description {Enable support for internationalized domain names} {
+    depends_lib-append port:libidn
+
     configure.args-append --with-idn
     configure.args-delete --without-idn
-    depends_lib-append port:libidn
 }
 
 variant lua description {Enable support for Lua} {
+    depends_lib-append port:lua50
+
     configure.args-append --with-lua=${prefix}
     configure.args-delete --without-lua
-    depends_lib-append port:lua50
 }
 
 variant perl description {Enable support for Perl} {
+    depends_lib-append path:bin/perl:perl5
+
     patchfiles patch-hooks.h.diff
 
     configure.args-append --with-perl
     configure.args-delete --without-perl
-    depends_lib-append path:bin/perl:perl5
 }
 
 variant python description {Enable support for Python} {
+    depends_lib-append port:python26
+
     configure.args-append --with-python
     configure.args-delete --without-python
     configure.env-append PYTHON=${prefix}/bin/python2.6
-    depends_lib-append port:python26
 }
 
 variant ruby description {Enable support for Ruby} {
+    depends_lib-append port:ruby
+
     configure.args-append --with-ruby
     configure.args-delete --without-ruby
-    depends_lib-append port:ruby
 }
 
 variant samba description {Enable support for Samba} {
+    depends_lib-append port:samba3
+
     configure.args-append --enable-smb
     configure.args-delete --disable-smb
     configure.ldflags-append "-L${prefix}/lib/samba3"
-    depends_lib-append port:samba3
 }
 
 variant x11 description {Enable support for X11} {
+    depends_lib-append port:xorg-libX11
+
     pre-configure {
         reinplace "s|x_includes=NONE|x_includes=${prefix}/include/X11|g" \
                   ${worksrcpath}/configure
@@ -125,5 +137,4 @@
 
     configure.args-append --with-x
     configure.args-delete --without-x
-    depends_lib-append port:xorg-libX11
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090227/6573a664/attachment-0001.html>


More information about the macports-changes mailing list