# -*- 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
# $Id: Portfile 58765 2009-10-05 01:09:41Z jmr@macports.org $

PortSystem	1.0

name		asymptote
version		1.88
categories	graphics
maintainers	gmail.com:loshea
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
platforms	darwin
configure.args  --with-latex=${prefix}/share/texmf-local/tex/latex \
                --mandir=${prefix}/share/man
master_sites	sourceforge
extract.suffix  .src.tgz
checksums       md5     6b3e32747e52b3af533a149bb0131b10 \
                sha1    2062d6c76ae946347668d61cd320ad52f93e1a7c \
                rmd160  3c880d59121d99ec2b1fb4dacfd3fe30dd96525d
depends_lib	port:readline \
                port:texlive \
                port:ghostscript \
                port:fftw-3 \
                port:gsl \
                port:libsigsegv \
                port:ncurses \
                port:boehmgc

post-activate {
  # run `mktexlsr` to make sure the asymptote files are found:
  system "mktexlsr"
}
