Files
QwertyChouskieandGitHub cb0edd79d8 gtk{2,3}{,-devel}: Use GTK3 version of gtk-update-icon-cache by default
* GTK2 applications: Use `gtk-update-icon-cache-2.0`

* GTK3 applications: Use `gtk-update-icon-cache`

As opposed to `gtk-update-icon-cache-3.0`
2024-12-21 11:29:54 +04:00

55 lines
1.8 KiB
Tcl

# -*- 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
name grsync
version 1.3.1
revision 0
categories net
platforms darwin
maintainers {mps @Schamschula} openmaintainer
license GPL-2
description Grsync is a GUI for rsync.
long_description Grsync makes use of the GTK libraries to synchronize folders, files and make backups.
homepage http://www.opbyte.it/grsync/
master_sites http://www.opbyte.it/release/
checksums rmd160 f3e9fff06e55ed377108fc2ece4c351f2f6b20f8 \
sha256 33cc0e25daa62e5ba7091caea3c83a8dc74dc5d7721c4501d349f210c4b3c6d3 \
size 302904
depends_build port:intltool \
port:pkgconfig \
port:autoconf \
port:automake \
port:libtool
depends_lib port:desktop-file-utils \
path:bin/rsync:rsync \
path:lib/pkgconfig/gtk+-3.0.pc:gtk3
post-patch {
file attributes ${worksrcpath}/autogen.sh -permissions a+x
}
# grsync's autogen.sh does not run intltoolize so first run intltoolize manually then
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
configure.cmd intltoolize --automake --copy --force && ./autogen.sh && ./configure
configure.args --disable-unity
# provides desktop file and hicolor icons
post-activate {
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
}
livecheck.type regex
livecheck.url ${homepage}download.html
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}