Files

55 lines
1.8 KiB
Tcl
Raw Permalink Normal View History

# -*- 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
2023-08-15 05:18:44 -05:00
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/
2023-08-15 05:18:44 -05:00
checksums rmd160 f3e9fff06e55ed377108fc2ece4c351f2f6b20f8 \
sha256 33cc0e25daa62e5ba7091caea3c83a8dc74dc5d7721c4501d349f210c4b3c6d3 \
size 302904
2014-05-22 07:20:50 +00:00
depends_build port:intltool \
port:pkgconfig \
port:autoconf \
port:automake \
port:libtool
depends_lib port:desktop-file-utils \
2021-12-13 09:01:02 -05:00
path:bin/rsync:rsync \
2021-10-16 15:41:00 -04:00
path:lib/pkgconfig/gtk+-3.0.pc:gtk3
2020-11-26 18:50:47 -06:00
2020-11-27 19:37:35 -06:00
post-patch {
file attributes ${worksrcpath}/autogen.sh -permissions a+x
2020-11-27 19:37:35 -06:00
}
# 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}