# -*- 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
set branch [join [lrange [split ${version} .] 0 1] .]
description Gwget is a Download Manager for Gnome 2. It uses wget as a backend.
long_description ${description}
homepage https://www.gnome.org/projects/gwget/
master_sites gnome:sources/${name}/${branch}
checksums md5 b65ebc752cad068e747ae6ef45fafdcc \
sha1 d2cc6eafb23488798939f99f6aad4e1a87f1d7c0 \
rmd160 461bc7823aaf5043def1dbf15b07fb098216086d
depends_build port:pkgconfig \
depends_lib port:desktop-file-utils \
depends_run path:bin/wget:wget
patchfiles patch-gwget-application.h.diff
configure.args --disable-epiphany-extension \
--disable-schemas-install
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"