# -*- 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                clive
version             0.4.10
categories          net
platforms           darwin
license             BSD
maintainers         nomaintainer

description         A console line client for livejournal.
long_description    This is a console UNIX client for updating weblogs. \
                    It is designed to be used interactively or as a \
                    UNX-style filter on the command line.

homepage            https://sourceforge.net/projects/ljclive/
master_sites        sourceforge:project/ljclive/ljclive/clive-${version}

checksums           rmd160  65ecfdc7652a01d637b9a6845dea007ef7a95c12 \
                    sha256  d641d13630bac36d9aff3551beb20abe3f0e6d36bd96c1e8a27d7149f5f85c56

# I am not sure if this dependency is even used?
depends_lib         port:libiconv

configure.cppflags-append \
                    "-L${prefix}/lib"
configure.args      --mandir=${prefix}/share/man

livecheck.regex     "/ljclive/${name}-(\\d+(?:\\.\\d+)*)/${name}-"
