diff options
author | vs <vs@FreeBSD.org> | 2005-02-09 16:04:01 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-02-09 16:04:01 +0800 |
commit | 1bcd5f10f0876a704fdcba7a828560abb4f43977 (patch) | |
tree | 2df0a03d825957b572f97766da0bc5e7af1858a9 /math | |
parent | 024f9b0ddfee880d12115e9b2bb49e8bbf4c094f (diff) | |
download | freebsd-ports-gnome-1bcd5f10f0876a704fdcba7a828560abb4f43977.tar.gz freebsd-ports-gnome-1bcd5f10f0876a704fdcba7a828560abb4f43977.tar.zst freebsd-ports-gnome-1bcd5f10f0876a704fdcba7a828560abb4f43977.zip |
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)
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 1 | ||||
-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 |
5 files changed, 105 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 00a6571fce2c..871d291a4c1c 100644 --- a/math/Makefile +++ b/math/Makefile @@ -61,6 +61,7 @@ SUBDIR += gcalctool SUBDIR += gdcalc SUBDIR += geg + SUBDIR += geonext SUBDIR += gexpr SUBDIR += glgraph SUBDIR += glove 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%% |