# -*- 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 desktop-file-utils version 0.23 maintainers nomaintainer categories gnome license GPL-2+ installs_libs no platforms darwin description Command line utilities for working with desktop entries. long_description \ ${description} homepage https://www.freedesktop.org/wiki/Software/desktop-file-utils/ master_sites https://www.freedesktop.org/software/desktop-file-utils/releases/ use_xz yes checksums rmd160 308058ff58db3a8a4ac28bf4b0d57df2dfede7bf \ sha256 6c094031bdec46c9f621708f919084e1cb5294e2c5b1e4c883b3e70cb8903385 depends_build port:pkgconfig depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:popt # emacs could probably be turned back on in a variant, depending on emacs # from MacPorts, as for some this may otherwise fail (ticket #15922) configure.env-append EMACS="no" post-activate { system "update-desktop-database -q ${prefix}/share/applications; true" } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"