# Created by: Kimura Fuyuki # $FreeBSD$ PORTNAME= jing PORTVERSION= 2015.11.27 CATEGORIES= textproc java MAINTAINER= gabor@FreeBSD.org COMMENT= RELAX NG validator in Java LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/copying.txt USE_GITHUB= yes GH_ACCOUNT= relaxng GH_PROJECT= jing-trang GH_TAGNAME= 1e74846 USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_BUILD= yes JAVA_RUN= yes OPTIONS_DEFINE= DOCS PORTDOCS= * SUB_FILES= jing.sh PLIST_FILES= bin/jing %%JAVAJARDIR%%/jing.jar do-build: (cd ${WRKSRC} && JAVA_HOME=${JAVA_HOME} ./ant) do-install: ${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${STAGEDIR}${PREFIX}/bin/jing ${INSTALL_DATA} ${WRKSRC}/build/jing.jar ${STAGEDIR}${JAVAJARDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include