Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2016 22:54:37 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r410155 - in head: . math math/mathmod math/mathmod/files
Message-ID:  <201603042254.u24MsbqH059393@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Fri Mar  4 22:54:36 2016
New Revision: 410155
URL: https://svnweb.freebsd.org/changeset/ports/410155

Log:
  MathMod is the new K3DSurf, now based on Qt 5.

Added:
  head/math/mathmod/
     - copied from r323747, head/math/k3dsurf/
  head/math/mathmod/files/patch-MathMod.pro   (contents, props changed)
Deleted:
  head/math/mathmod/files/patch-Makefile
  head/math/mathmod/files/patch-src_Makefile
Modified:
  head/MOVED
  head/math/Makefile
  head/math/mathmod/Makefile
  head/math/mathmod/distinfo
  head/math/mathmod/pkg-descr   (contents, props changed)

Modified: head/MOVED
==============================================================================
--- head/MOVED	Fri Mar  4 22:51:35 2016	(r410154)
+++ head/MOVED	Fri Mar  4 22:54:36 2016	(r410155)
@@ -4587,7 +4587,6 @@ lang/klogoturtle||2013-07-26|Has expired
 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-cli
 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.

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Fri Mar  4 22:51:35 2016	(r410154)
+++ head/math/Makefile	Fri Mar  4 22:54:36 2016	(r410155)
@@ -262,6 +262,7 @@
     SUBDIR += ltl2ba
     SUBDIR += lybniz
     SUBDIR += math77
+    SUBDIR += mathmod
     SUBDIR += mathomatic
     SUBDIR += matio
     SUBDIR += matlab-installer

Modified: head/math/mathmod/Makefile
==============================================================================
--- head/math/k3dsurf/Makefile	Fri Jul 26 19:14:50 2013	(r323747)
+++ head/math/mathmod/Makefile	Fri Mar  4 22:54:36 2016	(r410155)
@@ -1,34 +1,30 @@
 # Created by: thierry@pompo.net
-#
 # $FreeBSD$
-#
 
-PORTNAME=	k3dsurf
-PORTVERSION=	0.6.2.4
+PORTNAME=	MathMod
+PORTVERSION=	4.0
 CATEGORIES=	math graphics
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}_Linux/${PORTVERSION:R}
+MASTER_SITES=	SF/${PORTNAME:tl}/${PKGNAME}/
+DISTNAME=	${PORTNAME:tl}-${PORTVERSION}-src
 
 MAINTAINER=	thierry@FreeBSD.org
-COMMENT=	Visualize and manipulate Mathematical surfaces or curves
+COMMENT=	Mathematical modeling software
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
-
+USES=		dos2unix zip
 USE_GL=		yes
-USE_QT_VER=	3
-QTDIR=		${QT_PREFIX}
-MAKE_ENV=	QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"	\
-		QTDIR="${QTDIR}" PTHREAD_LIBS="${PTHREAD_LIBS}"
+USE_QT5=	buildtools_build core gui opengl qmake_build widgets
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+BRANCHE=	246
+WRKSRC=		${WRKDIR}/${PORTNAME:tl}-branches-${BRANCHE}-trunk
 
-PLIST_FILES=	bin/k3dsurf
+PLIST_FILES=	bin/MathMod
 
 pre-build:
-	cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} qmake
+	cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE}
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/k3dsurf ${PREFIX}/bin
+post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/ARGET/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/math/mathmod/distinfo
==============================================================================
--- head/math/k3dsurf/distinfo	Fri Jul 26 19:14:50 2013	(r323747)
+++ head/math/mathmod/distinfo	Fri Mar  4 22:54:36 2016	(r410155)
@@ -1,2 +1,2 @@
-SHA256 (k3dsurf-0.6.2.4.tar.gz) = dc8d2b9b092ee03fd5a3d4ce211c24fa86d81d5278b0fd14dcb45e7f007cdc3e
-SIZE (k3dsurf-0.6.2.4.tar.gz) = 4317832
+SHA256 (mathmod-4.0-src.zip) = 337d8c2aec31747ed21d1cc7037b079fdf5702eb6ad2c151e1977d46ac49a4e6
+SIZE (mathmod-4.0-src.zip) = 967153

Added: head/math/mathmod/files/patch-MathMod.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/mathmod/files/patch-MathMod.pro	Fri Mar  4 22:54:36 2016	(r410155)
@@ -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 += \

Modified: head/math/mathmod/pkg-descr
==============================================================================
--- head/math/k3dsurf/pkg-descr	Fri Jul 26 19:14:50 2013	(r323747)
+++ head/math/mathmod/pkg-descr	Fri Mar  4 22:54:36 2016	(r410155)
@@ -1,15 +1,8 @@
-K3DSurf is a program to visualize and manipulate multidimensional surfaces
-by using Mathematical equations. It's also a "Modeler" for POV-Ray in the
-area of parametric surfaces.
+MathMod is a mathematical modeling software that visualize and animate implicit
+and parametric surfaces.
 
-Features :
-* 3D, 4D, 5D and 6D HyperObjects visualization.
-* Full support of all functions (like C language).
-* Support of mouse event in the drawing area (Left:Rotate, Right:scale
-  and Midle:translate).
-* Animation an Morph effect.
-* Povscript and Mesh file generation(and Run if povray is installed).
-  VRML2 and OBJ files also supported.
-* More than 100 well known examples.
+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: http://k3dsurf.sourceforge.net/
+WWW: https://sourceforge.net/projects/mathmod/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603042254.u24MsbqH059393>