Ticket #55324: Portfile

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