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

larryv at macports.org larryv at macports.org
Thu Jan 31 19:14:01 PST 2013


Revision: 102360
          https://trac.macports.org/changeset/102360
Author:   larryv at macports.org
Date:     2013-01-31 19:14:01 -0800 (Thu, 31 Jan 2013)
Log Message:
-----------
elinks-devel: Add modeline; tweak whitespace and formatting.

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

Modified: trunk/dports/www/elinks-devel/Portfile
===================================================================
--- trunk/dports/www/elinks-devel/Portfile	2013-02-01 01:49:41 UTC (rev 102359)
+++ trunk/dports/www/elinks-devel/Portfile	2013-02-01 03:14:01 UTC (rev 102360)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -11,33 +12,28 @@
 platforms           darwin
 
 description         Full-Featured Text WWW Browser
-long_description    ELinks is an advanced and well-established feature-rich \
-                    text mode web (HTTP/FTP/..) browser.
+long_description    ELinks is an advanced and well-established \
+                    feature-rich text mode web (HTTP/FTP/..) browser.
 license             GPL-2
 homepage            http://elinks.or.cz/
 
-livecheck.regex     {unstable version is (.*),}
-livecheck.type      regex
-livecheck.url       ${homepage}
-
 depends_build       port:pkgconfig
-depends_lib \
-    port:bzip2 \
-    port:expat \
-    port:gettext \
-    port:libiconv \
-    port:libidn \
-    port:openssl \
-    port:spidermonkey \
-    port:tre \
-    port:zlib
+depends_lib         port:bzip2 \
+                    port:expat \
+                    port:gettext \
+                    port:libiconv \
+                    port:libidn \
+                    port:openssl \
+                    port:spidermonkey \
+                    port:tre \
+                    port:zlib
 
 distname            elinks-${version}
 master_sites        ${homepage}download/
-
 checksums           rmd160 517f8ef0e1978a204496631a63495656fbf51f19
 
-patchfiles          patch-Makefile.lib.diff patch-configure.diff
+patchfiles          patch-Makefile.lib.diff \
+                    patch-configure.diff
 
 variant universal {}
 
@@ -45,43 +41,42 @@
     reinplace "s|@ARCHS@|[get_canonical_archflags]|g" ${worksrcpath}/Makefile.lib
 }
 
-configure.args \
-    --disable-256-colors \
-    --disable-88-colors \
-    --disable-debug \
-    --disable-fsp \
-    --disable-smb \
-    --disable-true-color \
-    --enable-bittorrent \
-    --enable-cgi \
-    --enable-exmode \
-    --enable-finger \
-    --enable-gopher \
-    --enable-html-highlight \
-    --enable-nntp \
-    --with-idn \
-    --with-libiconv \
-    --with-openssl \
-    --with-spidermonkey=${prefix} \
-    --with-tre \
-    --without-gc \
-    --without-gnutls \
-    --without-gpm \
-    --without-gssapi \
-    --without-guile \
-    --without-lua \
-    --without-lzma \
-    --without-perl \
-    --without-python \
-    --without-ruby \
-    --without-see \
-    --without-x \
-    --without-xterm
+configure.args      --disable-256-colors \
+                    --disable-88-colors \
+                    --disable-debug \
+                    --disable-fsp \
+                    --disable-smb \
+                    --disable-true-color \
+                    --enable-bittorrent \
+                    --enable-cgi \
+                    --enable-exmode \
+                    --enable-finger \
+                    --enable-gopher \
+                    --enable-html-highlight \
+                    --enable-nntp \
+                    --with-idn \
+                    --with-libiconv \
+                    --with-openssl \
+                    --with-spidermonkey=${prefix} \
+                    --with-tre \
+                    --without-gc \
+                    --without-gnutls \
+                    --without-gpm \
+                    --without-gssapi \
+                    --without-guile \
+                    --without-lua \
+                    --without-lzma \
+                    --without-perl \
+                    --without-python \
+                    --without-ruby \
+                    --without-see \
+                    --without-x \
+                    --without-xterm
 
 if {${os.major} < 11 || ${os.platform} != "darwin"} {
-    configure.args-delete --without-gc
-    configure.args-append --with-gc
-    depends_lib-append  path:include/gc.h:boehmgc
+    configure.args-delete   --without-gc
+    configure.args-append   --with-gc
+    depends_lib-append      path:include/gc.h:boehmgc
 }
 
 use_parallel_build  no
