summaryrefslogtreecommitdiff
path: root/math/kseg
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-09-16 18:09:03 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-09-16 18:09:03 +0000
commit94f1779d4847c6c958fbc05ccaad5a2a4b1205fb (patch)
tree7fc65694ad70aeadf16dcd24e54e5a6b247cc4bd /math/kseg
parentUpdate to version 1.3.1 (diff)
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>
Notes
Notes: svn path=/head/; revision=47883
Diffstat (limited to 'math/kseg')
-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
5 files changed, 78 insertions, 0 deletions
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