2010-02-13 12:25:26 +01:00
|
|
|
PORTNAME= jeuclid
|
2010-06-11 03:38:26 +02:00
|
|
|
PORTVERSION= 3.1.9
|
2010-02-13 12:25:26 +01:00
|
|
|
CATEGORIES= math java
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/3.1.x/${PORTVERSION}/
|
|
|
|
EXTRACT_SUFX= -distribution.zip
|
|
|
|
|
2023-11-08 19:43:07 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2010-02-13 12:25:26 +01:00
|
|
|
COMMENT= Java based MathML rendering solution
|
2023-11-06 09:24:43 +01:00
|
|
|
WWW= https://jeuclid.sourceforge.net/
|
2010-02-13 12:25:26 +01:00
|
|
|
|
2014-05-27 20:32:18 +02:00
|
|
|
USES= zip
|
2010-02-13 12:25:26 +01:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_RUN= yes
|
2022-06-29 23:48:39 +02:00
|
|
|
NO_ARCH= yes
|
2010-02-13 12:25:26 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's|BASEDIR=`dirname $$0`/..|BASEDIR=${DATADIR}|g' ${WRKSRC}/bin/foprep
|
|
|
|
${REINPLACE_CMD} -e 's|BASEDIR=`dirname $$0`/..|BASEDIR=${DATADIR}|g' ${WRKSRC}/bin/listfonts
|
|
|
|
${REINPLACE_CMD} -e 's|BASEDIR=`dirname $$0`/..|BASEDIR=${DATADIR}|g' ${WRKSRC}/bin/mathviewer
|
|
|
|
${REINPLACE_CMD} -e 's|BASEDIR=`dirname $$0`/..|BASEDIR=${DATADIR}|g' ${WRKSRC}/bin/mml2xxx
|
|
|
|
|
|
|
|
do-install:
|
2014-02-26 08:39:56 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/repo
|
|
|
|
(cd ${WRKSRC}/repo/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/repo/)
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/foprep ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/listfonts ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/mathviewer ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/mml2xxx ${STAGEDIR}${PREFIX}/bin
|
2010-02-13 12:25:26 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|