Navigation Menu

Skip to content

Commit

Permalink
dvisvgm: use the cxx11 PortGroup
Browse files Browse the repository at this point in the history
* The code is now using C++11: build against libc++
* Add a conflict with texlive-bin-extra
* Make pkgconfig a build dependency

See: #283
  • Loading branch information
mojca committed Feb 9, 2017
1 parent 61528a8 commit b882abf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion graphics/dvisvgm/Portfile
@@ -1,14 +1,17 @@
# -*- 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

name dvisvgm
version 2.1.1
revision 1
conflicts texlive-bin-extra
categories graphics textproc
platforms darwin
license GPL-3+
maintainers nomaintainer

description DVI to SVG converter
long_description The command-line utility dvisvgm is a tool for TeX/LaTeX users. It \
converts DVI files to the XML-based scalable vector graphics format SVG.
Expand All @@ -19,10 +22,19 @@ master_sites https://github.com/mgieseki/dvisvgm/releases/download/${vers
checksums rmd160 56dc3805ab683322a9c20733c6f5f6792c695b60 \
sha256 90f7a276a3fd2e0585faa356164145b936e69463317c4255a994b56b3ea00c33

depends_build port:pkgconfig

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

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

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

# requires googletest
test.run no
1 change: 1 addition & 0 deletions tex/texlive-bin-extra/Portfile
Expand Up @@ -7,6 +7,7 @@ name texlive-bin-extra
version 41101
revision 0

conflicts dvisvgm
categories tex
maintainers dports
license Copyleft Permissive
Expand Down

0 comments on commit b882abf

Please sign in to comment.