# -*- 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 2.2.8 revision 2 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome platforms darwin maintainers gmail.com:craig.cottingham description print labels and business cards 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_bzip2 yes checksums md5 8e0ac4b19de68d55e33aef6a5544f0e5 \ sha1 65884fde0744fe6b8aaf5bb39deee427d292dce3 \ rmd160 072aac5328efd548c5a0a994523eba9753158d3d depends_build port:pkgconfig \ port:gnome-doc-utils \ port:intltool depends_lib port:gtk2 \ port:libgnomeui \ port:libxml2 \ port:libglade2 patchfiles patch-glib-2.32.diff \ patch-iec16022-0.2.1-iec116022ecc200.c.diff configure.args --without-libebook \ --disable-update-mimedb \ --disable-update-desktopdb post-activate { system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true" system "${prefix}/bin/update-mime-database ${prefix}/share/mime; true" } 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 } livecheck.type regex livecheck.url http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/ livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}