pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/kseg Reimport misc/kseg into better matching cate...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dde483bec2c
branches:  trunk
changeset: 573191:9dde483bec2c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Mar 14 16:36:22 2010 +0000

description:
Reimport misc/kseg into better matching category.

diffstat:

 math/kseg/DESCR            |   6 ++++
 math/kseg/Makefile         |  39 +++++++++++++++++++++++++++++
 math/kseg/PLIST            |  60 ++++++++++++++++++++++++++++++++++++++++++++++
 math/kseg/distinfo         |   6 ++++
 math/kseg/patches/patch-aa |  13 +++++++++
 5 files changed, 124 insertions(+), 0 deletions(-)

diffs (144 lines):

diff -r d320232f3457 -r 9dde483bec2c math/kseg/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/kseg/DESCR   Sun Mar 14 16:36:22 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 d320232f3457 -r 9dde483bec2c math/kseg/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/kseg/Makefile        Sun Mar 14 16:36:22 2010 +0000
@@ -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@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 d320232f3457 -r 9dde483bec2c math/kseg/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/kseg/PLIST   Sun Mar 14 16:36:22 2010 +0000
@@ -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 -r d320232f3457 -r 9dde483bec2c math/kseg/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/kseg/distinfo        Sun Mar 14 16:36:22 2010 +0000
@@ -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 -r d320232f3457 -r 9dde483bec2c math/kseg/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/kseg/patches/patch-aa        Sun Mar 14 16:36:22 2010 +0000
@@ -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");



Home | Main Index | Thread Index | Old Index