source: trunk/dports/news/slrn-devel/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.2 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z ryandesign@macports.org $
2
3PortSystem              1.0
4name                    slrn-devel
5version                 1.0.0pre18
6categories              news net
7platforms               darwin
8maintainers             gmail.com:sbranzo
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                       
17fetch.type              svn
18svn.url                 http://slrn.svn.sourceforge.net/svnroot/slrn/trunk
19svn.revision            323
20worksrcdir              trunk
21
22depends_lib             port:slang2 \
23                        port:libiconv
24
25configure.args          --with-libiconv-prefix=${prefix} \
26                        --mandir=${prefix}/share/man \
27                        --with-slang-library=${prefix}/lib \
28                        --with-slang-includes=${prefix}/include
29
30# adds slrnpull
31variant pull            { configure.args-append --with-slrnpull }
32
33# ssl variant           
34variant ssl             {
35                        configure.args-append   --with-ssl=${prefix} \
36                                                --with-ssl-includes=${prefix}/include/openssl
37                       
38                        depends_lib-append      path:lib/libssl.dylib:openssl
39}
40
41variant uudeview description {Use uudeview library to decode uuencoded articles} {
42        # build dependency because uudeview provides only the static library libuu.a
43        depends_build-append    port:uudeview
44        configure.args-append   --with-uu=${prefix}
45}
Note: See TracBrowser for help on using the repository browser.