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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | PortGroup cxx11 1.1 |
---|
6 | |
---|
7 | github.setup newsboat newsboat 2.10.1 r |
---|
8 | license MIT |
---|
9 | categories net www |
---|
10 | platforms darwin |
---|
11 | maintainers {en.sent.com:macports @Raimondi} openmaintainer |
---|
12 | |
---|
13 | description An RSS/Atom feed reader for text terminals |
---|
14 | long_description ${description}. RSS and Atom are a number of \ |
---|
15 | widely-used XML formats to transmit, publish and \ |
---|
16 | syndicate articles, for example news or blog articles. |
---|
17 | |
---|
18 | homepage http://newsboat.org/ |
---|
19 | use_configure no |
---|
20 | checksums rmd160 b435c696660b69cb294a18bfdcaf91cfdfa80a60 \ |
---|
21 | sha256 cfa3c53ae73aee07c47bb6d385b0c65bd5399a7f504d7026a6f54d26d17fcd03 |
---|
22 | |
---|
23 | depends_build port:pkgconfig |
---|
24 | depends_lib port:curl \ |
---|
25 | port:gettext \ |
---|
26 | port:json-c \ |
---|
27 | port:libxml2 \ |
---|
28 | port:ncurses \ |
---|
29 | port:sqlite3 \ |
---|
30 | port:stfl |
---|
31 | |
---|
32 | variant doc description {install the documentation} { |
---|
33 | depends_build-append port:asciidoc |
---|
34 | build.target-append doc |
---|
35 | } |
---|
36 | |
---|
37 | build.env-append CXX=${configure.cxx} \ |
---|
38 | CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \ |
---|
39 | LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" |
---|
40 | build.args-append prefix=${prefix} |
---|
41 | destroot.args-append prefix=${prefix} |
---|
42 | |
---|
43 | post-destroot { |
---|
44 | xinstall -d ${destroot}${prefix}/share/${name} |
---|
45 | copy ${worksrcpath}/contrib ${destroot}${prefix}/share/${name}/contrib |
---|
46 | } |
---|