aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-09-17 02:09:03 +0800
committerkevlo <kevlo@FreeBSD.org>2001-09-17 02:09:03 +0800
commit841e4c1268e3e907d1465f7db22c6089d173dc17 (patch)
treeb5a6142cbeb8224df6ceb3b3f160ab622330e00b /math
parent0d31f99dc8db9c40b510c57836be619a4101c809 (diff)
downloadfreebsd-ports-gnome-841e4c1268e3e907d1465f7db22c6089d173dc17.tar.gz
freebsd-ports-gnome-841e4c1268e3e907d1465f7db22c6089d173dc17.tar.zst
freebsd-ports-gnome-841e4c1268e3e907d1465f7db22c6089d173dc17.zip
Initial import of kset-0.3.
KSEG is a program for exploring Euclidean geometry. PR: 30305 Submitted by: Kuang-che Wu <kcwu@ck.tp.edu.tw>
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/kseg/Makefile34
-rw-r--r--math/kseg/distinfo1
-rw-r--r--math/kseg/pkg-comment1
-rw-r--r--math/kseg/pkg-descr10
-rw-r--r--math/kseg/pkg-plist32
6 files changed, 79 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 1ef612afe389..afb42039dd70 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -39,6 +39,7 @@
SUBDIR += gsl
SUBDIR += guppi
SUBDIR += hexcalc
+ SUBDIR += kseg
SUBDIR += lapack
SUBDIR += libgmp
SUBDIR += libgmp3
diff --git a/math/kseg/Makefile b/math/kseg/Makefile
new file mode 100644
index 000000000000..c15b8ea471b6
--- /dev/null
+++ b/math/kseg/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: kseg
+# Date created: 4 September 2001
+# Whom: Kuang-che Wu <kcwu@ck.tp.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kseg
+PORTVERSION= 0.3
+CATEGORIES= math graphics
+MASTER_SITES= http://www.mit.edu/~ibaran/
+
+MAINTAINER= kcwu@ck.tp.edu.tw
+
+USE_QT_VER= 2
+USE_X_PREFIX= yes
+
+pre-configure:
+ ${PERL} -pi -e "s@\\$$\(QTDIR\)/include@${PREFIX}/include/qt2@" ${WRKSRC}/Makefile ${WRKSRC}/formula/Makefile
+ ${PERL} -pi -e "s@\\$$\(QTDIR\)/lib -lqt@${PREFIX}/lib -lqt2@" ${WRKSRC}/Makefile
+ ${PERL} -pi -e "s@^MOC =.*@MOC = ${MOC}@" ${WRKSRC}/Makefile ${WRKSRC}/formula/Makefile
+ ${PERL} -pi -e 's@"LanguageDir", "\."@"LanguageDir", "${PREFIX}/share/doc/kseg"@' ${WRKSRC}/main.cpp
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/kseg ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/share/doc/kseg
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kseg
+.for TRANS in de en fr pt xx
+ ${INSTALL_DATA} ${WRKSRC}/kseg_${TRANS}.qm ${PREFIX}/share/doc/kseg
+.endfor
+ ${MKDIR} ${PREFIX}/share/doc/kseg/examples
+ for EXAMPLES in ${WRKSRC}/examples/*;do ${INSTALL_DATA} $${EXAMPLES} ${PREFIX}/share/doc/kseg/examples;done
+
+.include <bsd.port.mk>
diff --git a/math/kseg/distinfo b/math/kseg/distinfo
new file mode 100644
index 000000000000..cf3f0df4b7c5
--- /dev/null
+++ b/math/kseg/distinfo
@@ -0,0 +1 @@
+MD5 (kseg-0.3.tar.gz) = b7302130aa57f0707402340cbf0c7070
diff --git a/math/kseg/pkg-comment b/math/kseg/pkg-comment
new file mode 100644
index 000000000000..e6c32386f05f
--- /dev/null
+++ b/math/kseg/pkg-comment
@@ -0,0 +1 @@
+A simulator of euclidean geometry
diff --git a/math/kseg/pkg-descr b/math/kseg/pkg-descr
new file mode 100644
index 000000000000..d64a1c1a5d48
--- /dev/null
+++ b/math/kseg/pkg-descr
@@ -0,0 +1,10 @@
+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.
+
+WWW: http://www.mit.edu/~ibaran/kseg.html
+
+- Kuang-che Wu
+ kcwu@ck.tp.edu.tw
diff --git a/math/kseg/pkg-plist b/math/kseg/pkg-plist
new file mode 100644
index 000000000000..12e7522412db
--- /dev/null
+++ b/math/kseg/pkg-plist
@@ -0,0 +1,32 @@
+bin/kseg
+share/doc/kseg/README
+share/doc/kseg/examples/20cell.seg
+share/doc/kseg/examples/circumcircle.sec
+share/doc/kseg/examples/circumcircle.seg
+share/doc/kseg/examples/conic5pt.sec
+share/doc/kseg/examples/cube.seg
+share/doc/kseg/examples/invert.sec
+share/doc/kseg/examples/invert3.sec
+share/doc/kseg/examples/isogonal.sec
+share/doc/kseg/examples/julia.sec
+share/doc/kseg/examples/julia.seg
+share/doc/kseg/examples/kiepert.sec
+share/doc/kseg/examples/kiepert2.sec
+share/doc/kseg/examples/kiepert3.sec
+share/doc/kseg/examples/koch.sec
+share/doc/kseg/examples/large.seg
+share/doc/kseg/examples/largelocus.seg
+share/doc/kseg/examples/locus.seg
+share/doc/kseg/examples/prettylocus.seg
+share/doc/kseg/examples/prettylocusgenerator.sec
+share/doc/kseg/examples/sierp.sec
+share/doc/kseg/examples/sierp2.sec
+share/doc/kseg/examples/tractix.sec
+share/doc/kseg/examples/tractix.seg
+share/doc/kseg/kseg_de.qm
+share/doc/kseg/kseg_en.qm
+share/doc/kseg/kseg_fr.qm
+share/doc/kseg/kseg_pt.qm
+share/doc/kseg/kseg_xx.qm
+@dirrm share/doc/kseg/examples
+@dirrm share/doc/kseg