Permalink
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (38 sloc) 1.57 KB
# -*- 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
name dvipng
version 1.15
revision 4
categories tex
maintainers {dports @drkp} openmaintainer
description a DVI-to-PNG converter
long_description \
This program makes PNG and/or GIF graphics from DVI files as obtained \
from TeX and its relatives. It is intended to produce anti-aliased \
screen-resolution images as fast as is possible.
homepage https://savannah.nongnu.org/projects/dvipng/
platforms darwin
license LGPL
master_sites sourceforge
checksums rmd160 0382c1b2fecd1658b3e8313d10d396362bd73df2 \
sha256 197e9fd0f87ede32dc4bc1d39ec2cd72fa5260856f9d0dc2d8e6895130408347
depends_build port:ghostscript \
port:texinfo
depends_lib port:gd2 \
port:texlive-bin \
port:texlive-basic \
port:freetype \
port:t1lib \
port:libpng \
port:bzip2
depends_run port:ghostscript
# texlive-bin-extra used to contain dvipng before it was split off
# into this port; deactivate old version to prevent conflict
pre-activate {
if { ![catch {set vers [lindex [registry_active texlive-bin-extra] 0]}]
&& ([vercmp [lindex $vers 1] 23089] < 0
|| [vercmp [lindex $vers 1] 23089] == 0
&& [lindex $vers 2] < 1)} {
registry_deactivate_composite texlive-bin-extra "" [list ports_nodepcheck 1]
}
}