2020-01-26 06:26:08 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2020/01/26 05:26:25 rillig Exp $
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
|
2017-06-08 10:47:26 +02:00
|
|
|
DISTNAME= asymptote-2.41
|
2019-08-11 15:17:48 +02:00
|
|
|
PKGREVISION= 4
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asymptote/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
|
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 06:26:08 +01:00
|
|
|
HOMEPAGE= https://asymptote.sourceforge.io/
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
COMMENT= Powerful descriptive vector graphics language for technical drawings
|
|
|
|
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
|
2015-05-02 07:56:07 +02:00
|
|
|
BUILD_DEPENDS+= makeindexk-[0-9]*:../../textproc/makeindexk
|
|
|
|
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
|
|
|
|
BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
|
|
|
|
BUILD_DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
BUILD_DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
|
2012-03-10 22:14:51 +01:00
|
|
|
BUILD_DEPENDS+= tex-parskip-[0-9]*:../../print/tex-parskip
|
2015-05-11 12:32:54 +02:00
|
|
|
BUILD_DEPENDS+= tex-texinfo-[0-9]*:../../print/tex-texinfo
|
2015-05-02 07:56:07 +02:00
|
|
|
BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
|
2016-10-01 10:02:06 +02:00
|
|
|
BUILD_DEPENDS+= ghostscript-agpl>=9.16:../../print/ghostscript-agpl
|
2015-05-02 07:56:07 +02:00
|
|
|
DEPENDS+= tex-geometry-[0-9]*:../../print/tex-geometry
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
|
2011-11-25 22:55:06 +01:00
|
|
|
UNLIMIT_RESOURCES= datasize
|
2016-10-01 10:02:06 +02:00
|
|
|
MAKE_JOBS_SAFE= no # random failure during build as of 2.38
|
2011-11-25 22:55:06 +01:00
|
|
|
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INFO_FILES= yes
|
2019-11-02 23:37:52 +01:00
|
|
|
USE_LANGUAGES= c c++
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-gc=system
|
|
|
|
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
|
|
|
|
USE_TOOLS+= gmake makeinfo perl
|
|
|
|
CFLAGS+= -DGC_NO_THREAD_REDIRECTS
|
|
|
|
|
2011-07-04 02:18:07 +02:00
|
|
|
REPLACE_PYTHON+= GUI/*.py
|
|
|
|
|
|
|
|
SUBST_CLASSES+= python
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.python= pre-configure
|
2011-07-04 02:18:07 +02:00
|
|
|
SUBST_FILES.python= Makefile.in
|
|
|
|
SUBST_MESSAGE.python= Fixing path to python interpreter.
|
|
|
|
SUBST_SED.python+= -e "s|/usr/bin/env python|${PYTHONBIN:Q}|g"
|
|
|
|
|
2016-02-25 14:37:46 +01:00
|
|
|
# DragonFly has stripped makeinfo in the base - without texi2dvi.
|
|
|
|
OPSYSVARS+= BUILD_DEPENDS
|
|
|
|
BUILD_DEPENDS.DragonFly+= gtexinfo-[0-9]*:../../devel/gtexinfo
|
|
|
|
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
post-install:
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1x \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xasy.1
|
|
|
|
|
|
|
|
.include "../../devel/boehm-gc/buildlink3.mk"
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
2014-09-25 01:10:51 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2011-07-04 02:18:07 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
# next two could be split off into options
|
|
|
|
.include "../../math/fftw/buildlink3.mk"
|
|
|
|
.include "../../math/gsl/buildlink3.mk"
|
2016-10-01 10:02:06 +02:00
|
|
|
# wants library called 'glut', but pkgsrc only provides 'freeglut'
|
|
|
|
#BUILDLINK_API_DEPENDS.freeglut+= freeglut>=3.0
|
Initial import of asymptote-1.84 from pkgsrc-wip, packaged by
fulviociriaco, updated by me.
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.
A major advantage of Asymptote over other graphics packages is that
it is a programming language, as opposed to just a graphics program.
Features of Asymptote:
# provides a portable standard for typesetting mathematical figures,
just as TeX/LaTeX has become the standard for typesetting equations;
# generates and embeds 3D vector PRC graphics into PDF files;
# inspired by MetaPost, with a much cleaner, powerful C++-like
programming syntax and floating-point numerics;
# runs on all major platforms (UNIX, MacOS, Microsoft Windows);
# mathematically oriented (e.g. rotation of vectors by complex
multiplication);
# LaTeX typesetting of labels (for document consistency);
# uses simplex method and deferred drawing to solve overall size
constraint issues between fixed-sized objects (labels and arrowheads)
and objects that should scale with figure size;
# fully generalizes MetaPost path construction algorithms to three
dimensions;
# compiles commands into virtual machine code for speed without
sacrificing portability;
# high-level graphics commands are implemented in the Asymptote
language itself, allowing them to be easily tailored to specific
applications.
2009-08-22 01:02:29 +02:00
|
|
|
#.include "../../graphics/freeglut/buildlink3.mk"
|
|
|
|
# recognized, but makes asy dump core during creation of documentation
|
|
|
|
#.include "../../graphics/glut/buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|