aboutsummaryrefslogtreecommitdiff
path: root/math/geogebra
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-12 16:38:04 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-12 16:38:04 +0000
commitaa0ae019a6f2e0746da9db1d7f0091b1cfe5718e (patch)
tree98683e174a08488c98776a82a47dca1851d6f037 /math/geogebra
parent391d80cac4acc260c03ee4a48f6c7d4e11b7dddb (diff)
downloadports-aa0ae019a6f2e0746da9db1d7f0091b1cfe5718e.tar.gz
ports-aa0ae019a6f2e0746da9db1d7f0091b1cfe5718e.zip
Notes
Diffstat (limited to 'math/geogebra')
-rw-r--r--math/geogebra/Makefile10
-rw-r--r--math/geogebra/distinfo6
-rw-r--r--math/geogebra/pkg-plist1
3 files changed, 11 insertions, 6 deletions
diff --git a/math/geogebra/Makefile b/math/geogebra/Makefile
index acefdc20a0cc..fbf4fb0f17a9 100644
--- a/math/geogebra/Makefile
+++ b/math/geogebra/Makefile
@@ -2,11 +2,13 @@
# $FreeBSD$
PORTNAME= geogebra
-PORTVERSION= 5.0.231.0
+PORTVERSION= 5.0.236.0
CATEGORIES= math java
MASTER_SITES= http://download.geogebra.org/installers/5.0/ \
http://freebsd.uzsolt.hu/src/
DISTNAME= GeoGebra-Linux-Portable-${PORTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} geogebra.png
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= udvzsolt@gmail.com
COMMENT= Dynamic software that joins geometry, algebra, and calculus
@@ -28,13 +30,11 @@ NO_BUILD= yes
USES= tar:bzip2 desktop-file-utils shared-mime-info shebangfix
WRKSRC= ${WRKDIR}/${DISTNAME}
JAVADIR= jre1.7.0_45-i686
-SHEBANG_FILES= geogebra-portable geogebra/geogebra
SUB_FILES= geogebra.desktop geogebra.sh
SUB_LIST= JAVADIR=${DATADIR}/${JAVADIR}
-post-patch:
- @${REINPLACE_CMD} -e 's,arch,/compat/linux/bin/arch,' ${WRKSRC}/geogebra-portable
+INSTALLS_ICONS= yes
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/${PORTNAME}
@@ -44,5 +44,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${JAVADIR}/bin/java ${STAGEDIR}${DATADIR}/${JAVADIR}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
${INSTALL_DATA} ${WRKDIR}/geogebra.desktop ${STAGEDIR}${DESKTOPDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps
+ ${INSTALL_DATA} ${DISTDIR}/geogebra.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/32x32/apps/geogebra.png
.include <bsd.port.mk>
diff --git a/math/geogebra/distinfo b/math/geogebra/distinfo
index 0e68e3c9f8fd..d0d2ef06d6cb 100644
--- a/math/geogebra/distinfo
+++ b/math/geogebra/distinfo
@@ -1,2 +1,4 @@
-SHA256 (GeoGebra-Linux-Portable-5.0.231.0.tar.bz2) = e3e1db941bd45ee3c34916bfd7943b6869393ea133f5a95a477896450b197c57
-SIZE (GeoGebra-Linux-Portable-5.0.231.0.tar.bz2) = 100748960
+SHA256 (GeoGebra-Linux-Portable-5.0.236.0.tar.bz2) = 0573b5ceb1b1a10803c10b6a9a3cb3b295a6424b6e0b9050bc55afa1a51720f9
+SIZE (GeoGebra-Linux-Portable-5.0.236.0.tar.bz2) = 100763477
+SHA256 (geogebra.png) = e97122d77209e2c235f5afcee8f783c1e933d14062851ac73a4ed7a6520c5614
+SIZE (geogebra.png) = 4018
diff --git a/math/geogebra/pkg-plist b/math/geogebra/pkg-plist
index bc7856f3faf3..837b8ebea49b 100644
--- a/math/geogebra/pkg-plist
+++ b/math/geogebra/pkg-plist
@@ -1,5 +1,6 @@
bin/geogebra
share/applications/geogebra.desktop
+share/icons/hicolor/32x32/apps/geogebra.png
%%DATADIR%%/geogebra/OpenGeoProver.jar
%%DATADIR%%/geogebra/geogebra.jar
%%DATADIR%%/geogebra/geogebra_3d.jar