Commits

Ryan Schmidt authored 083d0d82e5d
winetricks: Update to 20190912

Also make zenity dependency optional via a variant. Closes: https://trac.macports.org/ticket/59067
No tags

x11/winetricks/Portfile

Modified
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 2
3 3 PortSystem 1.0
4 4 PortGroup github 1.0
5 5
6 -github.setup Winetricks winetricks 20190615
7 -revision 1
8 -checksums rmd160 4f35d538ea886e47c1852df0a5e58eb02e9095b8 \
9 - sha256 1a0f31544ebbb87e3f518d2ed93e0122db5782097f15c4cc3ca3969ab477b5ee \
10 - size 681081
6 +github.setup Winetricks winetricks 20190912
7 +revision 0
8 +checksums rmd160 da4c6638197f6799122ffcd7e45f050e21fc47f0 \
9 + sha256 4cbe7b70fcb017b2623df05e605628951f25a2758335901491ddcc6b53ede486 \
10 + size 679680
11 11
12 12 categories x11
13 13 maintainers {ryandesign @ryandesign} openmaintainer
14 14 license LGPL-2.1+
15 15 homepage http://www.winetricks.org/
16 16 platforms darwin
17 17 supported_archs noarch
18 18 use_configure no
19 19
20 20 description downloads and installs various redistributable \
21 21 runtime libraries
22 22
23 23 long_description ${name} can help you prepare your system for Windows \
24 24 applications that mistakenly assume all users' \
25 25 systems have all the needed redistributable runtime \
26 26 libraries or fonts.
27 27
28 -depends_run port:zenity \
29 - port:cabextract \
28 +depends_run port:cabextract \
30 29 path:bin/openssl:openssl \
31 30 bin:curl:curl \
32 31 bin:unzip:unzip
33 32
34 33 build {}
35 34
36 35 destroot.args PREFIX=${prefix}
37 36
38 37 post-destroot {
39 - set docdir ${prefix}/share/doc/${name}
38 + set docdir ${prefix}/share/doc/${subport}
40 39 xinstall -d ${destroot}${docdir}
41 40 xinstall -m 0644 -W ${worksrcpath} COPYING README.md ${destroot}${docdir}
42 41 }
42 +
43 +variant zenity description {Use zenity for GUI dialog boxes} {
44 + depends_run-append port:zenity
45 +}
46 +
47 +default_variants +zenity

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut