Ticket #37811: Portfile

File Portfile, 1.4 KB (added by olaf@…, 11 years ago)

new Portfile for version bump

Line 
1# $Id: Portfile 67327 2010-05-06 04:10:01Z 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
18checksums               md5     232670ab76a045967b137e5124b3d681 \
19                        sha1    9ad41ec3894d2b6b1ae8f158e994a8f138540baa \
20                        rmd160  4a1aa5b3a209e8aac50df0e5557eabfe22b13622
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           (added by ealdrov@math.fsu.edu)
34variant ssl             {
35                        configure.args-append   --with-ssl=${prefix} \
36                                                --with-ssl-includes=${prefix}/include/openssl
37                        depends_lib-append      port:openssl
38}
39
40variant uudeview description {Use uudeview library to decode uuencoded articles} {
41        # build dependency because uudeview provides only the static library libuu.a
42        depends_build-append    port:uudeview
43        configure.args-append   --with-uu=${prefix}
44}