Ignore:
Timestamp:
Apr 2, 2010, 7:37:26 AM (7 years ago)
Author:
perry@…
Message:

Updated www/elinks-devel to 0.12pre5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/elinks-devel/Portfile

    r57375 r65861  
    44
    55name                elinks-devel
    6 version             0.12pre3
    7 revision            0
     6version             0.12pre5
    87categories          www
    9 maintainers         perry
     8maintainers         perry openmaintainer
    109platforms           darwin
    1110
    1211description         Full-Featured Text WWW Browser
    13 long_description    ELinks is an advanced and well established feature rich \
     12long_description    ELinks is an advanced and well-established feature-rich \
    1413                    text mode web (HTTP/FTP/..) browser.
     14license             GPLv2
    1515homepage            http://elinks.or.cz/
    1616
     17livecheck.regex     {unstable version is (.*),}
    1718livecheck.type      regex
    18 livecheck.regex     {unstable version is (.*),}
    1919livecheck.url       ${homepage}
    2020
     21depends_build       port:pkgconfig
    2122depends_lib \
    22     port:boehmgc port:bzip2 port:expat port:libiconv port:openssl port:see \
     23    port:boehmgc \
     24    port:bzip2 \
     25    port:expat \
     26    port:gettext \
     27    port:libiconv \
     28    port:libidn \
     29    port:openssl \
     30    port:spidermonkey \
     31    port:tre \
    2332    port:zlib
    2433
     
    2635master_sites        ${homepage}download/
    2736
    28 checksums           rmd160 5bcf4fb7d339d185466cc91f88a8b58816d35fa7
     37checksums           rmd160 517f8ef0e1978a204496631a63495656fbf51f19
     38
     39patchfiles          patch-Makefile.lib.diff patch-configure.diff
     40
     41post-patch {
     42    if {[variant_isset universal]} {
     43        reinplace "s|@ARCHS@|${configure.universal_ldflags}|" ${worksrcpath}/Makefile.lib
     44    } else {
     45        reinplace "s|@ARCHS@|-arch ${build_arch}|" ${worksrcpath}/Makefile.lib
     46    }
     47}
    2948
    3049configure.args \
    31     --disable-256-colors --disable-88-colors --disable-debug \
    32     --disable-fastmem --disable-fsp --disable-no-root --disable-own-libc \
    33     --disable-sm-scripting --disable-small --disable-smb --disable-sysmouse \
    34     --disable-true-color --enable-backtrace --enable-bittorrent \
    35     --enable-bookmarks --enable-cgi --enable-cookies --enable-css \
    36     --enable-data --enable-exmode --enable-finger --enable-formhist \
    37     --enable-ftp --enable-globhist --enable-gopher --enable-html-highlight \
    38     --enable-ipv6 --enable-largefile --enable-leds --enable-mailcap \
    39     --enable-marks --enable-mimetypes --enable-mouse --enable-nls \
    40     --enable-nntp --enable-uri-rewrite --enable-utf-8 --enable-xbel \
    41     --with-bzlib --with-gc --with-libiconv --with-openssl --with-see \
    42     --with-zlib --without-gnutls --without-gpm --without-gssapi \
    43     --without-guile --without-idn --without-lua --without-lzma \
    44     --without-perl --without-python --without-ruby --without-spidermonkey \
    45     --without-x --without-xterm
     50    --disable-256-colors \
     51    --disable-88-colors \
     52    --disable-debug \
     53    --disable-fsp \
     54    --disable-smb \
     55    --disable-true-color \
     56    --enable-bittorrent \
     57    --enable-cgi \
     58    --enable-exmode \
     59    --enable-finger \
     60    --enable-gopher \
     61    --enable-html-highlight \
     62    --enable-nntp \
     63    --with-gc \
     64    --with-idn \
     65    --with-libiconv \
     66    --with-openssl \
     67    --with-spidermonkey=${prefix} \
     68    --with-tre \
     69    --without-gnutls \
     70    --without-gpm \
     71    --without-gssapi \
     72    --without-guile \
     73    --without-lua \
     74    --without-lzma \
     75    --without-perl \
     76    --without-python \
     77    --without-ruby \
     78    --without-see \
     79    --without-x \
     80    --without-xterm
    4681
    47 # Note: This variant increases memory usage regardless of color mode.
     82use_parallel_build  no
     83
    4884variant colors description {Enable support for 88/256 colors and True color} {
    4985    configure.args-append \
    50         --enable-256-colors --enable-88-colors --enable-true-color
     86        --enable-256-colors \
     87        --enable-88-colors \
     88        --enable-true-color
    5189    configure.args-delete \
    52         --disable-256-colors --disable-88-colors --disable-true-color
     90        --disable-256-colors \
     91        --disable-88-colors \
     92        --disable-true-color
    5393}
    5494
     
    5898}
    5999
    60 variant fsp description {Enable support for FSP} {
    61     depends_lib-append port:fsplib
     100variant fsp description {Enable support for FSP (File Service Protocol)} {
     101    depends_build-append port:fsplib
    62102
    63103    configure.args-append --enable-fsp
     
    66106
    67107variant gnutls description {Use GnuTLS in lieu of OpenSSL} {
    68     depends_lib-append port:gnutls
     108    depends_lib-append port:gnutls port:libtasn1
    69109    depends_lib-delete port:openssl
    70110
    71111    configure.args-append --with-gnutls --without-openssl
    72     configure.args-delete --with-openssl --without-gnutls
     112    configure.args-delete --without-gnutls --with-openssl
    73113}
    74114
    75 variant guile description {Enable support for Guile} {
     115variant guile description {Enable support for Guile scripting} {
    76116    depends_lib-append port:guile
    77117
     
    80120}
    81121
    82 variant idn description {Enable support for internationalized domain names} {
    83     depends_lib-append port:libidn
    84 
    85     configure.args-append --with-idn
    86     configure.args-delete --without-idn
    87 }
    88 
    89 variant lua description {Enable support for Lua} {
     122variant lua description {Enable support for Lua scripting} {
    90123    depends_lib-append port:lua50
    91124
     
    94127}
    95128
    96 variant perl description {Enable support for Perl} {
     129variant perl description {Enable support for Perl scripting} {
    97130    depends_lib-append path:bin/perl:perl5
    98131
    99     patchfiles patch-hooks.h.diff
     132    patchfiles-append patch-src-scripting-perl-hooks.h.diff
    100133
    101134    configure.args-append --with-perl
     
    103136}
    104137
    105 variant python description {Enable support for Python} {
     138variant python description {Enable support for Python scripting} {
    106139    depends_lib-append port:python26
    107140
    108141    configure.args-append --with-python
    109142    configure.args-delete --without-python
    110     configure.python      ${prefix}/bin/python2.6
     143    configure.python ${prefix}/bin/python2.6
    111144}
    112145
    113 variant ruby description {Enable support for Ruby} {
     146variant ruby description {Enable support for Ruby scripting} {
    114147    depends_lib-append port:ruby
    115148
     
    121154    depends_lib-append port:samba3
    122155
    123     configure.args-append    --enable-smb
    124     configure.args-delete    --disable-smb
     156    configure.args-append --enable-smb
     157    configure.args-delete --disable-smb
    125158    configure.ldflags-append "-L${prefix}/lib/samba3"
    126159}
    127160
    128 variant x11 description {Enable support for X11} {
    129     depends_lib-append port:xorg-libX11
     161variant see description {Use SEE in lieu of SpiderMonkey} {
     162    depends_lib-append port:see
     163    depends_lib-delete port:spidermonkey
    130164
    131     pre-configure {
    132         reinplace "s|x_includes=NONE|x_includes=${prefix}/include/X11|g" \
    133                   ${worksrcpath}/configure
    134         reinplace "s|x_libraries=NONE|x_libraries=${prefix}/lib|g" \
    135                   ${worksrcpath}/configure
    136     }
    137 
    138     configure.args-append --with-x
    139     configure.args-delete --without-x
     165    configure.args-append --enable-see
     166    configure.args-delete --with-spidermonkey=${prefix}
    140167}
Note: See TracChangeset for help on using the changeset viewer.