Ticket #24200: patch-slrn-0.9.9p1.diff

File patch-slrn-0.9.9p1.diff, 2.9 KB (added by pixilla (Bradley Giesbrecht), 14 years ago)
  • Portfile

    old new  
    11# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
    22
    3 PortSystem              1.0
    4 name                    slrn
    5 version                 0.9.8.1
    6 categories              news net
    7 platforms               darwin
    8 revision                1
    9 maintainers             foellinger.de:olaf
    10 homepage                http://slrn.sourceforge.net/
    11 description             A powerful console-based newsreader
    12 
    13 long_description        slrn is an easy to use but powerful NNTP/spool based \
    14                         newsreader.  It is highly customizable, supports \
    15                         scoring, free key bindings, and can be extended using \
    16                         the SLang macro language.
    17                        
    18 master_sites            sourceforge
    19 checksums               md5 9b613007df537444a5f8a4a2994fadb7
     3PortSystem          1.0
     4name                slrn
     5version             0.9.9p1
     6categories          news net
     7platforms           darwin
     8revision            1
     9maintainers         foellinger.de:olaf pixilla.com:brad
     10homepage            http://slrn.sourceforge.net/
     11description         A powerful console-based newsreader
     12
     13long_description    slrn is an easy to use but powerful NNTP/spool based \
     14                    newsreader.  It is highly customizable, supports \
     15                    scoring, free key bindings, and can be extended using \
     16                    the SLang macro language.
     17distname            slrn-${version}
     18master_sites        sourceforge
     19checksums           md5     6cc8ac6baaff7cc2a8b78f7fbbe3187f \
     20                    sha1    f14d88eda39b78bd2f098f211d4a1c363c0fe924 \
     21                    rmd160  9e614d12c30f72a4ccde90fe557495d86d44b368
    2022
    21 use_bzip2               yes
     23configure.args      --with-libiconv-prefix=${prefix} \
     24                    --mandir=${prefix}/share/man
    2225
    23 configure.args          --with-libiconv-prefix=${prefix} \
    24                         --mandir=${prefix}/share/man
    25 
    26 depends_lib             lib:libslang.a:slang \
    27                         lib:libiconv:libiconv
     26depends_lib         port:slang2 \
     27                    lib:libiconv:libiconv
    2828
    2929# adds slrnpull
    30 variant pull            { configure.args-append --with-slrnpull }
     30variant pull description {Enable slrnpull} {
     31    configure.args-append   --with-slrnpull
     32}
     33
     34## adds uudeview
     35# variant pull description {Enable uudeview} {
     36#     configure.args-append   --with-uudeview
     37# }
    3138
    3239# ssl variant           (added by ealdrov@math.fsu.edu)
    33 variant ssl             {
    34 depends_lib             lib:libssl:openssl
    35 configure.args-append   --with-ssl \
    36                         --with-ssl-library=/usr/lib \
    37                         --with-ssl-includes=/usr/include/openssl
     40variant ssl description {Enable ssl} {
     41    depends_lib         lib:libssl:openssl
     42    configure.args-append       --with-ssl \
     43                            --with-ssl-library=/usr/lib \
     44                            --with-ssl-includes=/usr/include/openssl
    3845}
     46
     47livecheck.type              regex
     48livecheck.url               "http://sourceforge.net/export/rss2_projfiles.php?project=${name}"
     49livecheck.regex             ${name}-(\\d+.\\d+.\\d+(\[a-z0-9\]+)?)${extract.suffix}