mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
de05bccd8c
* Upstream licensing changed somewhat but it is still free for non-commercial use. * It no-longer provides geogebra.desktop, icons etc so I removed that portion. Anyone so inclined can add back in later perhaps using FreeBSD's port for ideas. * The 3D mode doesn't work and presumably relies on native code from https://jogamp.org/jogl/www/ so I disabled 3D mode. ok op@ ian@
36 lines
823 B
Makefile
36 lines
823 B
Makefile
COMMENT= educational mathematical software
|
|
|
|
V= 5-2-909-9
|
|
DISTNAME= GeoGebra-Linux-Portable-${V}
|
|
PKGNAME= geogebra-${V:S/-/./g}
|
|
|
|
CATEGORIES= math
|
|
|
|
HOMEPAGE= https://www.geogebra.org
|
|
|
|
# GeoGebra Non-Commercial License + EUPL v1.2
|
|
# Creative Commons Attribution-Share Alike 4.0
|
|
# See: https://www.geogebra.org/license
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
SITES= http://download.geogebra.org/installers/5.2/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MODULES= java
|
|
MODJAVA_VER= 17+
|
|
|
|
RUN_DEPENDS= java/javaPathHelper
|
|
|
|
NO_BUILD= Yes
|
|
NO_TEST= Yes
|
|
PKG_ARCH= *
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${MODJAVA_JAR_DIR}/geogebra
|
|
cd ${WRKSRC}/geogebra && \
|
|
${INSTALL_DATA} *.jar *.txt ${MODJAVA_JAR_DIR}/geogebra/
|
|
rm ${MODJAVA_JAR_DIR}/geogebra/*-natives-linux-*.jar
|
|
$(SUBST_PROGRAM) ${WRKSRC}/geogebra/geogebra $(PREFIX)/bin/geogebra
|
|
|
|
.include <bsd.port.mk>
|