# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 148540 2016-05-11 07:35:05Z devans@macports.org $ PortSystem 1.0 name dconf-editor version 3.20.2 set branch [join [lrange [split ${version} .] 0 1] .] maintainers devans openmaintainer categories gnome platforms darwin license GPL-2+ description The dconf-editor program provides a graphical interface \ for editing settings that are stored in the dconf database. long_description ${description} \ Previously part of dconf, it is now a stand-alone module. homepage https://wiki.gnome.org/Projects/dconf master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 accbd1b7bd197dcd64de1e610666abdd788fd795 \ sha256 486dcb60001b934186f3c3591897d986459bf240f35641fbb59ee957c15af2be depends_build port:pkgconfig \ port:intltool \ port:docbook-xsl \ port:libxslt \ port:appstream-glib \ port:autoconf \ port:automake depends_lib port:desktop-file-utils \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:dconf \ port:gtk3 \ port:libxml2 depends_run port:gnome-themes-standard # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --disable-schemas-compile \ --disable-silent-rules post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome