Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add files/patch-geogebra.desktop - New download site - Add shells/bash to RUN_DEPENDS - Remove post-patch target - Fix format of pkg-descr git-svn-id: svn+ssh://svn.freebsd.org/ports/head@309963 aed309b6-a8cd-e111-996c-001c23d10e55
- Loading branch information
nivit
committed
Jan 5, 2013
1 parent
cda9106
commit feb4297
Showing
6 changed files
with
68 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SHA256 (GeoGebra-FreeBSD-Installer-3-2-47-0.tar.gz) = 88f32d575ac07756766b163514a6f3eeb8d74667c0edbe10659e32352dd00575 | ||
SIZE (GeoGebra-FreeBSD-Installer-3-2-47-0.tar.gz) = 7706759 | ||
SHA256 (GeoGebra-Unixlike-Installer-4.2.13.0.tar.gz) = e06148485d4dc15169210b548f682d448feac0ce4b748a381843c6a20e53fa3f | ||
SIZE (GeoGebra-Unixlike-Installer-4.2.13.0.tar.gz) = 9103015 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,33 @@ | ||
$FreeBSD$ | ||
--- ./geogebra.orig 2011-08-12 11:30:50.000000000 +0200 | ||
+++ ./geogebra 2011-08-12 11:31:39.000000000 +0200 | ||
@@ -34,7 +34,7 @@ | ||
--help | --hel | --he | --h ) | ||
func_usage; exit 0 ;; | ||
esac | ||
- if [ $(expr match "$i" '.*-Xm') -ne 0 ]; then | ||
+ if [ $(expr -- "$i" : '.*-Xm') -ne 0 ]; then | ||
if [ -z "$JAVA_OPTS" ]; then | ||
JAVA_OPTS="$i" | ||
else | ||
@@ -42,7 +42,7 @@ | ||
fi | ||
shift $((1)) | ||
else | ||
- if [ $(expr match "$i" '.*--') -ne 0 ]; then | ||
+ if [ $(expr -- "$i" : '.*--') -ne 0 ]; then | ||
if [ -z "$GG_OPTS" ]; then | ||
GG_OPTS="$i" | ||
else | ||
@@ -54,13 +54,13 @@ | ||
done | ||
|
||
# if memory not set, change to GeoGebra defaults | ||
-if [ $(expr match "$JAVA_OPTS" ".*-Xmx") -eq 0 ]; then | ||
+if [ $(expr -- "$JAVA_OPTS" : ".*-Xmx") -eq 0 ]; then | ||
JAVA_OPTS="$JAVA_OPTS -Xmx512m" | ||
fi | ||
|
||
-if [ $(expr match "$JAVA_OPTS" ".*-Xms") -eq 0 ]; then | ||
+if [ $(expr -- "$JAVA_OPTS" : ".*-Xms") -eq 0 ]; then | ||
JAVA_OPTS="$JAVA_OPTS -Xms32m" | ||
fi | ||
|
||
# run | ||
-exec $JAVACMD $JAVA_OPTS -jar /usr/share/geogebra/geogebra.jar $GG_OPTS "$@" | ||
+exec $JAVACMD $JAVA_OPTS -jar %%DATADIR%%/geogebra.jar $GG_OPTS "$@" | ||
--- ./geogebra.orig 2012-10-07 13:54:43.000000000 +0200 | ||
+++ ./geogebra 2012-10-07 13:56:32.000000000 +0200 | ||
@@ -1,4 +1,4 @@ | ||
-#!/bin/bash | ||
+#!/usr/bin/env bash | ||
#--------------------------------------------- | ||
# Script to start GeoGebra | ||
#--------------------------------------------- | ||
@@ -184,19 +184,19 @@ | ||
--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)) | ||
- elif [ $(expr match "$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 | ||
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 | ||
GG_DJAVA_LIBRARY_PATH=${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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- ./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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters