0775d69dfc
Release Notes for Version 2.41 The rendering of Bezier patches was improved. Minor improvements were made to perpendicular marks in the geometry package. A perl issue was addressed. Two unwanted temporary files are now removed after TeX processing. EPS output is now supported with all TeX engines. A workaround was implemented for the ImageMagick jpeg black background bug. Release Notes for Version 2.40 A partial workaround for the OpenGL transparency bug was implemented, by presorting transparent triangles of the same material. The examples were updated and a segmentation fault was fixed. Multisample detection, surface rendering, and crack filling algorithms were fixed. The default compilation flags now specify -std=c++11. Release Notes for Version 2.39 A workaround was implemented for the backwards incompatibility in the TeXLive 2016 graphicx package. Empty tick labels in graphs are now avoided. A paletteticks NoTicks option was added. Support for lualatex was improved. Renderers for Bezier patches and curves more efficient than those in the deprecated GLU library were implemented.
67 lines
2.4 KiB
Makefile
67 lines
2.4 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2017/06/08 08:47:26 wiz Exp $
|
|
|
|
DISTNAME= asymptote-2.41
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asymptote/}
|
|
EXTRACT_SUFX= .tgz
|
|
DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://asymptote.sourceforge.net/
|
|
COMMENT= Powerful descriptive vector graphics language for technical drawings
|
|
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
|
|
|
|
BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
|
|
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
|
|
BUILD_DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
|
|
BUILD_DEPENDS+= tex-parskip-[0-9]*:../../print/tex-parskip
|
|
BUILD_DEPENDS+= tex-texinfo-[0-9]*:../../print/tex-texinfo
|
|
BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
|
|
BUILD_DEPENDS+= ghostscript-agpl>=9.16:../../print/ghostscript-agpl
|
|
DEPENDS+= tex-geometry-[0-9]*:../../print/tex-geometry
|
|
|
|
UNLIMIT_RESOURCES= datasize
|
|
MAKE_JOBS_SAFE= no # random failure during build as of 2.38
|
|
|
|
GNU_CONFIGURE= yes
|
|
INFO_FILES= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
CONFIGURE_ARGS+= --enable-gc=system
|
|
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
|
|
USE_TOOLS+= gmake makeinfo perl
|
|
CFLAGS+= -DGC_NO_THREAD_REDIRECTS
|
|
|
|
REPLACE_PYTHON+= GUI/*.py
|
|
|
|
SUBST_CLASSES+= python
|
|
SUBST_STAGE.python= post-patch
|
|
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"
|
|
|
|
# DragonFly has stripped makeinfo in the base - without texi2dvi.
|
|
OPSYSVARS+= BUILD_DEPENDS
|
|
BUILD_DEPENDS.DragonFly+= gtexinfo-[0-9]*:../../devel/gtexinfo
|
|
|
|
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"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
# next two could be split off into options
|
|
.include "../../math/fftw/buildlink3.mk"
|
|
.include "../../math/gsl/buildlink3.mk"
|
|
# wants library called 'glut', but pkgsrc only provides 'freeglut'
|
|
#BUILDLINK_API_DEPENDS.freeglut+= freeglut>=3.0
|
|
#.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"
|