diff options
author | wiz <wiz@pkgsrc.org> | 2010-03-14 16:36:22 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-03-14 16:36:22 +0000 |
commit | 62aef970f776ff6f0e7d44ad77fc940234ba70d0 (patch) | |
tree | c46c500390b70d9fcd27e220cd189d637c0b42d9 | |
parent | f10eedd522601dc1b04b74a2eccc8d5790d02056 (diff) | |
download | pkgsrc-62aef970f776ff6f0e7d44ad77fc940234ba70d0.tar.gz |
Reimport misc/kseg into better matching category.
-rw-r--r-- | math/kseg/DESCR | 6 | ||||
-rw-r--r-- | math/kseg/Makefile | 39 | ||||
-rw-r--r-- | math/kseg/PLIST | 60 | ||||
-rw-r--r-- | math/kseg/distinfo | 6 | ||||
-rw-r--r-- | math/kseg/patches/patch-aa | 13 |
5 files changed, 124 insertions, 0 deletions
diff --git a/math/kseg/DESCR b/math/kseg/DESCR new file mode 100644 index 00000000000..8e95c516780 --- /dev/null +++ b/math/kseg/DESCR @@ -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 --git a/math/kseg/Makefile b/math/kseg/Makefile new file mode 100644 index 00000000000..5de3cac85e1 --- /dev/null +++ b/math/kseg/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/03/14 16:36:22 wiz Exp $ +# + +DISTNAME= kseg-0.403 +CATEGORIES= math +MASTER_SITES= http://www.mit.edu/~ibaran/ + +MAINTAINER= pkgsrc-users@NetBSD.org +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 --git a/math/kseg/PLIST b/math/kseg/PLIST new file mode 100644 index 00000000000..710a0ca7d78 --- /dev/null +++ b/math/kseg/PLIST @@ -0,0 +1,60 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/14 16:36:22 wiz 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 --git a/math/kseg/distinfo b/math/kseg/distinfo new file mode 100644 index 00000000000..87544f34d08 --- /dev/null +++ b/math/kseg/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/03/14 16:36:22 wiz 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 --git a/math/kseg/patches/patch-aa b/math/kseg/patches/patch-aa new file mode 100644 index 00000000000..08d153643db --- /dev/null +++ b/math/kseg/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/03/14 16:36:22 wiz 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"); |