1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Update to 5.0.236.0

- Add icon

PR:		209461
Submitted by:	udvzsolt@gmail.com (maintainer)
This commit is contained in:
Dmitry Marakasov 2016-05-12 16:38:04 +00:00
parent 391d80cac4
commit aa0ae019a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415073
3 changed files with 11 additions and 6 deletions

View File

@ -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>

View File

@ -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

View File

@ -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