Skip to content
Permalink
Browse files

dvisvgm: update to 2.3.3

Use cxx11 1.1 PortGroup to make it work without further workarounds.
Add dependency on ghostscript. It may not be a strict dependency,
but dvisvgm is not as useful without it and it was linked anyway.
  • Loading branch information
mojca committed Mar 12, 2018
1 parent fd88035 commit eae5bdebb701d7af0db454d47a1177fd103e065f
Showing with 5 additions and 23 deletions.
  1. +5 −13 graphics/dvisvgm/Portfile
  2. +0 −10 graphics/dvisvgm/files/patch-doc-Makefile.in.diff
@@ -1,10 +1,10 @@
# -*- 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

PortSystem 1.0
PortGroup cxx11 1.0
PortGroup cxx11 1.1
PortGroup github 1.0

github.setup mgieseki dvisvgm 2.1.3
github.setup mgieseki dvisvgm 2.3.3
conflicts texlive-bin-extra
categories graphics textproc
platforms darwin
@@ -18,24 +18,16 @@ long_description The command-line utility dvisvgm is a tool for TeX/LaTeX use
homepage http://dvisvgm.bplaced.net/
github.tarball_from releases

checksums rmd160 11558bcc58e20c309e35812b27f69257da031626 \
sha256 553215051e85882ab4658c294ed0483cd5009d295f0a38dfccb480367abfd170
checksums rmd160 44508632899f5ce37b15ff8b2a045e7669ae93d3 \
sha256 3d9da5d51cd6ee1205acb741fb3f0cee4ab66a93db685c367e14280b0340a430

depends_build port:pkgconfig

depends_lib port:freetype \
port:ghostscript \
port:potrace \
port:texlive-bin \
port:zlib

# TODO: the binary links against $prefix/lib/libgs.dylib, figure out the details

patchfiles patch-doc-Makefile.in.diff

if { ${configure.cxx_stdlib} ne "libc++" } {
configure.cxx_stdlib libc++
depends_lib-append port:libcxx
}

test.run yes
test.target check

This file was deleted.

0 comments on commit eae5bde

Please sign in to comment.
You can’t perform that action at this time.