Commits

Michael Dickens authored 0f98a0916a4
dvisvgm: update to 2.8.2

Deprecate dvisvgm-devel in favor of dvisvgm, since its releases are often enough that the devel port really isn't that useful.
No tags

graphics/dvisvgm/Portfile

Modified
7 7 categories graphics textproc
8 8 platforms darwin
9 9 license GPL-3+
10 10 maintainers {michaelld @michaelld} openmaintainer
11 11
12 12 description DVI to SVG converter
13 13 long_description DVI to SVG converter. The command-line utility dvisvgm is a tool \
14 14 for TeX/LaTeX users. It converts DVI files to the XML-based scalable \
15 15 vector graphics format SVG.
16 16
17 -subport dvisvgm-devel {}
18 17 compiler.cxx_standard 2011
19 18
19 +subport dvisvgm-devel {
20 + # releases happen here often enough to not require this port
21 + replaced_by dvisvgm
22 + PortGroup obsolete 1.0
23 + version 20191204-232f2cbc
24 + revision 1
25 +}
26 +
20 27 if {${subport} eq ${name}} {
21 28
22 - github.setup mgieseki dvisvgm 2.8.1
23 - checksums rmd160 ede8e897bb89213d87f792b53266e86e826a2f88 \
24 - sha256 0843cb9015121cf5370ac0d6b3e6194f459b7ac9b8787a2f55a12e92891be1ad \
25 - size 2590444
29 + github.setup mgieseki dvisvgm 2.8.2
30 + checksums rmd160 994012aef95809b46d5b3136f8c6ab22e50074ea \
31 + sha256 931fc862b0a07159b46ce9b70479753e178e89bc7571d827538f5bdbdd0f84f9 \
32 + size 2591193
26 33 revision 0
27 34
28 - conflicts ${name}-devel
29 -
30 35 long_description ${long_description}. \
31 36 This port follows the release version of ${name}, which is typically \
32 37 updated every 6 months. If for some reason this port does not build or \
33 38 function as desired, try the ${name}-devel port.
34 39
35 -} else {
36 -
37 - # devel
38 -
39 - github.setup mgieseki dvisvgm 232f2cbcb71895db30037e6b77c770fd95069b04
40 - version 20191204-[string range ${github.version} 0 7]
41 - checksums rmd160 e1b0f9047dc20487637ee904f47affcf0f8dcb7b \
42 - sha256 d705c50be70ae86cc43ff7df193719797299a0b76c1504b0a04e8ca77a491c16 \
43 - size 2591063
44 - revision 0
45 -
46 - conflicts ${name}
47 - long_description ${long_description}. \
48 - This port follows the GIT master version of ${name}, which is typically \
49 - updated every few days to weeks.
50 -
51 -}
52 -
53 -use_autoconf yes
54 -autoconf.cmd ${worksrcpath}/autogen.sh
55 -
56 -# Setting autoconf.cmd to a non-default value after setting 'use_autoconf yes'
57 -# removes the automatic dependencies, so re-add them.
58 -depends_build-append \
59 - port:autoconf \
60 - port:automake \
61 - port:libtool
62 -
63 -# these are dependencies of the project itself
64 -depends_build-append \
65 - port:asciidoc \
66 - port:pkgconfig
67 -
68 -depends_lib-append \
69 - port:brotli \
70 - port:freetype \
71 - port:ghostscript \
72 - port:potrace \
73 - port:texlive-bin \
74 - port:woff2 \
75 - port:zlib \
76 - path:lib/libssl.dylib:openssl
77 -# dvisvgm also depends on xxhash which is not yet packaged by MacPorts
78 -# but the dependency is bundled with the sources & taken from there
79 -# port:xxhash
80 -
81 -# prevent opportunistic dependency on gawk
82 -configure.env-append \
83 - AWK=/usr/bin/awk
84 -
85 -# see https://trac.macports.org/ticket/57528
86 -use_parallel_build no
87 -
88 -test.run yes
89 -test.target check
90 -
91 -pre-activate {
92 - if {![catch {set vers [lindex [registry_active texlive-bin-extra] 0]}]
93 - && ([vercmp [lindex $vers 1] 47446] < 0 ||
94 - [vercmp [lindex $vers 1] 47446] == 0
95 - && [vercmp [lindex $vers 2] 1] < 1)} {
96 - registry_deactivate_composite texlive-bin-extra "" [list ports_nodepcheck 1]
40 + use_autoconf yes
41 + autoconf.cmd ${worksrcpath}/autogen.sh
42 +
43 + # Setting autoconf.cmd to a non-default value after setting
44 + # 'use_autoconf yes' removes the automatic dependencies, so re-add
45 + # them.
46 + depends_build-append \
47 + port:autoconf \
48 + port:automake \
49 + port:libtool
50 +
51 + # these are dependencies of the project itself
52 + depends_build-append \
53 + port:asciidoc \
54 + port:pkgconfig
55 +
56 + depends_lib-append \
57 + port:brotli \
58 + port:freetype \
59 + port:ghostscript \
60 + port:potrace \
61 + port:texlive-bin \
62 + port:woff2 \
63 + port:zlib \
64 + path:lib/libssl.dylib:openssl
65 + # dvisvgm also depends on xxhash which is not yet packaged by MacPorts
66 + # but the dependency is bundled with the sources & taken from there
67 + # port:xxhash
68 +
69 + # prevent opportunistic dependency on gawk
70 + configure.env-append \
71 + AWK=/usr/bin/awk
72 +
73 + # see https://trac.macports.org/ticket/57528
74 + use_parallel_build no
75 +
76 + test.run yes
77 + test.target check
78 +
79 + pre-activate {
80 + if {![catch {set vers [lindex [registry_active texlive-bin-extra] 0]}]
81 + && ([vercmp [lindex $vers 1] 47446] < 0 ||
82 + [vercmp [lindex $vers 1] 47446] == 0
83 + && [vercmp [lindex $vers 2] 1] < 1)} {
84 + registry_deactivate_composite texlive-bin-extra "" [list ports_nodepcheck 1]
85 + }
97 86 }
98 87 }

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

Add shortcut