1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/math/jeuclid/Makefile
Wen Heping 59d588d429 - Update to 3.1.9
PR:		ports/147736
Submitted by:	Rob Farmer <rfarmer@predatorlabs.net> (maintainer)
2010-06-11 01:38:26 +00:00

39 lines
1.2 KiB
Makefile

# New ports collection makefile for: jeuclid
# Date created: 11 February 2010
# Whom: 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= rfarmer@predatorlabs.net
COMMENT= Java based MathML rendering solution
USE_JAVA= yes
JAVA_VERSION= 1.5+
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} ${DATADIR}/repo
(cd ${WRKSRC}/repo/ && ${COPYTREE_SHARE} \* ${DATADIR}/repo/)
${INSTALL_SCRIPT} ${WRKSRC}/bin/foprep ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/listfonts ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/mathviewer ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/bin/mml2xxx ${PREFIX}/bin
.include <bsd.port.mk>