diff options
author | pav <pav@FreeBSD.org> | 2005-07-29 23:27:25 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-07-29 23:27:25 +0800 |
commit | f6e74ce53ef5079b1d470a97ea2b85cb0a063bc4 (patch) | |
tree | dc8dcb9c618f89e76fd00ba9996c38794b833399 /math | |
parent | 56f5f45c32f3e6b5b7b00285f3a155dddef90046 (diff) | |
download | freebsd-ports-gnome-f6e74ce53ef5079b1d470a97ea2b85cb0a063bc4.tar.gz freebsd-ports-gnome-f6e74ce53ef5079b1d470a97ea2b85cb0a063bc4.tar.zst freebsd-ports-gnome-f6e74ce53ef5079b1d470a97ea2b85cb0a063bc4.zip |
Asymptote is a powerful script-based 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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program:
it can therefore exploit the best features of script (command-driven)
and graphical user interface (GUI) methods.
PR: ports/83990
Submitted by: Nicola Vitale <nivit@email.it>
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/asymptote/Makefile | 75 | ||||
-rw-r--r-- | math/asymptote/distinfo | 2 | ||||
-rw-r--r-- | math/asymptote/files/patch-Makefile.in | 12 | ||||
-rw-r--r-- | math/asymptote/files/patch-doc-Makefile | 13 | ||||
-rw-r--r-- | math/asymptote/pkg-descr | 15 | ||||
-rw-r--r-- | math/asymptote/pkg-plist | 129 |
7 files changed, 247 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 85c9e78f51f1..b0b195f4c0fd 100644 --- a/math/Makefile +++ b/math/Makefile @@ -15,6 +15,7 @@ SUBDIR += arpack SUBDIR += arpack++ SUBDIR += asir2000 + SUBDIR += asymptote SUBDIR += atlas SUBDIR += atlas-devel SUBDIR += bamg diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile new file mode 100644 index 000000000000..4dab6350ebd8 --- /dev/null +++ b/math/asymptote/Makefile @@ -0,0 +1,75 @@ +# New ports collection makefile for: asymptote +# Date created: 2005-07-22 +# Whom: Nicola Vitale <nivit@email.it> +# +# $FreeBSD$ +# + +PORTNAME= asymptote +PORTVERSION= 0.83 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= nivit@email.it +COMMENT= A powerful script-based vector graphics language + +LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc \ + fftw3.3:${PORTSDIR}/math/fftw3 +# requires devel/boehm-gc distfile +BUILD_DEPENDS= ${DISTDIR}/${GC_DISTNAME}:${PORTSDIR}/devel/boehm-gc:fetch \ + convert:${PORTSDIR}/graphics/ImageMagick \ + latex:${PORTSDIR}/print/teTeX \ + makeinfo:${PORTSDIR}/textproc/texi2html \ + ${MKTEXLSR}:${PORTSDIR}/print/teTeX \ + texi2dvi:${PORTSDIR}/print/teTeX +RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \ + ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter + +# boehm-gc +ONLY_FOR_ARCHS= i386 + +USE_GHOSTSCRIPT= yes +USE_GMAKE= yes +USE_PYTHON= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-latex=${LOCALBASE}/share/texmf-local/tex/latex +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include $${CPPFLAGS}" LFLAGS="-L${LOCALBASE}/lib $${LFLAGS}" CFLAGS="-I${LOCALBASE}/include $${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib $${LDFLAGS}" +MAKE_ENV+= ${CONFIGURE_ENV} + +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr +PLIST_SUB= MKTEXLSR=${MKTEXLSR} + +ALL_TARGET= asy +INSTALL_TARGET= install-asy + +# Documentation +.if !defined(NOPORTDOCS) +MAN1= asy.1 xasy.1x +INFO= ${PORTNAME} + +ALL_TARGET+= man +INSTALL_TARGET+= install-man +.endif + +LN_OPTS= -sf + +GCVERSION= 6.5 # hardcoded in asymptote configure +GC_DISTNAME= gc${GCVERSION}.tar.gz + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +# require exact version of gcc on 4.X +LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline +USE_GCC= 3.3 +.else +USE_GCC= 3.3+ +.endif + +pre-configure: + @cd ${WRKSRC}; \ + ${LN} ${LN_OPTS} ${DISTDIR}/${GC_DISTNAME} ${GC_DISTNAME} + +.include <bsd.port.post.mk> diff --git a/math/asymptote/distinfo b/math/asymptote/distinfo new file mode 100644 index 000000000000..f9f444d26d2f --- /dev/null +++ b/math/asymptote/distinfo @@ -0,0 +1,2 @@ +MD5 (asymptote-0.83.tar.gz) = c336e6a1d1ac51b9d517810fb0b0c968 +SIZE (asymptote-0.83.tar.gz) = 499920 diff --git a/math/asymptote/files/patch-Makefile.in b/math/asymptote/files/patch-Makefile.in new file mode 100644 index 000000000000..cdfe42b9cb75 --- /dev/null +++ b/math/asymptote/files/patch-Makefile.in @@ -0,0 +1,12 @@ +$FreeBSD$ +--- Makefile.in Sat Jul 2 22:23:42 2005 ++++ Makefile.in.port Fri Jul 22 19:15:11 2005 +@@ -36,7 +36,7 @@ + mandir = @mandir@ + datadir = @datadir@ + asydir = $(datadir)/asymptote +-exampledir = $(datadir)/doc/asymptote ++exampledir = $(datadir)/examples/asymptote + latexdir = @latexdir@ + INSTALL = @INSTALL@ + ASYMPTOTE_DIR = ../base diff --git a/math/asymptote/files/patch-doc-Makefile b/math/asymptote/files/patch-doc-Makefile new file mode 100644 index 000000000000..bc33e2c867d1 --- /dev/null +++ b/math/asymptote/files/patch-doc-Makefile @@ -0,0 +1,13 @@ +$FreeBSD$ +--- doc/Makefile Sat Feb 12 10:21:42 2005 ++++ doc/Makefile.port Sat Jul 23 22:03:59 2005 +@@ -46,7 +46,8 @@ + ${INSTALL} -d $(prefix)/info $(exampledir) $(mandir)/man1 + ${INSTALL} -m 644 asymptote.info $(prefix)/info + install-info --infodir=$(prefix)/info asymptote.info +- ${INSTALL} -m 644 asymptote.pdf $(exampledir) ++ mkdir -p $(prefix)/share/doc/asymptote ++ ${INSTALL} -m 644 asymptote.pdf $(prefix)/share/doc/asymptote/ + ${INSTALL} -m 644 $(MANFILES) $(mandir)/man1 + + uninstall: diff --git a/math/asymptote/pkg-descr b/math/asymptote/pkg-descr new file mode 100644 index 000000000000..5dff179feaf9 --- /dev/null +++ b/math/asymptote/pkg-descr @@ -0,0 +1,15 @@ +Asymptote is a powerful script-based 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. + +A major advantage of Asymptote over other graphics packages is that +it is a programming language, as opposed to just a graphics program: +it can therefore exploit the best features of script (command-driven) +and graphical user interface (GUI) methods. + +Author: Andy Hammerlindl, John Bowman, and Tom Prince +WWW: http://asymptote.sourceforge.net/ + +- Nicola Vitale +nivit@email.it diff --git a/math/asymptote/pkg-plist b/math/asymptote/pkg-plist new file mode 100644 index 000000000000..f38c99c2c540 --- /dev/null +++ b/math/asymptote/pkg-plist @@ -0,0 +1,129 @@ +@comment $FreeBSD$ +bin/asy +bin/xasy +%%DATADIR%%/babel.asy +%%DATADIR%%/drawtree.asy +%%DATADIR%%/featpost3D.asy +%%DATADIR%%/feynman.asy +%%DATADIR%%/geometry.asy +%%DATADIR%%/graph.asy +%%DATADIR%%/graph3d.asy +%%DATADIR%%/latin1.asy +%%DATADIR%%/math.asy +%%DATADIR%%/metapost.asy +%%DATADIR%%/palette.asy +%%DATADIR%%/patterns.asy +%%DATADIR%%/plain.asy +%%DATADIR%%/pstoedit.asy +%%DATADIR%%/simplex.asy +%%DATADIR%%/stats.asy +%%DATADIR%%/three.asy +%%DATADIR%%/tree.asy +%%DATADIR%%/unicode.asy +%%EXAMPLESDIR%%/Bode.asy +%%EXAMPLESDIR%%/Pythagoras.asy +%%EXAMPLESDIR%%/PythagoreanTree.asy +%%EXAMPLESDIR%%/asy-mode.el +%%EXAMPLESDIR%%/asy.vim +%%EXAMPLESDIR%%/bezier.asy +%%EXAMPLESDIR%%/bigsquare.asy +%%EXAMPLESDIR%%/cardiod.asy +%%EXAMPLESDIR%%/centroidfg.asy +%%EXAMPLESDIR%%/circles.asy +%%EXAMPLESDIR%%/coag.asy +%%EXAMPLESDIR%%/colons.asy +%%EXAMPLESDIR%%/conicurv.asy +%%EXAMPLESDIR%%/cos2theta.asy +%%EXAMPLESDIR%%/cosaddition.asy +%%EXAMPLESDIR%%/cube.asy +%%EXAMPLESDIR%%/datagraph.asy +%%EXAMPLESDIR%%/delu.asy +%%EXAMPLESDIR%%/diagonal.asy +%%EXAMPLESDIR%%/diatom.asy +%%EXAMPLESDIR%%/diatom.csv +%%EXAMPLESDIR%%/dots.asy +%%EXAMPLESDIR%%/dragon.asy +%%EXAMPLESDIR%%/eetomumu.asy +%%EXAMPLESDIR%%/elliptic.asy +%%EXAMPLESDIR%%/equilateral.asy +%%EXAMPLESDIR%%/equilchord.asy +%%EXAMPLESDIR%%/errorbars.asy +%%EXAMPLESDIR%%/exp.asy +%%EXAMPLESDIR%%/fano.asy +%%EXAMPLESDIR%%/fermi.asy +%%EXAMPLESDIR%%/fjortoft.asy +%%EXAMPLESDIR%%/generalaxis.asy +%%EXAMPLESDIR%%/grid.asy +%%EXAMPLESDIR%%/hatch.asy +%%EXAMPLESDIR%%/helix.asy +%%EXAMPLESDIR%%/hierarchy.asy +%%EXAMPLESDIR%%/histogram.asy +%%EXAMPLESDIR%%/image.asy +%%EXAMPLESDIR%%/integraltest.asy +%%EXAMPLESDIR%%/join.asy +%%EXAMPLESDIR%%/labelbox.asy +%%EXAMPLESDIR%%/labelsquare.asy +%%PORTDOCS%%%%EXAMPLESDIR%%/latexusage.asy +%%EXAMPLESDIR%%/latexusage.tex +%%EXAMPLESDIR%%/lever.asy +%%EXAMPLESDIR%%/lineargraph.asy +%%EXAMPLESDIR%%/lineargraph0.asy +%%EXAMPLESDIR%%/lines.asy +%%EXAMPLESDIR%%/linetype.asy +%%EXAMPLESDIR%%/log.asy +%%EXAMPLESDIR%%/loggraph.asy +%%EXAMPLESDIR%%/logo.asy +%%EXAMPLESDIR%%/lowint.asy +%%EXAMPLESDIR%%/lowupint.asy +%%EXAMPLESDIR%%/mosquito.asy +%%EXAMPLESDIR%%/mosquito.csv +%%EXAMPLESDIR%%/near_earth.asy +%%EXAMPLESDIR%%/orthocenter.asy +%%EXAMPLESDIR%%/parametricgraph.asy +%%EXAMPLESDIR%%/phase.asy +%%EXAMPLESDIR%%/planes.asy +%%EXAMPLESDIR%%/polararea.asy +%%EXAMPLESDIR%%/polarcircle.asy +%%EXAMPLESDIR%%/progrid.asy +%%EXAMPLESDIR%%/quartercircle.asy +%%EXAMPLESDIR%%/ring.asy +%%EXAMPLESDIR%%/sacone.asy +%%EXAMPLESDIR%%/secondaryaxis.asy +%%EXAMPLESDIR%%/secondaryaxis.csv +%%EXAMPLESDIR%%/shade.asy +%%EXAMPLESDIR%%/shadedtiling.asy +%%EXAMPLESDIR%%/sin1x.asy +%%EXAMPLESDIR%%/sinxlex.asy +%%EXAMPLESDIR%%/spiral.asy +%%EXAMPLESDIR%%/spring.asy +%%EXAMPLESDIR%%/spring0.asy +%%EXAMPLESDIR%%/spring2.asy +%%EXAMPLESDIR%%/sqrtx01.asy +%%EXAMPLESDIR%%/sqrtx01y1.asy +%%EXAMPLESDIR%%/square.asy +%%EXAMPLESDIR%%/superpath.asy +%%EXAMPLESDIR%%/surface.asy +%%EXAMPLESDIR%%/tanh.asy +%%EXAMPLESDIR%%/tile.asy +%%EXAMPLESDIR%%/treetest.asy +%%EXAMPLESDIR%%/triads.asy +%%EXAMPLESDIR%%/triangle.asy +%%EXAMPLESDIR%%/unitcircle.asy +%%EXAMPLESDIR%%/upint.asy +%%EXAMPLESDIR%%/venn.asy +%%EXAMPLESDIR%%/wedge.asy +%%EXAMPLESDIR%%/westnile.asy +%%EXAMPLESDIR%%/westnile.csv +%%EXAMPLESDIR%%/wheelanimation.asy +%%EXAMPLESDIR%%/workcone.asy +%%EXAMPLESDIR%%/xsin1x.asy +%%EXAMPLESDIR%%/xxsq01.asy +%%EXAMPLESDIR%%/yingyang.asy +%%PORTDOCS%%%%DOCSDIR%%/asymptote.pdf +share/texmf-local/tex/latex/asymptote/asymptote.sty +@dirrm share/texmf-local/tex/latex/asymptote +@dirrm %%DATADIR%% +@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%%/ +@unexec %%MKTEXLSR%% +@exec %%MKTEXLSR%% |