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

# homepage and github repository exist
# no activity in repository since release of 12.09.1 in 2015
# current dependents
#   php53-midgard2
#   php54-midgard2
deprecated.upstream_support no

name                midgard2-core
license             LGPL-2+

version             12.09.1
revision            1
categories          devel
maintainers         nomaintainer
description         A content repository system
long_description    Midgard is a content repository system platform \
                    with bindings in PHP, Python etc.
homepage            http://www.midgard-project.org/
master_sites        https://github.com/midgardproject/midgard-core/archive/refs/tags

distname            ${version}
worksrcdir          midgard-core-${version}

checksums           rmd160  042ec57da6ab768ffc972899464b644470c7fab4 \
                    sha256  edb55ab36abb66cc4ebf49d679ca81683bff77a172a332d65d299caa8a46c766 \
                    size    537442

depends_build       port:autoconf \
                    port:automake \
                    port:gettext \
                    port:libtool \
                    path:bin/pkg-config:pkgconfig

depends_lib         port:gettext-runtime \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:dbus-glib \
                    port:libgda5 \
                    port:libxml2

gobject_introspection yes

patchfiles          autogen.sh.patch

configure.args      --sysconfdir=${prefix}/etc/midgard/ \
                    --with-dbus-support \
                    --with-libgda5

configure.cmd       ./autogen.sh

notes "
Current dependents are:
   php53-midgard2
   php54-midgard2
"

livecheck.type      none
