# -*- 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                gnome-doc-utils
version             0.20.10
revision            2
set branch          [join [lrange [split ${version} .] 0 1] .]
description         GNOME document utils.
long_description    gnome-doc-utils is a collection of documentation utilities \
                    for the Gnomeproject. Notably, it contains utilities for building \
                    documentation andall auxiliary files in your source tree, and it \
                    contains the DocBookXSLT stylesheets that were once distributed \
                    with Yelp.
maintainers         {devans @dbevans} openmaintainer
categories          gnome
license             LGPL-2+
installs_libs       no
platforms           {darwin any}
supported_archs     noarch
homepage            https://wiki.gnome.org/Projects/GnomeDocUtils
master_sites        gnome:sources/${name}/${branch}/

checksums           rmd160  64fcdf0166c213b6bf5c872f583546b3a9a17bf4 \
                    sha256  cb0639ffa9550b6ddf3b62f3b1add92fb92ab4690d351f2353cffe668be8c4a6

use_xz              yes

# http://trac.macports.org/ticket/23954
use_parallel_build  no

depends_build       port:intltool \
                    port:pkgconfig

depends_lib         port:gettext \
                    port:libxslt \
                    port:py27-libxml2

depends_run         port:docbook-xml \
                    port:docbook-xsl-nons \
                    port:rarian \
                    port:iso-codes

# Pickup saner intltool macros
patchfiles          no-intltool-perl.patch

configure.python    ${prefix}/bin/python2.7
configure.args      --disable-scrollkeeper \
                    am_cv_python_pythondir=${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/

livecheck.type      gnome
