# -*- 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 PortSystem 1.0 PortGroup yelp 1.0 name glabels version 3.4.1 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome platforms darwin maintainers nomaintainer description A label and business card creation program long_description gLabels is a program for creating labels and business cards \ for the GNOME desktop environment. homepage http://glabels.sourceforge.net/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 b42e0e08e4aaf96a5501eb0468fc0de79b848760 \ sha256 18e457298abb1c617187361109eeae769317686303fc07726af31e11519c5938 \ size 3467992 depends_build port:pkgconfig \ port:autoconf \ port:automake \ port:libtool \ port:gnome-common \ port:gtk-doc \ port:intltool \ port:itstool \ port:yelp-tools depends_lib path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:libxml2 \ path:lib/pkgconfig/librsvg-2.0.pc:librsvg \ port:qrencode depends_run port:adwaita-icon-theme # 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 --without-libebook \ --without-libbarcode \ --without-libzint \ --without-libiec16022 \ --enable-compile-warnings=minimum \ --disable-silent-rules \ --disable-schemas-compile variant eds description {Build with Evolution Data Server support} { depends_lib-append port:evolution-data-server configure.args-delete --without-libebook } # # evolution-data-server -> nss is not universal # if {[variant_isset eds]} { universal_variant no } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" } livecheck.type gnome