@@ -89,97 +84,102 @@
 # elinks-0.12pre5/src/ecmascript/Makefile needs GNU Make 3.81 or later
 # due to the "else" followed by a conditional.
 platform darwin 8 {
-    depends_build-append port:gmake
-    build.cmd           ${prefix}/bin/gmake
+    depends_build-append    port:gmake
+    build.cmd               ${prefix}/bin/gmake
 }
 
 if {${configure.compiler} == "llvm-gcc-4.2"} {
-   configure.compiler clang
+   configure.compiler       clang
 }
 
 variant colors description {Enable support for 88/256 colors and True color} {
-    configure.args-append \
-        --enable-256-colors \
-        --enable-88-colors \
-        --enable-true-color
-    configure.args-delete \
-        --disable-256-colors \
-        --disable-88-colors \
-        --disable-true-color
+    configure.args-delete   --disable-256-colors \
+                            --disable-88-colors \
+                            --disable-true-color
+    configure.args-append   --enable-256-colors \
+                            --enable-88-colors \
+                            --enable-true-color
 }
 
 variant debug description {Enable debug mode} {
-    configure.args-append --enable-debug
-    configure.args-delete --disable-debug
+    configure.args-delete   --disable-debug
+    configure.args-append   --enable-debug
 }
 
 variant fsp description {Enable support for FSP (File Service Protocol)} {
-    depends_build-append port:fsplib
+    depends_build-append    port:fsplib
 
-    configure.args-append --enable-fsp
-    configure.args-delete --disable-fsp
+    configure.args-delete   --disable-fsp
+    configure.args-append   --enable-fsp
 }
 
-variant gnutls description {Use GnuTLS in lieu of OpenSSL} {
-    depends_lib-append port:gnutls port:libtasn1
-    depends_lib-delete port:openssl
+variant gnutls description {Use GnuTLS instead of OpenSSL} {
+    depends_lib-delete      port:openssl
+    depends_lib-append      port:gnutls \
+                            port:libtasn1
 
-    configure.args-append --with-gnutls --without-openssl
-    configure.args-delete --without-gnutls --with-openssl
+    configure.args-delete   --without-gnutls \
+                            --with-openssl
+    configure.args-append   --with-gnutls \
+                            --without-openssl
 }
 
 variant guile description {Enable support for Guile scripting} {
-    depends_lib-append port:guile
+    depends_lib-append      port:guile
 
-    configure.args-append --with-guile
-    configure.args-delete --without-guile
+    configure.args-delete   --without-guile
+    configure.args-append   --with-guile
 }
 
 variant lua description {Enable support for Lua scripting} {
-    depends_lib-append path:bin/lua:lua
+    depends_lib-append      path:bin/lua:lua
 
-    configure.args-append --with-lua=${prefix}
-    configure.args-delete --without-lua
+    configure.args-delete   --without-lua
+    configure.args-append   --with-lua=${prefix}
 }
 
 variant perl description {Enable support for Perl scripting} {
-    depends_lib-append path:bin/perl:perl5
+    depends_lib-append      path:bin/perl:perl5
 
-    patchfiles-append patch-src-scripting-perl-hooks.h.diff
+    patchfiles-append       patch-src-scripting-perl-hooks.h.diff
 
-    configure.args-append --with-perl
-    configure.args-delete --without-perl
+    configure.args-delete   --without-perl
+    configure.args-append   --with-perl
 }
 
 variant python description {Enable support for Python scripting} {
-    depends_lib-append port:python27
+    depends_lib-append      port:python27
 
-    configure.args-append --with-python
-    configure.args-delete --without-python
-    configure.python ${prefix}/bin/python2.7
+    configure.args-delete   --without-python
+    configure.args-append   --with-python
+    configure.python        ${prefix}/bin/python2.7
 }
 
 variant ruby description {Enable support for Ruby scripting} {
-    depends_lib-append port:ruby
+    depends_lib-append      port:ruby
 
-    configure.args-append --with-ruby
-    configure.args-delete --without-ruby
+    configure.args-delete   --without-ruby
+    configure.args-append   --with-ruby
 }
 
 variant samba description {Enable support for Samba} {
-    depends_lib-append port:samba3
+    depends_lib-append          port:samba3
 
-    configure.args-append --enable-smb
-    configure.args-delete --disable-smb
-    configure.ldflags-append "-L${prefix}/lib/samba3"
+    configure.args-delete       --disable-smb
+    configure.args-append       --enable-smb
+    configure.ldflags-append    "-L${prefix}/lib/samba3"
 }
 
-variant see description {Use SEE in lieu of SpiderMonkey} {
-    depends_lib-append port:see
-    depends_lib-delete port:spidermonkey
+variant see description {Use SEE instead of SpiderMonkey} {
+    depends_lib-delete      port:spidermonkey
+    depends_lib-append      port:see
 
-    configure.args-append --enable-see
-    configure.args-delete --with-spidermonkey=${prefix}
+    configure.args-append   --enable-see
+    configure.args-delete   --with-spidermonkey=${prefix}
 }
 
 default_variants    +colors
+
+livecheck.regex     {unstable version is (.*),}
+livecheck.type      regex
+livecheck.url       ${homepage}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130131/fbaf688c/attachment.html>


More information about the macports-changes mailing list