aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2013-04-22 04:05:28 +0800
committernivit <nivit@FreeBSD.org>2013-04-22 04:05:28 +0800
commit2540e1ca4dc70f8b64df175859f5fe11bf2737fe (patch)
tree080979f09c60f39840a17a32a876b5179bcec938 /math
parent2e76f9f86ad8acdd1519999ed62e1fea150a9d2a (diff)
downloadfreebsd-ports-gnome-2540e1ca4dc70f8b64df175859f5fe11bf2737fe.tar.gz
freebsd-ports-gnome-2540e1ca4dc70f8b64df175859f5fe11bf2737fe.tar.zst
freebsd-ports-gnome-2540e1ca4dc70f8b64df175859f5fe11bf2737fe.zip
- Update to 4.2.31.0
- Add LICENSE (GeoGebra Non-Commercial License Agreement) - USES desktop-file-utils, shared-mime-info - Remove files/patch-geogebra.desktop - Update WWW URL in pkg-descr Feature safe: yes
Diffstat (limited to 'math')
-rw-r--r--math/geogebra-i18n/files/patch-geogebra54
-rw-r--r--math/geogebra-i18n/files/patch-geogebra.desktop9
2 files changed, 42 insertions, 21 deletions
diff --git a/math/geogebra-i18n/files/patch-geogebra b/math/geogebra-i18n/files/patch-geogebra
index a314c0661d7b..f8ffd08af726 100644
--- a/math/geogebra-i18n/files/patch-geogebra
+++ b/math/geogebra-i18n/files/patch-geogebra
@@ -1,33 +1,63 @@
---- ./geogebra.orig 2012-10-07 13:54:43.000000000 +0200
-+++ ./geogebra 2012-10-07 13:56:32.000000000 +0200
+--- ./geogebra.orig 2013-04-21 14:18:22.000000000 +0200
++++ ./geogebra 2013-04-21 14:19:26.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#---------------------------------------------
# Script to start GeoGebra
#---------------------------------------------
-@@ -184,19 +184,19 @@
+@@ -330,42 +330,42 @@
--help | --hel | --he | --h )
func_usage; exit 0 ;;
esac
- if [ $(expr match "$i" '.*--') -ne 0 ]; then
-+ if [ $(expr -- "$i" : '.*--') -ne 0 ]; then
- GG_OPTS[${#GG_OPTS[*]}]="$i"
- shift $((1))
+- if [ $(expr match "$i" '.*--showSplash=') -ne 0 ]; then
++ if [ $(expr -- "$i" '.*--') -ne 0 ]; then
++ if [ $(expr -- "$i" '.*--showSplash=') -ne 0 ]; then
+ GG_SHOWSPLASH=${i:13}
+ shift $((1))
+- elif [ $(expr match "$i" '.*--enableUndo=') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*--enableUndo=') -ne 0 ]; then
+ GG_ENABLEUNDO=${i:13}
+ shift $((1))
+- elif [ $(expr match "$i" '.*--antiAliasing=') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*--antiAliasing=') -ne 0 ]; then
+ GG_ANTIALIASING=${i:15}
+ shift $((1))
+- elif [ $(expr match "$i" '.*--versionCheckAllow=') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*--versionCheckAllow=') -ne 0 ]; then
+ GG_VERSIONCHECKALLOW=${i:20}
+ shift $((1))
+- elif [ $(expr match "$i" '.*--settingsfile=') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*--settingsfile=') -ne 0 ]; then
+ GG_SETTINGS_FILE=${i:15}
+ shift $((1))
+ else
+ GG_OPTS[${#GG_OPTS[*]}]="$i"
+ shift $((1))
+ fi
- elif [ $(expr match "$i" '.*-Xms') -ne 0 ]; then
-+ elif [ $(expr -- "$i" : '.*-Xms') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*-Xms') -ne 0 ]; then
GG_XMS=${i:4}
shift $((1))
- elif [ $(expr match "$i" '.*-Xmx') -ne 0 ]; then
-+ elif [ $(expr -- "$i" : '.*-Xmx') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*-Xmx') -ne 0 ]; then
GG_XMX=${i:4}
shift $((1))
-- elif [ $(expr match "$i" '.*-Djava.library.path') -ne 0 ]; then
-+ elif [ $(expr -- "$i" : '.*-Djava.library.path') -ne 0 ]; then
+- elif [ $(expr match "$i" '.*-Djava.library.path=') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*-Djava.library.path=') -ne 0 ]; then
GG_DJAVA_LIBRARY_PATH=${i:20}
shift $((1))
-- elif [ $(expr match "$i" '.*-JavaCMD') -ne 0 ]; then
-+ elif [ $(expr -- "$i" : '.*-JavaCMD') -ne 0 ]; then
+- elif [ $(expr match "$i" '.*-Dsun.java2d.xrender=') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*-Dsun.java2d.xrender=') -ne 0 ]; then
+ GG_DSUN_JAVA2D_XRENDER=${i:21}
+ shift $((1))
+- elif [ $(expr match "$i" '.*-Dsun.java2d.opengl=') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*-Dsun.java2d.opengl=') -ne 0 ]; then
+ GG_DSUN_JAVA2D_OPENGL=${i:20}
+ shift $((1))
+- elif [ $(expr match "$i" '.*-JavaCMD=') -ne 0 ]; then
++ elif [ $(expr -- "$i" '.*-JavaCMD=') -ne 0 ]; then
JAVACMD=${i:9}
shift $((1))
fi
diff --git a/math/geogebra-i18n/files/patch-geogebra.desktop b/math/geogebra-i18n/files/patch-geogebra.desktop
deleted file mode 100644
index ecf3ddaac803..000000000000
--- a/math/geogebra-i18n/files/patch-geogebra.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
---- ./geogebra.desktop.orig 2012-10-07 14:22:36.000000000 +0200
-+++ ./geogebra.desktop 2012-10-07 14:22:43.000000000 +0200
-@@ -27,5 +27,5 @@
- Type=Application
- StartupNotify=true
- StartupWMClass=geogebra-GeoGebra
--Categories=Education;Math;
-+Categories=Education;Math;Science;
- MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool;