aboutsummaryrefslogtreecommitdiff
path: root/math/zegrapher
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-08-03 05:05:08 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-08-03 05:05:08 +0000
commitd3a9df70ed69ba5c31e0f271bff827aa9d7e050d (patch)
tree0ab8f6963514ebd6fc8064ce630f9a00ec35e905 /math/zegrapher
parentba44992d1bbb9c64de98afc151fcef701424fd50 (diff)
Notes
Diffstat (limited to 'math/zegrapher')
-rw-r--r--math/zegrapher/Makefile28
-rw-r--r--math/zegrapher/distinfo3
-rw-r--r--math/zegrapher/files/patch-DataPlot_datawindow.h11
-rw-r--r--math/zegrapher/pkg-descr6
4 files changed, 48 insertions, 0 deletions
diff --git a/math/zegrapher/Makefile b/math/zegrapher/Makefile
new file mode 100644
index 000000000000..009e7012dbaa
--- /dev/null
+++ b/math/zegrapher/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= ZeGrapher
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.0.2
+CATEGORIES= math graphics
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Software for plotting mathematical objects
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/math/special_functions/binomial.hpp:devel/boost-libs
+
+USES= desktop-file-utils qmake qt:5
+USE_GITHUB= yes
+GH_ACCOUNT= AdelKS
+USE_QT= core gui network printsupport widgets buildtools_build
+USE_GL= gl
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/${PORTNAME}/locale/${PORTNAME}_fr.qm \
+ share/appdata/${PORTNAME}.appdata.xml \
+ share/applications/${PORTNAME}.desktop \
+ share/icons/hicolor/128x128/apps/${PORTNAME}.png
+
+.include <bsd.port.mk>
diff --git a/math/zegrapher/distinfo b/math/zegrapher/distinfo
new file mode 100644
index 000000000000..c9006dcb0d1f
--- /dev/null
+++ b/math/zegrapher/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1533267199
+SHA256 (AdelKS-ZeGrapher-v3.0.2_GH0.tar.gz) = b692ae4e9f61b4de845239e7d93ef6715de6d3023917ce50e9315f9823a08314
+SIZE (AdelKS-ZeGrapher-v3.0.2_GH0.tar.gz) = 719687
diff --git a/math/zegrapher/files/patch-DataPlot_datawindow.h b/math/zegrapher/files/patch-DataPlot_datawindow.h
new file mode 100644
index 000000000000..ea7ceca005eb
--- /dev/null
+++ b/math/zegrapher/files/patch-DataPlot_datawindow.h
@@ -0,0 +1,11 @@
+--- DataPlot/datawindow.h.orig 2018-08-03 04:51:51 UTC
++++ DataPlot/datawindow.h
+@@ -32,7 +32,7 @@
+ #include "./csvhandler.h"
+ #include "./modelwidget.h"
+
+-#include <QtWebKitWidgets/QWebView>
++//#include <QtWebKitWidgets/QWebView>
+
+ #define WIDGET_ANIMATION_TIME 250
+
diff --git a/math/zegrapher/pkg-descr b/math/zegrapher/pkg-descr
new file mode 100644
index 000000000000..6c53259486a2
--- /dev/null
+++ b/math/zegrapher/pkg-descr
@@ -0,0 +1,6 @@
+ZeGrapher is an opensource, ergonomic and fast math graphing software. It can
+plot functions, sequences, parametric equations and data on the plane. It has
+been designed to be as easy to use as possible: there's no need for any
+documentation before use.
+
+WWW: https://en.zegrapher.com/