summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2019-10-07 08:40:23 +0000
committerNicola Vitale <nivit@FreeBSD.org>2019-10-07 08:40:23 +0000
commit16be75a8a6944227671f43c8e60516aa1c3a4ef9 (patch)
treee7e71e0df79e1085e2f199d4ac97a50be9463d27
parentUpdate to 6.2.0 release. (diff)
- Update to 2.56
Notes
Notes: svn path=/head/; revision=513931
-rw-r--r--math/asymptote/Makefile6
-rw-r--r--math/asymptote/distinfo6
-rw-r--r--math/asymptote/files/patch-Makefile.in16
-rw-r--r--math/asymptote/files/patch-runtime.in11
-rw-r--r--math/asymptote/files/patch-settings.cc10
5 files changed, 19 insertions, 30 deletions
diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile
index aedd07d722f8..2518e9b7bfa6 100644
--- a/math/asymptote/Makefile
+++ b/math/asymptote/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= asymptote
-PORTVERSION= 2.44
-PORTREVISION= 8
+PORTVERSION= 2.56
+PORTREVISION= 0
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -22,7 +22,7 @@ RUN_DEPENDS= animate:graphics/ImageMagick6 \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
-USES= compiler:c++14-lang gettext-runtime ghostscript gmake ncurses perl5 python \
+USES= compiler:c++14-lang gettext-runtime ghostscript gl gmake ncurses perl5 python \
shebangfix tar:tgz
SHEBANG_FILES= GUI/*.py
USE_GL= gl glu glut
diff --git a/math/asymptote/distinfo b/math/asymptote/distinfo
index 052afdf816d0..aa49b4d1539f 100644
--- a/math/asymptote/distinfo
+++ b/math/asymptote/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1527856340
-SHA256 (asymptote-2.44.src.tgz) = 6f9bd2f1ed2835aa69ec382fefbec55ba5ec859341a42a543631a7f04ada49e7
-SIZE (asymptote-2.44.src.tgz) = 3549129
+TIMESTAMP = 1570174816
+SHA256 (asymptote-2.56.src.tgz) = 5d43a3e586045e149d077dcc367e30b603e97bd430fbf957d05049f52035851b
+SIZE (asymptote-2.56.src.tgz) = 4125617
diff --git a/math/asymptote/files/patch-Makefile.in b/math/asymptote/files/patch-Makefile.in
index 1da5ecf5299d..7c6f1856b867 100644
--- a/math/asymptote/files/patch-Makefile.in
+++ b/math/asymptote/files/patch-Makefile.in
@@ -1,18 +1,18 @@
---- Makefile.in.orig 2016-03-14 05:33:18 UTC
+--- Makefile.in.orig 2019-10-03 16:43:08 UTC
+++ Makefile.in
-@@ -88,7 +88,7 @@ datadir = $(DESTDIR)@datadir@
- asydir = $(datadir)/asymptote
- GUIdir = $(asydir)/GUI
+@@ -97,7 +97,7 @@ GUIdir = $(asydir)/GUI
+ shaderdir = $(asydir)/shaders
+ webgldir = $(asydir)/webgl
docdir = $(DESTDIR)@docdir@
-exampledir = $(docdir)/examples
+exampledir = $(datadir)/examples/asymptote
animationsdir = $(exampledir)/animations
latexdir = $(DESTDIR)@latexdir@
contextdir = $(DESTDIR)@contextdir@
-@@ -238,7 +238,7 @@ install-asy: asy sty
- ${INSTALL} -p -m 644 base/*.asy $(addprefix base/,$(EXTRA)) \
- asy-keywords.el $(asydir)
- ${INSTALL} -p -m 755 GUI/*.py $(GUIdir)
+@@ -260,7 +260,7 @@ install-asy: asy sty
+ ${INSTALL} -p -m 644 GUI/configs/*.cson $(GUIdir)/configs
+ ${INSTALL} -p -m 644 GUI/res/icons.qrc $(GUIdir)/res
+ ${INSTALL} -p -m 644 GUI/res/icons/*.svg $(GUIdir)/res/icons
- ln -sf @datadir@/asymptote/GUI/xasy.py $(bindir)/$(XNAME)
+ ln -sf ../share/asymptote/GUI/xasy.py $(bindir)/$(XNAME)
${INSTALL} -p -m 644 examples/*.asy $(addprefix examples/,$(EXEXTRA)) \
diff --git a/math/asymptote/files/patch-runtime.in b/math/asymptote/files/patch-runtime.in
deleted file mode 100644
index cc77688859b0..000000000000
--- a/math/asymptote/files/patch-runtime.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- runtime.in.orig 2018-06-03 13:52:26 UTC
-+++ runtime.in
-@@ -85,7 +85,7 @@ stringarray2* => stringArray2()
- #include "process.h"
- #include "arrayop.h"
-
--#ifdef __APPLE__
-+#if defined(__APPLE__) || defined(__FreeBSD__)
- extern "C" int isnan(double);
- #endif
-
diff --git a/math/asymptote/files/patch-settings.cc b/math/asymptote/files/patch-settings.cc
index 0746f38efa69..b14cf2fbc960 100644
--- a/math/asymptote/files/patch-settings.cc
+++ b/math/asymptote/files/patch-settings.cc
@@ -1,11 +1,11 @@
---- settings.cc.orig 2016-03-14 05:33:18 UTC
+--- settings.cc.orig 2019-10-03 16:43:08 UTC
+++ settings.cc
-@@ -95,7 +95,7 @@ string defaultPSViewer="gv";
- #ifdef __APPLE__
- string defaultPDFViewer="open";
+@@ -99,7 +99,7 @@ string defaultPDFViewer="open";
+ string defaultHTMLViewer="open";
#else
+ string defaultPSViewer="gv";
-string defaultPDFViewer="acroread";
+string defaultPDFViewer="gv";
+ string defaultHTMLViewer="google-chrome";
#endif
string defaultGhostscript="gs";
- string defaultGhostscriptLibrary="/usr/lib/libgs.so";