# -*- 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$ PortSystem 1.0 name glabels version 3.4.0 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 8f708be684c6880d633c4a8af5fafb7978715771 \ sha256 d40e079395d30adbcd8204f41d08f7a8da9ec130bffa4cb3c130fbe2322b6410 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 port:gtk3 \ port:libxml2 \ port:librsvg \ port:barcode \ port:qrencode depends_run port:gnome-themes-standard \ port:yelp patchfiles patch-missing-prototype.diff # 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-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