diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-02-09 08:04:01 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-02-09 08:04:01 +0000 |
commit | 26637340af74418977e820211e2a9c4c77df53df (patch) | |
tree | 6a4e08ec19a2800c6214eb028b98dc739ff798b7 /math/geonext | |
parent | Correct typo (diff) |
Add geonext 1.11, interactive (dynamic) elementary Geometry Software.
{german,french}/geonext will be slave-ports to this new, generalised one.
PR: ports/75784
Submitted by: Andreas Fehlner (fehlner@gmx.de)
Notes
Notes:
svn path=/head/; revision=128341
Diffstat (limited to 'math/geonext')
-rw-r--r-- | math/geonext/Makefile | 67 | ||||
-rw-r--r-- | math/geonext/distinfo | 2 | ||||
-rw-r--r-- | math/geonext/pkg-descr | 17 | ||||
-rw-r--r-- | math/geonext/pkg-plist | 18 |
4 files changed, 104 insertions, 0 deletions
diff --git a/math/geonext/Makefile b/math/geonext/Makefile new file mode 100644 index 000000000000..36a0b18e09b5 --- /dev/null +++ b/math/geonext/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: geonext +# Date created: Mon Dec 6 19:56:58 CET 2004 +# Whom: Andreas Fehlner (fehlner@gmx.de) +# +# $FreeBSD$ +# + +PORTNAME= geonext +PORTVERSION= 1.11 +CATEGORIES= math graphics +MASTER_SITES= http://geonext.uni-bayreuth.de/data/download/\ + http://home.arcor.de/fehlner/inhalt/download/\ + http://home.arcor.de/teambushido/ +DISTNAME= geonext.${PORTVERSION} + +MAINTAINER= fehlner@gmx.de +COMMENT?= Interactive (dynamic) elementary Geometry Software + +WRKSRC= ${WRKDIR}/geonext_install +NO_BUILD= yes +USE_ZIP= yes +USE_JAVA= 1.4 +DATA= cacerts didmat.crt geonext.html geonext.jar license.txt index.html +IMG= g.gif gn.gif gni.gif geoint.png pixel.gif gx.gif gxt.gif ubt.gif x.ico + +# available languages: bg, cz, de, en, es, fr, hu, sk, ja, ro +# default: en +.if !defined(WITH_LANG) +WITH_LANG= en +.endif + +# For the slave ports +LA= language=${WITH_LANG} +.if ${WITH_LANG} != "en" +PKGNAMEPREFIX= ${WITH_LANG}- +.endif + +PLIST_SUB= LANG=${WITH_LANG} +GLOCATE= ${DATADIR}-${WITH_LANG} + +.include <bsd.port.pre.mk> + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "N - O - T - E" + @${ECHO_MSG} "" + @${ECHO_MSG} "WITH_LANG=lang - Choose language" + @${ECHO_MSG} "Default language: en" + @${ECHO_MSG} "available languages: en, fr, bg, cz, de, es, hu, sk, ja, ro" + @${ECHO_MSG} "example: make WITH_LANG=fr install" + @${ECHO_MSG} "" + @${ECHO_MSG} "Your current setting is:" + @${ECHO_MSG} "" + @${ECHO_MSG} "WITH_LANG=${WITH_LANG}" + @${ECHO_MSG} "" + +do-install:: + ${MKDIR} ${GLOCATE} + cd ${WRKSRC} && ${INSTALL_DATA} ${DATA} ${GLOCATE} + cd ${WRKSRC} && ${INSTALL_DATA} ${IMG} ${GLOCATE} + @${ECHO_MSG} '#!/bin/sh' > ${GLOCATE}/${PORTNAME}-${WITH_LANG} + @${ECHO_MSG} '${JAVA} -cp ${GLOCATE}/geonext.jar geonext/Geonext ${LA} &' \ + >>${GLOCATE}/${PORTNAME}-${WITH_LANG} + ${CHMOD} a+x ${GLOCATE}/${PORTNAME}-${WITH_LANG} + ${INSTALL_SCRIPT} ${GLOCATE}/geonext-${WITH_LANG} ${PREFIX}/bin + +.include <bsd.port.post.mk> diff --git a/math/geonext/distinfo b/math/geonext/distinfo new file mode 100644 index 000000000000..29082962312c --- /dev/null +++ b/math/geonext/distinfo @@ -0,0 +1,2 @@ +MD5 (geonext.1.11.zip) = fb506cfe96f5d172345b2edda3ac0871 +SIZE (geonext.1.11.zip) = 1157656 diff --git a/math/geonext/pkg-descr b/math/geonext/pkg-descr new file mode 100644 index 000000000000..e199445784ef --- /dev/null +++ b/math/geonext/pkg-descr @@ -0,0 +1,17 @@ +The dynamic mathematics software Geonext establishes new ways of teaching and +learning mathematics. It offers opportunities of visualisation that can't be +realised on paper or blackboard and with traditional construction tools. + +Geonext enables autonomous and cooperative learning of mathematics in the +classroom. It encourages an active discovering approach to mathematical +thinking. Geonext can be used at school and at home for free (GPL). +Therefore the software can be handed out to students without any copyright +problems (GPL). + +Geonext can be used from elementary school up to calculus at high school and +in teacher-training at university in a manifold and flexible way. + +WWW: http://www.geonext.de + +-Andreas Fehlner +fehlner@gmx.de diff --git a/math/geonext/pkg-plist b/math/geonext/pkg-plist new file mode 100644 index 000000000000..e5a11d6399d3 --- /dev/null +++ b/math/geonext/pkg-plist @@ -0,0 +1,18 @@ +bin/geonext-%%LANG%% +share/geonext-%%LANG%%/geonext-%%LANG%% +share/geonext-%%LANG%%/cacerts +share/geonext-%%LANG%%/didmat.crt +share/geonext-%%LANG%%/g.gif +share/geonext-%%LANG%%/geonext.html +share/geonext-%%LANG%%/geonext.jar +share/geonext-%%LANG%%/gn.gif +share/geonext-%%LANG%%/gni.gif +share/geonext-%%LANG%%/geoint.png +share/geonext-%%LANG%%/gx.gif +share/geonext-%%LANG%%/gxt.gif +share/geonext-%%LANG%%/index.html +share/geonext-%%LANG%%/license.txt +share/geonext-%%LANG%%/pixel.gif +share/geonext-%%LANG%%/x.ico +share/geonext-%%LANG%%/ubt.gif +@dirrm share/geonext-%%LANG%% |