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

github.setup        tjohnman Obsession c33eebc782d152fe88bdc9794f28c139b5c527b4
version             2023.07.12
revision            0

categories          www hotline
license             GPL-3
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer

description         A Hotline client written in Qt featuring Shift-JIS support and other stuff.
long_description    The Obsession Hotline client aims to be a modern alternative for macOS, Linux and Windows users. \
                    It supports Shift-JIS encoding for Japanese users or for browsing Japanese servers. \
                    It is written using Qt and should compile and work out of the box on macOS, Linux and Windows.

checksums           rmd160  2857a5c3b028faa14de3908a43333d570f439207 \
                    sha256  56932965a3ef04ee3dbfbb2eeeea6db68acc93f4f3260d3a3a8d1f5081e4c377 \
                    size    21656604

depends_build       port:qt4-mac

# error: ISO C++ forbids initialization of member ‘encryption’
# https://github.com/tjohnman/Obsession/issues/41
compiler.cxx_standard 2011

destroot {
    move ${worksrcpath}/Obsession.app ${destroot}${applications_dir}
}
