aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-18 21:20:15 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-18 21:20:15 +0800
commit3df7a22dea10d376d74fde5d85600c3e32211abd (patch)
treeb2ce45d47762d3427029d8fb70d41ae83e3eca2f /math
parent5b0a4268c20ddbf4360f982a15ae5db9a8ba4882 (diff)
downloadfreebsd-ports-gnome-3df7a22dea10d376d74fde5d85600c3e32211abd.tar.gz
freebsd-ports-gnome-3df7a22dea10d376d74fde5d85600c3e32211abd.tar.zst
freebsd-ports-gnome-3df7a22dea10d376d74fde5d85600c3e32211abd.zip
Stagify.
Approved by: portmgr@
Diffstat (limited to 'math')
-rw-r--r--math/geogebra-i18n/Makefile27
1 files changed, 10 insertions, 17 deletions
diff --git a/math/geogebra-i18n/Makefile b/math/geogebra-i18n/Makefile
index 084292a7a346..ffe74ff82e7a 100644
--- a/math/geogebra-i18n/Makefile
+++ b/math/geogebra-i18n/Makefile
@@ -20,29 +20,22 @@ LICENSE_PERMS= dist-sell pkg-sell auto-accept
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
-
INSTALLS_ICONS= yes
-
JAVA_VERSION= 1.6+
-
NO_BUILD= yes
-
USE_JAVA= yes
-USES= desktop-file-utils shared-mime-info
-
-WRKSRC= ${WRKDIR}/geogebra-${PORTVERSION}
-
+USES= desktop-file-utils shared-mime-info
+WRKSRC= ${WRKDIR}/geogebra-${PORTVERSION}
FIND_JARS= -type f -name "*.jar" -maxdepth 1 -print0
-NO_STAGE= yes
do-install:
- cd ${WRKSRC} && ${MKDIR} ${DATADIR} && \
- ${INSTALL_SCRIPT} ${WRKSRC}/geogebra ${DATADIR} && \
- ${LN} -s ${DATADIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} && \
- ${FIND} . ${FIND_JARS} | ${XARGS} -0 -J % ${INSTALL_DATA} % ${DATADIR} && \
- ${COPYTREE_SHARE} icons ${PREFIX}/share && \
- ${MKDIR} ${PREFIX}/share/mime/packages && \
- ${INSTALL_DATA} ${WRKSRC}/geogebra.xml ${PREFIX}/share/mime/packages && \
- ${INSTALL_DATA} ${WRKSRC}/geogebra.desktop ${DESKTOPDIR}
+ cd ${WRKSRC} && ${MKDIR} ${STAGEDIR}${DATADIR} && \
+ ${INSTALL_SCRIPT} ${WRKSRC}/geogebra ${STAGEDIR}${DATADIR} && \
+ ${LN} -s ${DATADIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} && \
+ ${FIND} . ${FIND_JARS} | ${XARGS} -0 -J % ${INSTALL_DATA} % ${STAGEDIR}${DATADIR} && \
+ ${COPYTREE_SHARE} icons ${STAGEDIR}${PREFIX}/share && \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages && \
+ ${INSTALL_DATA} ${WRKSRC}/geogebra.xml ${STAGEDIR}${PREFIX}/share/mime/packages && \
+ ${INSTALL_DATA} ${WRKSRC}/geogebra.desktop ${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>