# -*- 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                gtkevemon
epoch               1
version             1.9
revision            3
set build_version   155
set hg_tag          4787afa0ad96
categories          games
platforms           darwin
maintainers         nomaintainer
license             GPL-3+

description         GTK Eve-Online monitor

long_description    GtkEveMon is a skill monitoring standalone application \
                    for GNU/Linux systems. With GtkEveMon you can monitor \
                    your current skills and your skill training process \
                    without starting EVE-Online.

homepage            http://gtkevemon.battleclinic.com/
master_sites        http://bitbucket.org/BattleClinic/${name}/get/
distfiles           ${name}-${version}-${build_version}${extract.suffix}
worksrcdir          BattleClinic-${name}-${hg_tag}/${name}

checksums           rmd160  5776202f1ccbf7cb543b41ec33dd12a0ec57d0be \
                    sha256  e8ea0883178a297728b9d5c28e5ec83a37042237949b9ebba7fb764e2c3bb534

depends_build       port:pkgconfig

depends_lib         port:gtkmm \
                    port:libxml2 \
                    path:lib/libssl.dylib:openssl

use_configure       no

variant universal   {}

use_parallel_build  yes
build.env           CXX=${configure.cxx} \
                    CXXFLAGS=[get_canonical_archflags cxx] \
                    LDFLAGS=[get_canonical_archflags ld]

destroot.destdir    INSTALL_BIN=${destroot}${prefix}/bin \
                    INSTALL_DIR_DESK=${destroot}${prefix}/share/applications/ \
                    INSTALL_DIR_ICON=${destroot}${prefix}/share/pixmaps/
