ports/83990: [NEW PORT] math/asymptote: A powerful script-based vector graphics language

Nicola Vitale nivit at email.it
Sun Jul 24 09:50:23 UTC 2005


>Number:         83990
>Category:       ports
>Synopsis:       [NEW PORT] math/asymptote: A powerful script-based vector graphics language
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 24 09:50:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Nicola Vitale
>Release:        FreeBSD 5.4-RELEASE-p4 i386
>Organization:
>Environment:

System: FreeBSD stellina.domo.sva 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #1: Sat Jul 16 15:18:36 CEST 2005

>Description:

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 at email.it

Generated with FreeBSD Port Tools 0.63
Tested on FreeBSD-4.11-STABLE and FreeBSD-5.4-RELEASE-p4

>How-To-Repeat:
>Fix:

--- asymptote-0.83.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	asymptote
#	asymptote/pkg-descr
#	asymptote/Makefile
#	asymptote/pkg-plist
#	asymptote/distinfo
#	asymptote/files
#	asymptote/files/patch-Makefile.in
#	asymptote/files/patch-doc-Makefile
#
echo c - asymptote
mkdir -p asymptote > /dev/null 2>&1
echo x - asymptote/pkg-descr
sed 's/^X//' >asymptote/pkg-descr << 'END-of-asymptote/pkg-descr'
XAsymptote is a powerful script-based vector graphics language that
Xprovides a natural coordinate-based framework for technical drawing.
XLabels and equations are typeset with LaTeX, for high-quality
XPostScript output.
X
XA major advantage of Asymptote over other graphics packages is that
Xit is a programming language, as opposed to just a graphics program:
Xit can therefore exploit the best features of script (command-driven)
Xand graphical user interface (GUI) methods. 
X
XAuthor:	Andy Hammerlindl, John Bowman, and Tom Prince
XWWW:	http://asymptote.sourceforge.net/
X
X- Nicola Vitale
Xnivit at email.it
END-of-asymptote/pkg-descr
echo x - asymptote/Makefile
sed 's/^X//' >asymptote/Makefile << 'END-of-asymptote/Makefile'
X# New ports collection makefile for:	asymptote
X# Date created:		2005-07-22
X# Whom:			Nicola Vitale <nivit at email.it>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	asymptote
XPORTVERSION=	0.83
X#PORTREVISION=	0
XCATEGORIES=	math
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	nivit at email.it
XCOMMENT=	A powerful script-based vector graphics language
X
XLIB_DEPENDS=	gc.1:${PORTSDIR}/devel/boehm-gc \
X		fftw3.3:${PORTSDIR}/math/fftw3
X# requires devel/boehm-gc distfile
XBUILD_DEPENDS=	${DISTDIR}/${GC_DISTNAME}:${PORTSDIR}/devel/boehm-gc:fetch \
X		convert:${PORTSDIR}/graphics/ImageMagick \
X		latex:${PORTSDIR}/print/teTeX \
X		makeinfo:${PORTSDIR}/textproc/texi2html \
X		${MKTEXLSR}:${PORTSDIR}/print/teTeX \
X		texi2dvi:${PORTSDIR}/print/teTeX
XRUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX \
X		${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
X
XUSE_GCC=	3.3+
XUSE_GHOSTSCRIPT=	yes
XUSE_GMAKE=	yes
XUSE_PYTHON=	yes
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-latex=${LOCALBASE}/share/texmf-local/tex/latex
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include $${CPPFLAGS}" LFLAGS="-L${LOCALBASE}/lib $${LFLAGS}" CFLAGS="-I${LOCALBASE}/include $${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib $${LDFLAGS}"
XMAKE_ENV+=	${CONFIGURE_ENV}
X
XMKTEXLSR=	${LOCALBASE}/bin/mktexlsr
XPLIST_SUB=	MKTEXLSR=${MKTEXLSR}
X
XALL_TARGET=	asy
XINSTALL_TARGET=	install-asy
X
X# Documentation
X.if !defined(NOPORTDOCS)
XMAN1=	asy.1 xasy.1x
XINFO=	${PORTNAME}
X
XALL_TARGET+=	man
XINSTALL_TARGET+=	install-man
X.endif
X
XLN_OPTS=	-sf
X
XGCVERSION=	6.5	# hardcoded in asymptote configure
XGC_DISTNAME=	gc${GCVERSION}.tar.gz
X
X.include <bsd.port.pre.mk>
X
Xpre-configure:
X	@cd ${WRKSRC}; \
X	${LN} ${LN_OPTS} ${DISTDIR}/${GC_DISTNAME} ${GC_DISTNAME}
X
X.include <bsd.port.post.mk>
END-of-asymptote/Makefile
echo x - asymptote/pkg-plist
sed 's/^X//' >asymptote/pkg-plist << 'END-of-asymptote/pkg-plist'
X at comment $FreeBSD$
Xbin/asy
Xbin/xasy
X%%DATADIR%%/babel.asy
X%%DATADIR%%/drawtree.asy
X%%DATADIR%%/featpost3D.asy
X%%DATADIR%%/feynman.asy
X%%DATADIR%%/geometry.asy
X%%DATADIR%%/graph.asy
X%%DATADIR%%/graph3d.asy
X%%DATADIR%%/latin1.asy
X%%DATADIR%%/math.asy
X%%DATADIR%%/metapost.asy
X%%DATADIR%%/palette.asy
X%%DATADIR%%/patterns.asy
X%%DATADIR%%/plain.asy
X%%DATADIR%%/pstoedit.asy
X%%DATADIR%%/simplex.asy
X%%DATADIR%%/stats.asy
X%%DATADIR%%/three.asy
X%%DATADIR%%/tree.asy
X%%DATADIR%%/unicode.asy
X%%EXAMPLESDIR%%/Bode.asy
X%%EXAMPLESDIR%%/Pythagoras.asy
X%%EXAMPLESDIR%%/PythagoreanTree.asy
X%%EXAMPLESDIR%%/asy-mode.el
X%%EXAMPLESDIR%%/asy.vim
X%%EXAMPLESDIR%%/bezier.asy
X%%EXAMPLESDIR%%/bigsquare.asy
X%%EXAMPLESDIR%%/cardiod.asy
X%%EXAMPLESDIR%%/centroidfg.asy
X%%EXAMPLESDIR%%/circles.asy
X%%EXAMPLESDIR%%/coag.asy
X%%EXAMPLESDIR%%/colons.asy
X%%EXAMPLESDIR%%/conicurv.asy
X%%EXAMPLESDIR%%/cos2theta.asy
X%%EXAMPLESDIR%%/cosaddition.asy
X%%EXAMPLESDIR%%/cube.asy
X%%EXAMPLESDIR%%/datagraph.asy
X%%EXAMPLESDIR%%/delu.asy
X%%EXAMPLESDIR%%/diagonal.asy
X%%EXAMPLESDIR%%/diatom.asy
X%%EXAMPLESDIR%%/diatom.csv
X%%EXAMPLESDIR%%/dots.asy
X%%EXAMPLESDIR%%/dragon.asy
X%%EXAMPLESDIR%%/eetomumu.asy
X%%EXAMPLESDIR%%/elliptic.asy
X%%EXAMPLESDIR%%/equilateral.asy
X%%EXAMPLESDIR%%/equilchord.asy
X%%EXAMPLESDIR%%/errorbars.asy
X%%EXAMPLESDIR%%/exp.asy
X%%EXAMPLESDIR%%/fano.asy
X%%EXAMPLESDIR%%/fermi.asy
X%%EXAMPLESDIR%%/fjortoft.asy
X%%EXAMPLESDIR%%/generalaxis.asy
X%%EXAMPLESDIR%%/grid.asy
X%%EXAMPLESDIR%%/hatch.asy
X%%EXAMPLESDIR%%/helix.asy
X%%EXAMPLESDIR%%/hierarchy.asy
X%%EXAMPLESDIR%%/histogram.asy
X%%EXAMPLESDIR%%/image.asy
X%%EXAMPLESDIR%%/integraltest.asy
X%%EXAMPLESDIR%%/join.asy
X%%EXAMPLESDIR%%/labelbox.asy
X%%EXAMPLESDIR%%/labelsquare.asy
X%%PORTDOCS%%%%EXAMPLESDIR%%/latexusage.asy
X%%EXAMPLESDIR%%/latexusage.tex
X%%EXAMPLESDIR%%/lever.asy
X%%EXAMPLESDIR%%/lineargraph.asy
X%%EXAMPLESDIR%%/lineargraph0.asy
X%%EXAMPLESDIR%%/lines.asy
X%%EXAMPLESDIR%%/linetype.asy
X%%EXAMPLESDIR%%/log.asy
X%%EXAMPLESDIR%%/loggraph.asy
X%%EXAMPLESDIR%%/logo.asy
X%%EXAMPLESDIR%%/lowint.asy
X%%EXAMPLESDIR%%/lowupint.asy
X%%EXAMPLESDIR%%/mosquito.asy
X%%EXAMPLESDIR%%/mosquito.csv
X%%EXAMPLESDIR%%/near_earth.asy
X%%EXAMPLESDIR%%/orthocenter.asy
X%%EXAMPLESDIR%%/parametricgraph.asy
X%%EXAMPLESDIR%%/phase.asy
X%%EXAMPLESDIR%%/planes.asy
X%%EXAMPLESDIR%%/polararea.asy
X%%EXAMPLESDIR%%/polarcircle.asy
X%%EXAMPLESDIR%%/progrid.asy
X%%EXAMPLESDIR%%/quartercircle.asy
X%%EXAMPLESDIR%%/ring.asy
X%%EXAMPLESDIR%%/sacone.asy
X%%EXAMPLESDIR%%/secondaryaxis.asy
X%%EXAMPLESDIR%%/secondaryaxis.csv
X%%EXAMPLESDIR%%/shade.asy
X%%EXAMPLESDIR%%/shadedtiling.asy
X%%EXAMPLESDIR%%/sin1x.asy
X%%EXAMPLESDIR%%/sinxlex.asy
X%%EXAMPLESDIR%%/spiral.asy
X%%EXAMPLESDIR%%/spring.asy
X%%EXAMPLESDIR%%/spring0.asy
X%%EXAMPLESDIR%%/spring2.asy
X%%EXAMPLESDIR%%/sqrtx01.asy
X%%EXAMPLESDIR%%/sqrtx01y1.asy
X%%EXAMPLESDIR%%/square.asy
X%%EXAMPLESDIR%%/superpath.asy
X%%EXAMPLESDIR%%/surface.asy
X%%EXAMPLESDIR%%/tanh.asy
X%%EXAMPLESDIR%%/tile.asy
X%%EXAMPLESDIR%%/treetest.asy
X%%EXAMPLESDIR%%/triads.asy
X%%EXAMPLESDIR%%/triangle.asy
X%%EXAMPLESDIR%%/unitcircle.asy
X%%EXAMPLESDIR%%/upint.asy
X%%EXAMPLESDIR%%/venn.asy
X%%EXAMPLESDIR%%/wedge.asy
X%%EXAMPLESDIR%%/westnile.asy
X%%EXAMPLESDIR%%/westnile.csv
X%%EXAMPLESDIR%%/wheelanimation.asy
X%%EXAMPLESDIR%%/workcone.asy
X%%EXAMPLESDIR%%/xsin1x.asy
X%%EXAMPLESDIR%%/xxsq01.asy
X%%EXAMPLESDIR%%/yingyang.asy
X%%PORTDOCS%%%%DOCSDIR%%/asymptote.pdf
X at dirrm %%DATADIR%%
X at dirrm %%EXAMPLESDIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/
X at unexec %%MKTEXLSR%%
X at exec %%MKTEXLSR%%
END-of-asymptote/pkg-plist
echo x - asymptote/distinfo
sed 's/^X//' >asymptote/distinfo << 'END-of-asymptote/distinfo'
XMD5 (asymptote-0.83.tar.gz) = c336e6a1d1ac51b9d517810fb0b0c968
XSIZE (asymptote-0.83.tar.gz) = 499920
END-of-asymptote/distinfo
echo c - asymptote/files
mkdir -p asymptote/files > /dev/null 2>&1
echo x - asymptote/files/patch-Makefile.in
sed 's/^X//' >asymptote/files/patch-Makefile.in << 'END-of-asymptote/files/patch-Makefile.in'
X$FreeBSD$
X--- Makefile.in	Sat Jul  2 22:23:42 2005
X+++ Makefile.in.port	Fri Jul 22 19:15:11 2005
X@@ -36,7 +36,7 @@
X mandir = @mandir@
X datadir = @datadir@
X asydir = $(datadir)/asymptote
X-exampledir = $(datadir)/doc/asymptote
X+exampledir = $(datadir)/examples/asymptote
X latexdir = @latexdir@
X INSTALL = @INSTALL@
X ASYMPTOTE_DIR = ../base
END-of-asymptote/files/patch-Makefile.in
echo x - asymptote/files/patch-doc-Makefile
sed 's/^X//' >asymptote/files/patch-doc-Makefile << 'END-of-asymptote/files/patch-doc-Makefile'
X$FreeBSD$
X--- doc/Makefile	Sat Feb 12 10:21:42 2005
X+++ doc/Makefile.port	Sat Jul 23 22:03:59 2005
X@@ -46,7 +46,8 @@
X 	${INSTALL} -d $(prefix)/info $(exampledir) $(mandir)/man1
X 	${INSTALL} -m 644 asymptote.info $(prefix)/info
X 	install-info --infodir=$(prefix)/info asymptote.info 
X-	${INSTALL} -m 644 asymptote.pdf $(exampledir)
X+	mkdir -p $(prefix)/share/doc/asymptote
X+	${INSTALL} -m 644 asymptote.pdf $(prefix)/share/doc/asymptote/
X 	${INSTALL} -m 644 $(MANFILES) $(mandir)/man1
X 
X uninstall:
END-of-asymptote/files/patch-doc-Makefile
exit
--- asymptote-0.83.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list