From ba76c597bf391f6dbc0624272a57578b012b9b83 Mon Sep 17 00:00:00 2001
From: Kirill Ponomarev <krion@FreeBSD.org>
Date: Thu, 14 Oct 2004 08:19:40 +0000
Subject: Update to 0.401 Change maintainer's email.

PR:		ports/72661
Submitted by:	maintainer
---
 math/kseg/Makefile                     |  8 ++++----
 math/kseg/distinfo                     |  4 ++--
 math/kseg/files/patch-G_pointLocus.cpp | 11 -----------
 math/kseg/pkg-descr                    | 22 ++++++++++++++++------
 math/kseg/pkg-plist                    |  5 +++++
 5 files changed, 27 insertions(+), 23 deletions(-)
 delete mode 100644 math/kseg/files/patch-G_pointLocus.cpp

(limited to 'math/kseg')

diff --git a/math/kseg/Makefile b/math/kseg/Makefile
index 9de12b0303f1..9db12b624567 100644
--- a/math/kseg/Makefile
+++ b/math/kseg/Makefile
@@ -6,12 +6,12 @@
 #
 
 PORTNAME=	kseg
-PORTVERSION=	0.4
+PORTVERSION=	0.401
 PORTEPOCH=	1
 CATEGORIES=	math graphics
 MASTER_SITES=	http://www.mit.edu/~ibaran/
 
-MAINTAINER=	kcwu@ck.tp.edu.tw
+MAINTAINER=	kcwu@csie.org
 COMMENT=	A simulator of euclidean geometry
 
 USE_QT_VER=	3
@@ -26,10 +26,10 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/kseg ${PREFIX}/bin
 	${MKDIR} ${PREFIX}/lib/X11/kseg
 	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/X11/kseg
-.for TRANS in de en es fr hu it ja nb nl pt xx
+.for TRANS in cy de en es fr hu it ja nb nl pt xx
 	${INSTALL_DATA} ${WRKSRC}/kseg_${TRANS}.qm ${PREFIX}/lib/X11/kseg
 .endfor
-.for TRANS in en es it
+.for TRANS in en es fr it ja nl pt
 	${INSTALL_DATA} ${WRKSRC}/kseg_help_${TRANS}.html ${PREFIX}/lib/X11/kseg
 .endfor
 	${MKDIR} ${PREFIX}/lib/X11/kseg/examples
diff --git a/math/kseg/distinfo b/math/kseg/distinfo
index 4882acad4a37..1f808c188175 100644
--- a/math/kseg/distinfo
+++ b/math/kseg/distinfo
@@ -1,2 +1,2 @@
-MD5 (kseg-0.4.tar.gz) = fba5f777def58a1a2c76ebf8be779ffd
-SIZE (kseg-0.4.tar.gz) = 512567
+MD5 (kseg-0.401.tar.gz) = 2ba305ae834ee96dfa1a2bc6abcbabc7
+SIZE (kseg-0.401.tar.gz) = 574215
diff --git a/math/kseg/files/patch-G_pointLocus.cpp b/math/kseg/files/patch-G_pointLocus.cpp
deleted file mode 100644
index 5e92ea002bc6..000000000000
--- a/math/kseg/files/patch-G_pointLocus.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- G_pointLocus.cpp.orig	Sat Nov 29 04:52:07 2003
-+++ G_pointLocus.cpp	Sat Nov 29 04:54:38 2003
-@@ -283,7 +283,7 @@
-     }
-     else discontCount = 0; //number of times the goodness decreased--for finding discontinuities
- 
--    if(discontCount > log(maxSamples) / 1.5) {
-+    if(discontCount > log((double)maxSamples) / 1.5) {
-       points[0].loc = G_point::inValid();
-       points[points[0].next].loc = G_point::inValid();
-       points[points[0].prev].loc = G_point::inValid();
diff --git a/math/kseg/pkg-descr b/math/kseg/pkg-descr
index d64a1c1a5d48..0723796713e3 100644
--- a/math/kseg/pkg-descr
+++ b/math/kseg/pkg-descr
@@ -1,10 +1,20 @@
-KSEG is a Linux program for exploring Euclidean geometry. You create a 
-construction, such as a triangle with a circumcenter, and then, as you
-drag verteces of the triangle, you can see the circumcenter moving in
-real time. KSEG was inspired by the Geometer's Sketchpad, but I have
-plans to go beyond the functionality that it provides. 
+KSEG is a Free (GPL) interactive geometry program for exploring Euclidean
+geometry. It runs on Unix-based platforms (according to users, it also compiles
+and runs on Mac OS X and should run on anything that Qt supports). You create a
+construction, such as a triangle with a circumcenter, and then, as you drag
+verteces of the triangle, you can see the circumcenter moving in real time. Of
+course, you can do a lot more than that.
+
+KSEG can be used in the classroom, for personal exploration of geometry, or for
+making high-quality figures for LaTeX. It is very fast, stable, and the UI has
+been designed for efficiency and consistency. I can usually make a construction
+in KSEG in less than half the time it takes me to do it with similar programs.
+Despite the name, it is Qt based and does not require KDE to run.
+
+KSEG was inspired by the Geometer's Sketchpad, but it goes beyond the
+functionality that Sketchpad provides.
 
 WWW: http://www.mit.edu/~ibaran/kseg.html
 
 - Kuang-che Wu
-  kcwu@ck.tp.edu.tw
+  kcwu@csie.org
diff --git a/math/kseg/pkg-plist b/math/kseg/pkg-plist
index 805b9fa9e6e8..5e281b0a9d6c 100644
--- a/math/kseg/pkg-plist
+++ b/math/kseg/pkg-plist
@@ -31,6 +31,7 @@ lib/X11/kseg/examples/sierp2.sec
 lib/X11/kseg/examples/sinus.seg
 lib/X11/kseg/examples/tractix.sec
 lib/X11/kseg/examples/tractix.seg
+lib/X11/kseg/kseg_cy.qm
 lib/X11/kseg/kseg_de.qm
 lib/X11/kseg/kseg_en.qm
 lib/X11/kseg/kseg_es.qm
@@ -38,7 +39,11 @@ lib/X11/kseg/kseg_fr.qm
 lib/X11/kseg/kseg_hu.qm
 lib/X11/kseg/kseg_help_en.html
 lib/X11/kseg/kseg_help_es.html
+lib/X11/kseg/kseg_help_fr.html
 lib/X11/kseg/kseg_help_it.html
+lib/X11/kseg/kseg_help_ja.html
+lib/X11/kseg/kseg_help_nl.html
+lib/X11/kseg/kseg_help_pt.html
 lib/X11/kseg/kseg_it.qm
 lib/X11/kseg/kseg_ja.qm
 lib/X11/kseg/kseg_nb.qm
-- 
cgit v1.2.3