# Created by: Kimura Fuyuki # $FreeBSD: head/textproc/dtd2relax/Makefile 409063 2016-02-17 19:12:11Z amdmi3 $ PORTNAME= dtd2relax PORTVERSION= 1.1.1 PORTREVISION= 2 CATEGORIES= textproc java MASTER_SITES= http://www.horobi.com/Projects/RELAX/Archive/ DISTNAME= ${PORTNAME:tu}_${PORTVERSION:S/./_/g} DISTFILES= ${JARFILE} ${DISTNAME}-src${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}-src${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= DTD to RELAX converter for Java USES= zip USE_JAVA= yes NO_BUILD= yes NO_ARCH= yes JARFILE= ${DISTNAME}-bin-XML4J.jar PLIST_FILES= ${JAVAJARDIR:S/${PREFIX}\///}/dtd2relax.jar PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} .include