diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile index 11205162f271..0a426ba74280 100644 --- a/math/asymptote/Makefile +++ b/math/asymptote/Makefile @@ -1,102 +1,99 @@ PORTNAME= asymptote -PORTVERSION= 2.81 -PORTREVISION= 6 +PORTVERSION= 2.92 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src -PATCH_SITES= https://github.com/vectorgraphics/asymptote/commit/ -PATCHFILES+= fa28442195bd99b9bac87e3ff752953ac57ee172.patch:-p1 # backport fix for https://github.com/vectorgraphics/asymptote/issues/328 - MAINTAINER= nivit@FreeBSD.org COMMENT= Powerful script-based vector graphics language WWW= https://asymptote.sourceforge.io/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libcurl.so:ftp/curl \ libsigsegv.so:devel/libsigsegv RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cson>=0.8:devel/py-cson@${PY_FLAVOR} \ - ${PY_PILLOW} + ${PY_PILLOW} \ + xdg-open:devel/xdg-utils -USES= compiler:c++14-lang gettext-runtime ghostscript gl gmake gnome ncurses perl5 python \ +USES= bison compiler:c++14-lang gettext-runtime ghostscript gl gmake gnome ncurses perl5 python \ pyqt:5 shebangfix tar:tgz tex SHEBANG_FILES= GUI/*.py USE_GL= gl glu glut USE_GNOME= librsvg2:run USE_PERL5= build USE_TEX= dvipsk formats USE_PYQT= pyqt5:run CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-lsp # disable the module with Boost-related errors MAKE_ENV= ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR} MAKE_JOBS_UNSAFE= yes # see https://github.com/vectorgraphics/asymptote/issues/331 ALL_TARGET= asy asy-keywords.el INSTALL_TARGET= install-asy SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFAULT= FFTW GSL MANPAGES READLINE OPTIONS_DEFINE= BDWGC DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE BDWGC_LIB_DEPENDS= libgc-threaded.so:devel/boehm-gc-threaded BDWGC_DESC= Enable Boehm-Demers-Weiser garbage collector BDWGC_CONFIGURE_ENABLE= gc=${LOCALBASE} DOCS_ALL_TARGET= html DOCS_BUILD_DEPENDS= texi2dvi:print/texinfo DOCS_CONFIGURE_WITH= docdir=${DOCSDIR} DOCS_INSTALL_TARGET= install-html FFTW_CONFIGURE_ENABLE= fftw FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 GSL_CONFIGURE_ENABLE= gsl GSL_DESC= Enable GNU Scientific library GSL_LIB_DEPENDS= libgsl.so:math/gsl MANPAGES_ALL_TARGET= man MANPAGES_BUILD_DEPENDS= texi2dvi:print/texinfo MANPAGES_INFO= asy-faq OFFSCREEN_CONFIGURE_ENABLE= offscreen OFFSCREEN_DESC= Enable offscreen rendering using OSMesa library OFFSCREEN_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa READLINE_CONFIGURE_ENABLE= readline READLINE_USES= readline TEST_TARGET= test TEST_WRKSRC= ${WRKSRC}/tests PORTEXAMPLES= * .include .if ${OPSYS} == FreeBSD USES+= llvm:max=15 .endif post-patch: @${REINPLACE_CMD} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure @${REINPLACE_CMD} 's,makeinfo,${LOCALBASE}/bin/makeinfo,' \ ${WRKSRC}/doc/png/Makefile.in # Fix the python interpreter in the generated file share/asymptote/GUI/xasyVersion.py: @${REINPLACE_CMD} 's,/usr/bin/env python3,${PYTHON_CMD},' ${WRKSRC}/Makefile.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asy .include diff --git a/math/asymptote/distinfo b/math/asymptote/distinfo index 8ecccc39b64b..3c2a12cba1e6 100644 --- a/math/asymptote/distinfo +++ b/math/asymptote/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1658909077 -SHA256 (asymptote-2.81.src.tgz) = 768eba48c877373a810d991d482f88480643291aae68fa2abc3aa3d5a7ed0073 -SIZE (asymptote-2.81.src.tgz) = 15062426 +TIMESTAMP = 1728465593 +SHA256 (asymptote-2.92.src.tgz) = 9d9b5c6fa7e0fbce3c1e54feb25e2d51d28c4fe7798f24c76cdcae8291a8ea66 +SIZE (asymptote-2.92.src.tgz) = 17075592 SHA256 (fa28442195bd99b9bac87e3ff752953ac57ee172.patch) = 88d733ec69d5c0b03a866ef20d4e6f3cf308ebd048143d2ce34dcaaaf1fa357b SIZE (fa28442195bd99b9bac87e3ff752953ac57ee172.patch) = 667 diff --git a/math/asymptote/files/patch-settings.cc b/math/asymptote/files/patch-settings.cc index b14cf2fbc960..aa044a38e8d1 100644 --- a/math/asymptote/files/patch-settings.cc +++ b/math/asymptote/files/patch-settings.cc @@ -1,11 +1,15 @@ ---- settings.cc.orig 2019-10-03 16:43:08 UTC +--- settings.cc.orig 2024-10-07 18:22:37 UTC +++ settings.cc -@@ -99,7 +99,7 @@ string defaultPDFViewer="open"; +@@ -101,9 +101,9 @@ string defaultHTMLViewer="open"; + string defaultPDFViewer="open"; string defaultHTMLViewer="open"; - #else - string defaultPSViewer="gv"; --string defaultPDFViewer="acroread"; -+string defaultPDFViewer="gv"; - string defaultHTMLViewer="google-chrome"; - #endif + #else +-string defaultPSViewer="evince"; +-string defaultPDFViewer="evince"; +-string defaultHTMLViewer="google-chrome"; ++string defaultPSViewer="gv"; ++string defaultPDFViewer="xdg-open"; ++string defaultHTMLViewer="xdg-open"; + #endif string defaultGhostscript="gs"; + string defaultGhostscriptLibrary=""; diff --git a/math/asymptote/pkg-plist b/math/asymptote/pkg-plist index 7b893a6475b3..6942c6f9ce16 100644 --- a/math/asymptote/pkg-plist +++ b/math/asymptote/pkg-plist @@ -1,280 +1,284 @@ bin/asy bin/xasy %%DATADIR%%/CAD.asy +%%DATADIR%%/GUI/ContextWindow.py %%DATADIR%%/GUI/CustMatTransform.py %%DATADIR%%/GUI/DebugFlags.py %%DATADIR%%/GUI/GuidesManager.py %%DATADIR%%/GUI/InplaceAddObj.py %%DATADIR%%/GUI/PrimitiveShape.py %%DATADIR%%/GUI/SetCustomAnchor.py %%DATADIR%%/GUI/UndoRedoStack.py %%DATADIR%%/GUI/Widg_addLabel.py %%DATADIR%%/GUI/Widg_addPolyOpt.py %%DATADIR%%/GUI/Widg_editBezier.py %%DATADIR%%/GUI/Window1.py %%DATADIR%%/GUI/__init__.py %%DATADIR%%/GUI/configs/xasyconfig.cson %%DATADIR%%/GUI/configs/xasykeymap.cson %%DATADIR%%/GUI/icons_rc.py %%DATADIR%%/GUI/labelEditor.py %%DATADIR%%/GUI/pyUIClass/custMatTransform.py %%DATADIR%%/GUI/pyUIClass/labelTextEditor.py %%DATADIR%%/GUI/pyUIClass/setCustomAnchor.py %%DATADIR%%/GUI/pyUIClass/widg_addLabel.py %%DATADIR%%/GUI/pyUIClass/widg_addPolyOpt.py %%DATADIR%%/GUI/pyUIClass/widg_editBezier.py %%DATADIR%%/GUI/pyUIClass/widgetPointEditor.py %%DATADIR%%/GUI/pyUIClass/window1.py -%%DATADIR%%/GUI/res/icons.qrc %%DATADIR%%/GUI/res/icons/anchor.svg %%DATADIR%%/GUI/res/icons/android-arrow-back.svg %%DATADIR%%/GUI/res/icons/android-arrow-forward.svg %%DATADIR%%/GUI/res/icons/android-camera.svg %%DATADIR%%/GUI/res/icons/android-close.svg %%DATADIR%%/GUI/res/icons/android-color-palette.svg %%DATADIR%%/GUI/res/icons/android-delete.svg %%DATADIR%%/GUI/res/icons/android-done.svg %%DATADIR%%/GUI/res/icons/android-expand.svg %%DATADIR%%/GUI/res/icons/android-folder-open.svg %%DATADIR%%/GUI/res/icons/android-hand.svg %%DATADIR%%/GUI/res/icons/android-locate.svg %%DATADIR%%/GUI/res/icons/android-radio-button-off.svg %%DATADIR%%/GUI/res/icons/android-radio-button-on.svg %%DATADIR%%/GUI/res/icons/android-refresh.svg %%DATADIR%%/GUI/res/icons/arrow-move.svg %%DATADIR%%/GUI/res/icons/arrow-resize.svg %%DATADIR%%/GUI/res/icons/brush.svg %%DATADIR%%/GUI/res/icons/bucket.svg %%DATADIR%%/GUI/res/icons/center.svg %%DATADIR%%/GUI/res/icons/centerorigin.svg %%DATADIR%%/GUI/res/icons/check.svg %%DATADIR%%/GUI/res/icons/chevron-with-circle-left.svg %%DATADIR%%/GUI/res/icons/chevron-with-circle-right.svg %%DATADIR%%/GUI/res/icons/circle.svg %%DATADIR%%/GUI/res/icons/close-round.svg %%DATADIR%%/GUI/res/icons/closedcurve.svg %%DATADIR%%/GUI/res/icons/closedpolygon.svg %%DATADIR%%/GUI/res/icons/code.svg %%DATADIR%%/GUI/res/icons/edit.svg %%DATADIR%%/GUI/res/icons/eye.svg %%DATADIR%%/GUI/res/icons/filledbucket.svg %%DATADIR%%/GUI/res/icons/grid.svg %%DATADIR%%/GUI/res/icons/magnifying-glass.svg %%DATADIR%%/GUI/res/icons/opencurve.svg %%DATADIR%%/GUI/res/icons/openpolygon.svg %%DATADIR%%/GUI/res/icons/plus-round.svg %%DATADIR%%/GUI/res/icons/redo.svg %%DATADIR%%/GUI/res/icons/save.svg %%DATADIR%%/GUI/res/icons/social-python.svg %%DATADIR%%/GUI/res/icons/subdirectory-left.svg %%DATADIR%%/GUI/res/icons/text.svg %%DATADIR%%/GUI/res/icons/triangle-stroked-15.svg %%DATADIR%%/GUI/res/icons/undo.svg %%DATADIR%%/GUI/setup.py %%DATADIR%%/GUI/xasy.py %%DATADIR%%/GUI/xasy2asy.py %%DATADIR%%/GUI/xasyArgs.py %%DATADIR%%/GUI/xasyBezierInterface.py %%DATADIR%%/GUI/xasyFile.py %%DATADIR%%/GUI/xasyOptions.py %%DATADIR%%/GUI/xasyStrings.py %%DATADIR%%/GUI/xasySvg.py %%DATADIR%%/GUI/xasyTransform.py %%DATADIR%%/GUI/xasyUtils.py %%DATADIR%%/GUI/xasyValidator.py %%DATADIR%%/GUI/xasyVersion.py %%DATADIR%%/animate.asy %%DATADIR%%/animation.asy %%DATADIR%%/annotate.asy %%DATADIR%%/asy-init.el %%DATADIR%%/asy-kate.sh %%DATADIR%%/asy-keywords.el %%DATADIR%%/asy-mode.el %%DATADIR%%/asy.vim %%DATADIR%%/asy_filetype.vim %%DATADIR%%/asymptote.py %%DATADIR%%/babel.asy %%DATADIR%%/bezulate.asy %%DATADIR%%/binarytree.asy %%DATADIR%%/bsp.asy %%DATADIR%%/colormap.asy %%DATADIR%%/contour.asy %%DATADIR%%/contour3.asy %%DATADIR%%/drawtree.asy %%DATADIR%%/embed.asy %%DATADIR%%/external.asy %%DATADIR%%/feynman.asy %%DATADIR%%/flowchart.asy %%DATADIR%%/fontsize.asy %%DATADIR%%/geometry.asy %%DATADIR%%/graph.asy %%DATADIR%%/graph3.asy %%DATADIR%%/graph_settings.asy %%DATADIR%%/graph_splinetype.asy %%DATADIR%%/grid3.asy %%DATADIR%%/interpolate.asy %%DATADIR%%/labelpath.asy %%DATADIR%%/labelpath3.asy %%DATADIR%%/lmfit.asy %%DATADIR%%/map.asy +%%DATADIR%%/mapArray.asy %%DATADIR%%/markers.asy %%DATADIR%%/math.asy %%DATADIR%%/metapost.asy %%DATADIR%%/nopapersize.ps %%DATADIR%%/obj.asy %%DATADIR%%/ode.asy %%DATADIR%%/palette.asy %%DATADIR%%/patterns.asy %%DATADIR%%/plain.asy %%DATADIR%%/plain_Label.asy %%DATADIR%%/plain_arcs.asy %%DATADIR%%/plain_arrows.asy %%DATADIR%%/plain_bounds.asy %%DATADIR%%/plain_boxes.asy %%DATADIR%%/plain_constants.asy %%DATADIR%%/plain_debugger.asy %%DATADIR%%/plain_filldraw.asy %%DATADIR%%/plain_margins.asy %%DATADIR%%/plain_markers.asy %%DATADIR%%/plain_paths.asy %%DATADIR%%/plain_pens.asy %%DATADIR%%/plain_picture.asy %%DATADIR%%/plain_prethree.asy %%DATADIR%%/plain_scaling.asy %%DATADIR%%/plain_shipout.asy %%DATADIR%%/plain_strings.asy %%DATADIR%%/pstoedit.asy %%DATADIR%%/rational.asy %%DATADIR%%/rationalSimplex.asy %%DATADIR%%/reload.js %%DATADIR%%/roundedpath.asy %%DATADIR%%/shaders/blend.glsl %%DATADIR%%/shaders/compress.glsl %%DATADIR%%/shaders/count.glsl %%DATADIR%%/shaders/fragment.glsl %%DATADIR%%/shaders/screen.glsl %%DATADIR%%/shaders/sum1.glsl %%DATADIR%%/shaders/sum2.glsl +%%DATADIR%%/shaders/sum2fast.glsl %%DATADIR%%/shaders/sum3.glsl %%DATADIR%%/shaders/vertex.glsl %%DATADIR%%/shaders/zero.glsl %%DATADIR%%/simplex.asy +%%DATADIR%%/simplex2.asy %%DATADIR%%/size10.asy %%DATADIR%%/size11.asy %%DATADIR%%/slide.asy %%DATADIR%%/slopefield.asy %%DATADIR%%/smoothcontour3.asy %%DATADIR%%/solids.asy %%DATADIR%%/stats.asy %%DATADIR%%/syzygy.asy %%DATADIR%%/texcolors.asy %%DATADIR%%/three.asy %%DATADIR%%/three_arrows.asy %%DATADIR%%/three_light.asy %%DATADIR%%/three_margins.asy %%DATADIR%%/three_surface.asy %%DATADIR%%/three_tube.asy %%DATADIR%%/tree.asy %%DATADIR%%/trembling.asy %%DATADIR%%/tube.asy %%DATADIR%%/v3d.asy %%DATADIR%%/v3dheadertypes.asy %%DATADIR%%/v3dtypes.asy %%DATADIR%%/version.asy %%DATADIR%%/webgl/asygl.js %%DATADIR%%/x11colors.asy %%PORTDOCS%%%%DOCSDIR%%/CAD.pdf %%PORTDOCS%%%%DOCSDIR%%/TeXShopAndAsymptote.pdf %%PORTDOCS%%%%DOCSDIR%%/asy-latex.pdf %%PORTDOCS%%%%DOCSDIR%%/asyRefCard.pdf %%PORTDOCS%%%%DOCSDIR%%/asymptote.pdf share/info/asymptote/Bode.png share/info/asymptote/CAD1.png share/info/asymptote/CDlabel.png share/info/asymptote/GaussianSurface.png share/info/asymptote/HermiteSpline.png share/info/asymptote/Hobbycontrol.png share/info/asymptote/Hobbydir.png share/info/asymptote/asymptote.info share/info/asymptote/axis3.png +share/info/asymptote/basealign.png share/info/asymptote/bezier.png share/info/asymptote/bezier2.png share/info/asymptote/beziercurve.png share/info/asymptote/bigdiagonal.png share/info/asymptote/binarytreetest.png share/info/asymptote/brokenaxis.png share/info/asymptote/colons.png share/info/asymptote/colors.png share/info/asymptote/cube.png share/info/asymptote/cylinderskeleton.png share/info/asymptote/datagraph.png share/info/asymptote/diagonal.png share/info/asymptote/diatom.png share/info/asymptote/dots.png share/info/asymptote/eetomumu.png share/info/asymptote/elliptic.png share/info/asymptote/errorbars.png share/info/asymptote/exp.png share/info/asymptote/filegraph.png share/info/asymptote/fillcontour.png share/info/asymptote/flow.png share/info/asymptote/flowchartdemo.png share/info/asymptote/generalaxis.png share/info/asymptote/generalaxis3.png share/info/asymptote/graphmarkers.png share/info/asymptote/graphwithderiv.png share/info/asymptote/grid3xyz.png share/info/asymptote/hatch.png share/info/asymptote/helix.png share/info/asymptote/histogram.png share/info/asymptote/icon.png share/info/asymptote/image.png share/info/asymptote/imagecontour.png share/info/asymptote/irregularcontour.png share/info/asymptote/join.png share/info/asymptote/join3.png share/info/asymptote/knots.png share/info/asymptote/labelsquare.png share/info/asymptote/latexusage.png share/info/asymptote/leastsquares.png share/info/asymptote/legend.png share/info/asymptote/lineargraph.png share/info/asymptote/lineargraph0.png share/info/asymptote/linetype.png share/info/asymptote/log2graph.png share/info/asymptote/loggraph.png share/info/asymptote/loggrid.png share/info/asymptote/logimage.png share/info/asymptote/logo.png share/info/asymptote/logticks.png share/info/asymptote/makepen.png share/info/asymptote/markers1.png share/info/asymptote/markers2.png share/info/asymptote/mexicanhat.png share/info/asymptote/monthaxis.png share/info/asymptote/multicontour.png share/info/asymptote/onecontour.png share/info/asymptote/parametricgraph.png share/info/asymptote/penfunctionimage.png share/info/asymptote/penimage.png share/info/asymptote/planes.png share/info/asymptote/quartercircle.png share/info/asymptote/saddle.png share/info/asymptote/scaledgraph.png share/info/asymptote/secondaryaxis.png share/info/asymptote/shadedtiling.png share/info/asymptote/slopefield1.png share/info/asymptote/square.png share/info/asymptote/subpictures.png share/info/asymptote/superpath.png share/info/asymptote/tile.png share/info/asymptote/triangulate.png share/info/asymptote/unitcircle3.png share/info/asymptote/vectorfield.png share/info/asymptote/westnile.png share/man/man1/asy.1.gz share/man/man1/xasy.1x.gz %%TEXMFLOCALDIR%%/tex/context/third/asymptote/colo-asy.tex %%TEXMFLOCALDIR%%/tex/latex/asymptote/asycolors.sty %%TEXMFLOCALDIR%%/tex/latex/asymptote/asymptote.sty %%TEXMFLOCALDIR%%/tex/latex/asymptote/latexmkrc