mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
f3c7b3fd55
PR: 217798 Submitted by: Zsolt Udvari <udvzsolt@gmail.com> (maintainer)
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# Created by: Nicola Vitale <nivit@email.it>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= geogebra
|
|
PORTVERSION= 5.0.341.0
|
|
CATEGORIES= math java
|
|
MASTER_SITES= http://download.geogebra.org/installers/5.0/ \
|
|
http://freebsd.uzsolt.hu/src/
|
|
DISTNAME= GeoGebra-Linux-Portable-${PORTVERSION:S/./-/g}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} geogebra.png
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= udvzsolt@gmail.com
|
|
COMMENT= Dynamic software that joins geometry, algebra, and calculus
|
|
|
|
LICENSE= GEOGEBRA
|
|
LICENSE_NAME= GeoGebra Non-Commercial License Agreement
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
SUB_FILES= geogebra.desktop
|
|
CONFLICTS= math/geogebra-i18n-[0-9]*
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
USES= tar:bzip2 desktop-file-utils shebangfix
|
|
USE_JAVA= yes
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
SUB_FILES= geogebra.desktop geogebra.sh
|
|
SUB_LIST= JAVA=${JAVA}
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/${PORTNAME}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/geogebra.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/geogebra/*.jar ${STAGEDIR}${DATADIR}/${PORTNAME}
|
|
@${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>
|