# -*- 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 # $Id$ PortSystem 1.0 PortGroup gobject_introspection 1.0 name gucharmap version 9.0.1 set branch [join [lrange [split ${version} .] 0 1] .] description gucharmap is a featureful unicode character map. long_description ${description} maintainers devans openmaintainer categories gnome license GPL-3+ platforms darwin homepage https://wiki.gnome.org/Apps/Gucharmap master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 82af5ea6b9117c59b6b02e0dda8a6a60edba3901 \ sha256 8617ab68f2977cc3780a1f39264a48b8d9cf8824172c442fa9ca1c11d81dbd6c depends_build port:pkgconfig \ port:intltool \ port:appstream-glib \ port:itstool \ port:yelp-tools \ port:gtk-doc \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool \ port:coreutils \ port:unzip \ port:wget depends_lib port:desktop-file-utils \ port:gtk3 depends_run port:gnome-themes-standard \ port:yelp use_parallel_build no patchfiles patch-configure.ac.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.env-append \ SHA512SUM=${prefix}/bin/gsha512sum configure.cmd ./autogen.sh configure.args --with-gtk=3.0 \ --with-unicode-data=download \ --disable-Bsymbolic \ --disable-schemas-compile \ --disable-maintainer-mode \ --disable-silent-rules platform darwin { if {${os.major} > 9} { configure.args-append --enable-vala=no } else { gobject_introspection yes depends_lib-append port:vala configure.args-append --enable-vala=yes } } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome