# -*- 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
PortGroup           app 1.0

name                xlog
version             2.0.25

categories          comms
license             GPL-3+
maintainers         nomaintainer

description         A logging program for Amateur Radio Operators.
long_description    Xlog will display a log with the most recent \
                    contacts added to the top. You can add, delete \
                    and edit log entries. The log is saved into a \
                    text file. You can open, close and create logs as \
                    you need them. Xlog supports cabrillo, ADIF, \
                    trlog (format also used by tlf), and EDI (ARRL \
                    VHF/UHF contest format) and can import twlog, \
                    editest and OH1AA logbook files.

homepage            https://www.nongnu.org/xlog/
master_sites        https://download.savannah.gnu.org/releases/xlog/

checksums           rmd160  ab4bdfe4e038ae6d7a76f92d9032121d172efe69 \
                    sha256  3580b72e0a0b5e72505117194dcdb11cecce95ea2dad6b4e11330181a75fdaa5 \
                    size    11425326

depends_lib         path:lib/libhamlib.dylib:hamlib \
                    path:lib/pkgconfig/gtk+-2.0.pc:gtk2
depends_build       port:pkgconfig

configure.args      ax_cv_check_cflags___Werror=no

post-destroot {
    # Unwanted, conflicts with the real file.
    file delete ${destroot}${prefix}/share/applications/mimeinfo.cache
}

app.create yes
app.name Xlog
app.executable xlog
app.icon data/pixmaps/xlog.svg
app.retina yes
