# Created by: Thierry Thomas # $FreeBSD: head/math/jts/Makefile 414035 2016-04-26 03:30:02Z vanilla $ PORTNAME= jts PORTVERSION= 1.14 CATEGORIES= math databases MASTER_SITES= SF/${PORTNAME}-topo-suite/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= JTS Topology Suite RUN_DEPENDS= ${JAVALIBDIR}/jdom.jar:java/jdom \ ${JAVALIBDIR}/junit.jar:java/junit \ ${JAVALIBDIR}/xml-apis.jar:textproc/xerces-j USES= zip NO_BUILD= yes NO_ARCH= yes USE_JAVA= yes NO_WRKSUBDIR= yes VER= ${PORTVERSION:tl} JARFILES= JTS_Test jts-${VER} jtsio-${VER} OPTIONS_DEFINE= DOCS do-install: .for jar in ${JARFILES} ${INSTALL_DATA} ${WRKSRC}/lib/${jar}.jar \ ${STAGEDIR}${JAVAJARDIR}/${jar:S|-${VER}||}.jar .endfor do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .if defined(MAINTAINER_MODE) regression-test: install ${SED} -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|; \ s|%%JAVALIBDIR%%|${JAVALIBDIR}|;\ s|%%JAVA%%|${JAVA}|' \ ${FILESDIR}/testJTS.sh.in > ${WRKSRC}/testJTS.sh (cd ${WRKSRC} && ${SH} ./testJTS.sh ) .endif .include