1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/math/jeuclid/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

35 lines
1.1 KiB
Makefile

# Created by: rfarmer@predatorlabs.net
# $FreeBSD$
PORTNAME= jeuclid
PORTVERSION= 3.1.9
CATEGORIES= math java
MASTER_SITES= SF/${PORTNAME}/3.1.x/${PORTVERSION}/
EXTRACT_SUFX= -distribution.zip
MAINTAINER= makc@FreeBSD.org
COMMENT= Java based MathML rendering solution
USES= zip
USE_JAVA= yes
JAVA_RUN= yes
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:
${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
.include <bsd.port.mk>