# -*- 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
github.setup vectorgraphics asymptote 2.44
maintainers {mojca @mojca} openmaintainer
description A vector graphics language
long_description Asymptote is a powerful descriptive \
vector graphics language that provides a natural \
coordinate-based framework for technical drawing. \
Labels and equations are typeset with LaTeX, for \
high-quality PostScript output.
homepage http://asymptote.sourceforge.net
# libpaper is a dependency of ghostscript that's only used at runtime
license_noconflict libpaper
checksums rmd160 ce0a959b0b11d2cbcced2c9aeb45edf0d7038a06 \
sha256 6373edad55752eb425e824670b4aa5d7e1e6aba1e19c3c1c8cedf37ee53cb005 \
reinplace "s|\\\[${version}git\\\]|\\\[${version}\\\]|" ${worksrcpath}/configure.ac
autoconf.cmd ./autogen.sh
configure.args --with-latex=${texlive_texmfports}/tex/latex \
--with-context=${texlive_texmfports}/tex/context/third \
--mandir=${prefix}/share/man \
# texlive-latex-recommended and texinfo are only used for building the docs
# other relevant packages are:
# but they are already a dependency of latex-recommended
# one day we could split that into a separate +docs variant
# or fetch the PDF from somewhere
depends_build port:autoconf \
port:texlive-latex-recommended \
port:texlive-fonts-recommended
depends_lib port:readline \