SUMMARY="A fast DVI, EPS, and PDF to SVG converter" DESCRIPTION="The command-line utility dvisvgm is a tool for TEX/LATEX users. It converts DVI, \ EPS, and PDF files to the XML-based vector graphics format SVG. In contrast to bitmap graphics, \ vector graphics are arbitrarily scalable without loss of quality. All modern web browsers support \ a large amount of the current SVG standard 1.1. Furthermore, SVG files can also be displayed with \ the Java-based Squiggle SVG browser which is part of the Apache Batik project, and the free \ vector graphics editor Inkscape." HOMEPAGE="https://dvisvgm.de/" COPYRIGHT="2005–2025 Martin Gieseking" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://github.com/mgieseki/dvisvgm/releases/download/$portVersion/dvisvgm-$portVersion.tar.gz" CHECKSUM_SHA256="26446bb3b10739ff0925c9e416b76d2d222075c9d5dcfafe6e214609d072ed1a" PATCHES="dvisvgm-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" dvisvgm$secondaryArchSuffix = $portVersion cmd:dvisvgm = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libbrotlienc$secondaryArchSuffix lib:libfreetype$secondaryArchSuffix lib:libgs$secondaryArchSuffix lib:libkpathsea$secondaryArchSuffix lib:libpotrace$secondaryArchSuffix lib:libwoff2enc$secondaryArchSuffix lib:libxxhash$secondaryArchSuffix lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libbrotlienc$secondaryArchSuffix devel:libfreetype$secondaryArchSuffix devel:libgs$secondaryArchSuffix devel:libkpathsea$secondaryArchSuffix devel:libpotrace$secondaryArchSuffix devel:libwoff2enc$secondaryArchSuffix devel:libxxhash$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:autoconf cmd:automake cmd:awk cmd:gcc$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " TEST_REQUIRES=" cmd:python3 " defineDebugInfoPackage dvisvgm$secondaryArchSuffix \ $prefix/bin/dvisvgm BUILD() { runConfigure --omit-dirs "binDir" ./configure \ --bindir=$prefix/bin make $jobArgs } INSTALL() { make install } TEST() { make check }