pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/kseg import kseg-0.403, a nice geometry scratchpa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ae0b498ec12
branches: trunk
changeset: 569941:9ae0b498ec12
user: drochner <drochner%pkgsrc.org@localhost>
date: Thu Jan 21 10:21:01 2010 +0000
description:
import kseg-0.403, a nice geometry scratchpad program
diffstat:
misc/kseg/DESCR | 6 ++++
misc/kseg/Makefile | 39 +++++++++++++++++++++++++++++
misc/kseg/PLIST | 60 ++++++++++++++++++++++++++++++++++++++++++++++
misc/kseg/distinfo | 6 ++++
misc/kseg/patches/patch-aa | 13 +++++++++
5 files changed, 124 insertions(+), 0 deletions(-)
diffs (144 lines):
diff -r 2a2e353ff722 -r 9ae0b498ec12 misc/kseg/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kseg/DESCR Thu Jan 21 10:21:01 2010 +0000
@@ -0,0 +1,6 @@
+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.
diff -r 2a2e353ff722 -r 9ae0b498ec12 misc/kseg/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kseg/Makefile Thu Jan 21 10:21:01 2010 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/01/21 10:21:01 drochner Exp $
+#
+
+DISTNAME= kseg-0.403
+CATEGORIES= misc
+MASTER_SITES= http://www.mit.edu/~ibaran/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.mit.edu/~ibaran/kseg.html
+COMMENT= Interactive geometry program
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/kseg
+USE_LANGUAGES= c++
+INSTALLATION_DIRS+= bin share/kseg
+
+KSEGLANG= ${PREFIX}/share/kseg/lang
+SUBST_CLASSES+= prefix
+SUBST_STAGE.prefix= pre-configure
+SUBST_FILES.prefix= main.cpp
+SUBST_VARS.prefix= KSEGLANG
+
+do-configure:
+ cd ${WRKSRC} && env ${CONFIGURE_ENV} ${QTDIR}/bin/qmake
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/kseg ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${KSEGLANG}
+ for f in ${WRKSRC}/*.qm ${WRKSRC}/*.html; do \
+ ${INSTALL_DATA} $$f ${DESTDIR}${KSEGLANG}; \
+ done
+ ${CP} -r ${WRKSRC}/examples ${DESTDIR}${PREFIX}/share/kseg
+ ${CHMOD} 644 ${DESTDIR}${PREFIX}/share/kseg/examples/*
+
+.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/qt3-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2a2e353ff722 -r 9ae0b498ec12 misc/kseg/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kseg/PLIST Thu Jan 21 10:21:01 2010 +0000
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/01/21 10:21:01 drochner Exp $
+bin/kseg
+share/kseg/examples/20cell.seg
+share/kseg/examples/bezier-cubic.sec
+share/kseg/examples/bezier-cubic.seg
+share/kseg/examples/circumcircle.sec
+share/kseg/examples/circumcircle.seg
+share/kseg/examples/conic5pt.sec
+share/kseg/examples/coord.seg
+share/kseg/examples/cube.seg
+share/kseg/examples/delaunay.seg
+share/kseg/examples/dragon.sec
+share/kseg/examples/ellipse.sec
+share/kseg/examples/invert.sec
+share/kseg/examples/invert3.sec
+share/kseg/examples/isogonal.sec
+share/kseg/examples/julia.sec
+share/kseg/examples/julia.seg
+share/kseg/examples/kiepert.sec
+share/kseg/examples/kiepert2.sec
+share/kseg/examples/kiepert3.sec
+share/kseg/examples/koch.sec
+share/kseg/examples/large.seg
+share/kseg/examples/largelocus.seg
+share/kseg/examples/locus.seg
+share/kseg/examples/prettylocus.seg
+share/kseg/examples/prettylocusgenerator.sec
+share/kseg/examples/radicalaxis.sec
+share/kseg/examples/sierp.sec
+share/kseg/examples/sierp2.sec
+share/kseg/examples/sinus.seg
+share/kseg/examples/tractix.sec
+share/kseg/examples/tractix.seg
+share/kseg/lang/kseg_cy.qm
+share/kseg/lang/kseg_de.qm
+share/kseg/lang/kseg_en.qm
+share/kseg/lang/kseg_es.qm
+share/kseg/lang/kseg_fr.qm
+share/kseg/lang/kseg_help_en.html
+share/kseg/lang/kseg_help_es.html
+share/kseg/lang/kseg_help_fr.html
+share/kseg/lang/kseg_help_it.html
+share/kseg/lang/kseg_help_ja.html
+share/kseg/lang/kseg_help_nl.html
+share/kseg/lang/kseg_help_pt.html
+share/kseg/lang/kseg_help_ru.html
+share/kseg/lang/kseg_help_tc.html
+share/kseg/lang/kseg_help_tr.html
+share/kseg/lang/kseg_help_zh.html
+share/kseg/lang/kseg_hu.qm
+share/kseg/lang/kseg_it.qm
+share/kseg/lang/kseg_ja.qm
+share/kseg/lang/kseg_nb.qm
+share/kseg/lang/kseg_nl.qm
+share/kseg/lang/kseg_pt.qm
+share/kseg/lang/kseg_ru.qm
+share/kseg/lang/kseg_tc.qm
+share/kseg/lang/kseg_tr.qm
+share/kseg/lang/kseg_xx.qm
+share/kseg/lang/kseg_zh.qm
diff -r 2a2e353ff722 -r 9ae0b498ec12 misc/kseg/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kseg/distinfo Thu Jan 21 10:21:01 2010 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/01/21 10:21:01 drochner Exp $
+
+SHA1 (kseg-0.403.tar.gz) = 24655ca2a50f3470aeee8a361f50cdd7a0646049
+RMD160 (kseg-0.403.tar.gz) = abfabdae67be7d6af8d61cc159dbd91b7271e723
+Size (kseg-0.403.tar.gz) = 656675 bytes
+SHA1 (patch-aa) = d0536c797f50fd882b4cecd7093933d918d55457
diff -r 2a2e353ff722 -r 9ae0b498ec12 misc/kseg/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kseg/patches/patch-aa Thu Jan 21 10:21:01 2010 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/01/21 10:21:01 drochner Exp $
+
+--- main.cpp.orig 2006-02-04 02:06:38.000000000 +0000
++++ main.cpp
+@@ -37,7 +37,7 @@ int main(int argc, char **argv)
+
+ //set some default properties
+ KSegProperties::setPropertyDefault("Language", "");
+- KSegProperties::setPropertyDefault("LanguageDir", ".");
++ KSegProperties::setPropertyDefault("LanguageDir", "@KSEGLANG@");
+ KSegProperties::setPropertyDefault("SelectType", "BorderSelect");
+ KSegProperties::setPropertyDefault("QuickPlayDirectory", ".");
+ KSegProperties::setPropertyDefault("RecentListSize", "4");
Home |
Main Index |
Thread Index |
Old Index