source: trunk/dports/news/slrn/Portfile

Last change on this file was 139229, checked in by jeremyhu@…, 2 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z ryandesign@macports.org $
2
3PortSystem              1.0
4name                    slrn
5version                 1.0.1
6categories              news net
7platforms               darwin
8maintainers             foellinger.de:olaf
9homepage                http://slrn.sourceforge.net/
10description             A powerful console-based newsreader
11
12long_description        slrn is an easy to use but powerful NNTP/spool based \
13                        newsreader.  It is highly customizable, supports \
14                        scoring, free key bindings, and can be extended using \
15                        the SLang macro language.
16                       
17master_sites            sourceforge:project/slrn/slrn
18checksums               rmd160  4a1aa5b3a209e8aac50df0e5557eabfe22b13622 \
19                        sha256  06b4a060939ec3077e5a060c7a2556747c96061a24eec2c09e1feacd5dbeaae6
20
21depends_lib             port:slang2 \
22                        port:libiconv
23
24configure.args          --with-libiconv-prefix=${prefix} \
25                        --mandir=${prefix}/share/man \
26                        --with-slang-library=${prefix}/lib \
27                        --with-slang-includes=${prefix}/include
28
29# adds slrnpull
30variant pull            { configure.args-append --with-slrnpull }
31
32# ssl variant           (added by ealdrov@math.fsu.edu)
33variant ssl             {
34                        configure.args-append   --with-ssl=${prefix} \
35                                                --with-ssl-includes=${prefix}/include/openssl
36                        depends_lib-append      path:lib/libssl.dylib:openssl
37}
38
39variant uudeview description {Use uudeview library to decode uuencoded articles} {
40        # build dependency because uudeview provides only the static library libuu.a
41        depends_build-append    port:uudeview
42        configure.args-append   --with-uu=${prefix}
43}
Note: See TracBrowser for help on using the repository browser.