# -*- 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

PortSystem          1.0

name                rsstail
version             2.1
categories          net
platforms           darwin
license             GPL-2
maintainers         nomaintainer
description         An RSS reader
long_description    RSSTail is more or less an rss reader: it monitors an \
                    rss-feed and if it detects a new entry it'll emit only \
                    that new entry.
homepage            https://www.vanheusden.com/rsstail/
master_sites        ${homepage}

extract.suffix      .tgz

checksums           rmd160  16e7e452b84ac1b5be352a0637803cda1662e1df \
                    sha256  42cb452178b21c15c470bafbe5b8b5339a7fb5b980bf8d93d36af89864776e71 \
                    size    5940

depends_lib         port:libiconv \
                    port:libmrss

patchfiles          patch-Makefile.diff

use_configure       no

configure.ldflags-append -liconv -lmrss

build.args-append   CC=${configure.cc} \
                    CFLAGS="${configure.cflags}" \
                    LDFLAGS="${configure.ldflags}"

destroot.args       prefix=${destroot}${prefix}
