summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MOVED2
-rw-r--r--math/Makefile1
-rw-r--r--math/mathmod/Makefile30
-rw-r--r--math/mathmod/distinfo2
-rw-r--r--math/mathmod/files/patch-MathMod.pro10
-rw-r--r--math/mathmod/pkg-descr8
6 files changed, 52 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index d490654e1ea2..6bfc85bd63d3 100644
--- a/MOVED
+++ b/MOVED
@@ -4587,7 +4587,6 @@ lang/klogoturtle||2013-07-26|Has expired: Depends on Qt 3.x
mail/kcheckgmail||2013-07-26|Has expired: Depends on Qt 3.x
math/digitizer||2013-07-26|Has expired: Depends on Qt 3.x
math/fung-calc||2013-07-26|Has expired: Depends on Qt 3.x
-math/k3dsurf||2013-07-26|Has expired: Depends on Qt 3.x
math/koctave||2013-07-26|Has expired: Depends on Qt 3.x
math/kseg||2013-07-26|Has expired: Depends on Qt 3.x
math/pgcalc||2013-07-26|Has expired: Depends on Qt 3.x
@@ -8218,3 +8217,4 @@ net/isc-dhcp41-client|net/isc-dhcp43-cliet|2016-03-02|Has expired: isc-dhcp 4.1
net/isc-dhcp42-server|net/isc-dhcp43-server|2016-03-02|Has expired: isc-dhcp 4.2 is End of Life
devel/pear-IO_Bit||2016-03-02|Has expired: Unsupported upstream
graphics/pear-IO_SWF||2016-03-02|Has expired: Unsupported upstream
+math/k3dsurf|math/mathmod|2016-03-04|K3DSurf was the previous release, based on Qt3, MathMod is the new one, based on Qt5.
diff --git a/math/Makefile b/math/Makefile
index f1c533e1020e..eeaeb66f1bdb 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -262,6 +262,7 @@
SUBDIR += ltl2ba
SUBDIR += lybniz
SUBDIR += math77
+ SUBDIR += mathmod
SUBDIR += mathomatic
SUBDIR += matio
SUBDIR += matlab-installer
diff --git a/math/mathmod/Makefile b/math/mathmod/Makefile
new file mode 100644
index 000000000000..863ef4eab77a
--- /dev/null
+++ b/math/mathmod/Makefile
@@ -0,0 +1,30 @@
+# Created by: thierry@pompo.net
+# $FreeBSD$
+
+PORTNAME= MathMod
+PORTVERSION= 4.0
+CATEGORIES= math graphics
+MASTER_SITES= SF/${PORTNAME:tl}/${PKGNAME}/
+DISTNAME= ${PORTNAME:tl}-${PORTVERSION}-src
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Mathematical modeling software
+
+LICENSE= GPLv2
+
+USES= dos2unix zip
+USE_GL= yes
+USE_QT5= buildtools_build core gui opengl qmake_build widgets
+
+BRANCHE= 246
+WRKSRC= ${WRKDIR}/${PORTNAME:tl}-branches-${BRANCHE}-trunk
+
+PLIST_FILES= bin/MathMod
+
+pre-build:
+ cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE}
+
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ARGET/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/math/mathmod/distinfo b/math/mathmod/distinfo
new file mode 100644
index 000000000000..bd141bab29ba
--- /dev/null
+++ b/math/mathmod/distinfo
@@ -0,0 +1,2 @@
+SHA256 (mathmod-4.0-src.zip) = 337d8c2aec31747ed21d1cc7037b079fdf5702eb6ad2c151e1977d46ac49a4e6
+SIZE (mathmod-4.0-src.zip) = 967153
diff --git a/math/mathmod/files/patch-MathMod.pro b/math/mathmod/files/patch-MathMod.pro
new file mode 100644
index 000000000000..a74e07fc4ead
--- /dev/null
+++ b/math/mathmod/files/patch-MathMod.pro
@@ -0,0 +1,10 @@
+--- MathMod.pro.orig 2016-03-03 21:15:56 UTC
++++ MathMod.pro
+@@ -58,7 +58,6 @@ FORMS = ui_forms/drawingoptions.ui \
+
+ RC_FILE = mm.rc
+ RESOURCES += myressources.qrc
+-LIBS += -lopengl32
+ QT += opengl widgets
+
+ OTHER_FILES += \
diff --git a/math/mathmod/pkg-descr b/math/mathmod/pkg-descr
new file mode 100644
index 000000000000..1c69b2abc6f5
--- /dev/null
+++ b/math/mathmod/pkg-descr
@@ -0,0 +1,8 @@
+MathMod is a mathematical modeling software that visualize and animate implicit
+and parametric surfaces.
+
+MathMod supports: 3D and 4D plotting and animation, OBJ output file format,
+Texture and pigmentation support, Noise and Turbulence effects support, Large
+set of scripted examples.
+
+WWW: https://sourceforge.net/projects/mathmod/