source: trunk/dports/net/snownews/Portfile

Last change on this file was 151854, checked in by mojca@…, 13 months ago

snownews: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151854 2016-08-23 12:22:54Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                snownews
8version             1.5.12
9revision            6
10perl5.branches      5.24
11platforms           darwin
12categories          net www
13license             GPL-2
14maintainers         nomaintainer
15
16description         Text mode RSS newsreader
17long_description    Snownews is a text mode RSS/RDF newsreader. It supports all versions \
18                    of RSS natively and supports other formats via plugins.
19
20homepage            http://kiza.kcore.de/software/snownews/
21master_sites        ${homepage}download/
22
23checksums           rmd160  dbe9c6b88e77ce37bb23e4d3ddc8d63f8bd66151 \
24                    sha256  26dd96e9345d9cbc1c0c9470417080dd0c3eb31e7ea944f78f3302d7060ecb90
25
26depends_lib         port:gettext \
27                    port:libgcc \
28                    port:libiconv \
29                    port:libxml2 \
30                    port:ncurses \
31                    path:lib/libssl.dylib:openssl \
32                    port:p${perl5.major}-xml-libxml \
33                    port:zlib
34
35post-patch {
36    # We want to use perl from MacPorts.
37    reinplace s|/usr/bin/perl|${perl5.bin}| ${worksrcpath}/opml2snow
38}
39
40build.args          EXTRA_CFLAGS="-I${prefix}/include" \
41                    EXTRA_LDFLAGS="-L${prefix}/lib -lintl" \
42                    PREFIX=${prefix}
43
44destroot.args       PREFIX=${prefix}
Note: See TracBrowser for help on using the repository browser.