Ticket #45324: patch-geany-vte-2.90.diff
File patch-geany-vte-2.90.diff, 1.2 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
5 5 6 6 name geany 7 7 version 1.24.1 8 revision 1 8 9 license GPL-2+ 9 10 categories devel 10 11 platforms darwin … … 30 31 port:pkgconfig \ 31 32 port:intltool 32 33 depends_lib \ 34 port:desktop-file-utils \ 33 35 port:gettext \ 34 36 port:gtk2 \ 35 37 port:vte-gtk2-compat … … 56 58 57 59 variant gtk3 description {Enable experimental gtk3 support} { 58 60 depends_lib-replace port:gtk2 port:gtk3 59 depends_lib-replace port:vte-gtk2-compat port:vte 61 depends_lib-replace port:vte-gtk2-compat port:vte-2.90 60 62 configure.args-append --enable-gtk3 61 63 } 62 64 65 if {[variant_isset gtk3]} { 66 set update_icon_cache "gtk-update-icon-cache-3.0" 67 } else { 68 set update_icon_cache "gtk-update-icon-cache" 69 } 70 71 post-activate { 72 system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" 73 system "${prefix}/bin/${update_icon_cache} -f -t ${prefix}/share/icons/hicolor" 74 } 75 63 76 livecheck.type regex 64 77 livecheck.url ${master_sites} 65 78 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"