2005-09-23 23:27:01 +02:00
|
|
|
# New ports collection makefile for: geogebra-i18n
|
|
|
|
# Date created: 2005-08-26
|
|
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= geogebra-i18n
|
|
|
|
PORTVERSION= 2.6b
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 3
|
2005-09-23 23:27:01 +02:00
|
|
|
CATEGORIES= math java
|
2005-12-17 21:25:25 +01:00
|
|
|
MASTER_SITES= http://www.geogebra.at/download/InstData/Java/ \
|
|
|
|
http://nivi.interfree.it/distfiles/${DIST_SUBDIR}/
|
2005-09-23 23:27:01 +02:00
|
|
|
DISTNAME= geogebra_setup
|
|
|
|
EXTRACT_SUFX= .jar
|
2005-12-17 21:25:25 +01:00
|
|
|
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
2005-09-23 23:27:01 +02:00
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2005-09-23 23:27:01 +02:00
|
|
|
COMMENT= A dynamic software that joins geometry, algebra and calculus
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
|
|
|
USE_ZIP= yes
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
JAVA_VERSION= 1.4+
|
|
|
|
SUB_FILES= ${PORTNAME:S/-i18n$//}
|
|
|
|
|
|
|
|
FIND_DOCS= -type f \! \( -name *.txt -or -name *.jar \)
|
|
|
|
FIND_ICONS= -type f -name "*.gif" -maxdepth 1
|
|
|
|
|
|
|
|
SOURCES_DIR= ${WRKSRC}/D_/deploy/source
|
|
|
|
JARFILE= ${PORTNAME:S/-i18n$//}.jar
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${SUB_FILES} ${PREFIX}/bin/${SUB_FILES}
|
|
|
|
cd ${SOURCES_DIR} && ${MKDIR} ${DATADIR} && ${INSTALL_DATA} ${JARFILE} ${DATADIR};
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
${MKDIR} ${DOCSDIR};
|
|
|
|
cd ${SOURCES_DIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
|
|
|
|
cd ${SOURCES_DIR} && ${FIND} . ${FIND_DOCS} -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
|
|
.endif
|
|
|
|
cd ${SOURCES_DIR}/.. && ${FIND} . ${FIND_ICONS} -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|