aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2013-04-22 04:08:59 +0800
committernivit <nivit@FreeBSD.org>2013-04-22 04:08:59 +0800
commit14383c11db0f6b3518ac0f1b6ba90edc378bc3e6 (patch)
tree13a38cf472a063b3f0f38060fba287b075694386 /math
parent2540e1ca4dc70f8b64df175859f5fe11bf2737fe (diff)
downloadfreebsd-ports-gnome-14383c11db0f6b3518ac0f1b6ba90edc378bc3e6.tar.gz
freebsd-ports-gnome-14383c11db0f6b3518ac0f1b6ba90edc378bc3e6.tar.zst
freebsd-ports-gnome-14383c11db0f6b3518ac0f1b6ba90edc378bc3e6.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/Makefile14
-rw-r--r--math/geogebra-i18n/distinfo4
-rw-r--r--math/geogebra-i18n/pkg-descr2
-rw-r--r--math/geogebra-i18n/pkg-plist4
4 files changed, 11 insertions, 13 deletions
diff --git a/math/geogebra-i18n/Makefile b/math/geogebra-i18n/Makefile
index 57d1dbbdbfe7..66596ba5bc5d 100644
--- a/math/geogebra-i18n/Makefile
+++ b/math/geogebra-i18n/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= geogebra
-PORTVERSION= 4.2.23.0
+PORTVERSION= 4.2.31.0
#PORTREVISION= 0
CATEGORIES= math java
MASTER_SITES= GOOGLE_CODE
@@ -12,8 +12,12 @@ DISTNAME= GeoGebra-Unixlike-Installer-${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Dynamic software that joins geometry, algebra, and calculus
-RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
- ${LOCALBASE}/bin/update-mime-database:${PORTSDIR}/misc/shared-mime-info
+LICENSE= GEOGEBRA
+LICENSE_NAME= GeoGebra Non-Commercial License Agreement
+LICENSE_FILE= ${WRKSRC}/_license.txt
+LICENSE_PERMS= dist-sell pkg-sell auto-accept
+
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
@@ -23,8 +27,8 @@ JAVA_VERSION= 1.6+
NO_BUILD= yes
-USE_GNOME= desktopfileutils
USE_JAVA= yes
+USES= desktop-file-utils shared-mime-info
WRKSRC= ${WRKDIR}/geogebra-${PORTVERSION}
@@ -40,7 +44,5 @@ do-install:
${MKDIR} ${PREFIX}/share/applications && \
${INSTALL_DATA} ${WRKSRC}/geogebra.xml ${PREFIX}/share/mime/packages && \
${INSTALL_DATA} ${WRKSRC}/geogebra.desktop ${DESKTOPDIR}
- -${LOCALBASE}/bin/update-desktop-database
- -${LOCALBASE}/bin/update-mime-database ${LOCALBASE}/share/mime
.include <bsd.port.mk>
diff --git a/math/geogebra-i18n/distinfo b/math/geogebra-i18n/distinfo
index 5aadd29537e0..7de83d5bb5bc 100644
--- a/math/geogebra-i18n/distinfo
+++ b/math/geogebra-i18n/distinfo
@@ -1,2 +1,2 @@
-SHA256 (GeoGebra-Unixlike-Installer-4.2.23.0.tar.gz) = bf45f25b7f81d12b084b0be4d6072f03f15af30e80041b613d7953eaff75594e
-SIZE (GeoGebra-Unixlike-Installer-4.2.23.0.tar.gz) = 9181451
+SHA256 (GeoGebra-Unixlike-Installer-4.2.31.0.tar.gz) = 3ed61b3e6816b7aba1c82bf1e978c82661611abec7ac4cdd52c3ede4765b3bb0
+SIZE (GeoGebra-Unixlike-Installer-4.2.31.0.tar.gz) = 9235045
diff --git a/math/geogebra-i18n/pkg-descr b/math/geogebra-i18n/pkg-descr
index fa2c62a4727e..885a9cb9261b 100644
--- a/math/geogebra-i18n/pkg-descr
+++ b/math/geogebra-i18n/pkg-descr
@@ -12,4 +12,4 @@ and offers commands like Root or Extremum.
GeoGebra received several international awards including the European
and German educational software award.
-WWW: http://www.geogebra.at/
+WWW: http://www.geogebra.org/
diff --git a/math/geogebra-i18n/pkg-plist b/math/geogebra-i18n/pkg-plist
index e9bae0926821..bd4c79a828d8 100644
--- a/math/geogebra-i18n/pkg-plist
+++ b/math/geogebra-i18n/pkg-plist
@@ -54,7 +54,3 @@ share/icons/hicolor/scalable/mimetypes/application-vnd.geogebra.tool.svgz
%%DATADIR%%/jlm_greek.jar
share/mime/packages/geogebra.xml
@dirrm %%DATADIR%%
-@exec %%LOCALBASE%%/bin/update-desktop-database || /usr/bin/true
-@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-mime-database %%LOCALBASE%%/share/mime || /usr/bin/true