# -*- 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: Portfile 127228 2014-10-23 21:35:34Z devans@macports.org $ PortSystem 1.0 name gucharmap version 3.14.0 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 cfdf1f9fe70637e8c162085cd8e87f8e6d5905b3 \ sha256 7aeda976f0db68f923291717a166456da6d1c765fee6838e0d9432cea74749c8 depends_build port:pkgconfig \ port:intltool \ port:itstool \ port:gnome-common \ port:yelp-tools \ port:gtk-doc \ port:appdata-tools depends_lib port:desktop-file-utils \ port:gtk3 \ port:gobject-introspection \ port:vala depends_run port:gnome-settings-daemon \ port:yelp # update m4/intltool.m4 and autoreconf pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 } use_autoreconf yes autoreconf.args -fvi use_parallel_build no configure.args --with-gtk=3.0 \ --enable-introspection=yes \ --enable-vala=yes \ --disable-Bsymbolic \ --disable-schemas-compile \ --disable-silent-rules platform darwin { if {${os.major} > 9} { depends_lib-delete port:gobject-introspection \ port:vala configure.args-delete --enable-introspection=yes \ --enable-vala=yes configure.args-append --enable-introspection=no \ --enable-vala=no } } # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" 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