the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: asymptote
Version: 1.42
Revision: 1
Source: mirror:sourceforge:%n/%n-%v.src.tgz
Source-MD5: d852054eac10f81f60bcc899bf8e1069
SourceDirectory: %n-%v
License: GPL
BuildDepends: readline5, libncurses5, fftw3, gc, gsl, tetex-base
Depends: readline5-shlibs, libncurses5-shlibs, fftw3-shlibs, gc-shlibs, gsl-shlibs
SetCFLAGS: -Os
CompileScript: <<
./configure %c --mandir=%p/share/man --enable-gc=system --with-latex=%p/etc/texmf.local/tex/latex
make all
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: README LICENSE
PostInstScript: if [ -f %p/bin/mktexlsr ]; then %p/bin/mktexlsr %p/etc/texmf.local; fi
PostRmScript: if [ -f %p/bin/mktexlsr ]; then %p/bin/mktexlsr %p/etc/texmf.local; fi
Description: Script-based vector graphics language
DescDetail: <<
Asymptote is a powerful script-based vector graphics language for technical
drawings, inspired by MetaPost but with an improved C++-like
syntax. Asymptote provides for figures the same high-quality level of
typesetting that LaTeX does for scientific text.
<<
DescUsage: <<
The GUI "xasy" is a Python script. It runs with whatever "python"
executable comes first in your PATH. It works both with the
system python (using aqua graphics) and with Fink's python
(using X11 graphics), so you can choose which one you want to
use, by either manipulating your PATH, or by simply installing
or uninstalling Fink's "python" package.
<<
Maintainer: Martin Costabel
Homepage: http://asymptote.sourceforge.net
Package: asymptote
Version: 1.92
Revision: 3
Distribution: 10.5, 10.6
Source: mirror:sourceforge:%n/%n-%v.src.tgz
Source-MD5: 83846b6916a652d0191f855ec89a3434
SourceDirectory: %n-%v
License: GPL
BuildDepends: libsigsegv2, readline5, libncurses5, fftw3, gc, gsl
Depends: libsigsegv2-shlibs, readline5-shlibs, libncurses5-shlibs, fftw3-shlibs, gc-shlibs, gsl-shlibs, tetex-base, movie15, pil-systempython25
SetCFLAGS: -Os
PatchScript: <<
perl -pi -e "s|import getopt,sys,signal|$&\nsys.path[1]='%p/Library/Python/2.5/site-packages/PIL'|" GUI/xasy.py
# hack to not include
sed -i.bak -e '17s|\#ifndef NOHASH|\#if __GNUC_MINOR__|' memory.h
# do not produce crashdumps every time asy is run
perl -pi -e 's|SIGQUIT|SIGINT|' pipestream.h
<<
CompileScript: <<
#!/bin/sh -ev
./configure %c --mandir=%p/share/man --enable-gc=system --with-latex=%p/etc/texmf.local/tex/latex -with-context=%p/etc/texmf.local/tex/context
make all
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: README LICENSE ChangeLog ReleaseNotes
PostInstScript: if [ -f %p/bin/mktexlsr ]; then %p/bin/mktexlsr %p/etc/texmf.local; fi
PostRmScript: if [ -f %p/bin/mktexlsr ]; then %p/bin/mktexlsr %p/etc/texmf.local; fi
Description: Script-based vector graphics language
DescDetail: <<
Asymptote is a powerful script-based vector graphics language for technical
drawings, inspired by MetaPost but with an improved C++-like
syntax. Asymptote provides for figures the same high-quality level of
typesetting that LaTeX does for scientific text.
<<
DescUsage: <<
The GUI "xasy" is a Python script.
It runs with whatever "python" executable comes first in your PATH.
It works both with the system python (using aqua graphics,
better-looking but not-quite functional) and with Fink's python
(using X11 graphics, ugly but better-working).
So you can choose which one you want to
use, by either manipulating your PATH, for example running
env PATH=/usr/bin:$PATH xasy
for aqua graphics,
or by simply installing or uninstalling Fink's "python" package.
<<
DescPort: <<
This version uses the system OpenGL and GLUT frameworks for 3D effects.
It also uses the movie15 latex style.
The xasy python script now crashes if it does not find the PIL library.
We depend therefore on pil-systempython25. This seems to work with both
the system python and Fink's python2.5 and python2.6.
<<
Maintainer: Martin Costabel
Homepage: http://asymptote.sourceforge.net