# New ports collection makefile for: jing # Date created: 3 February 2002 # Whom: Kimura Fuyuki # # $FreeBSD$ # PORTNAME= jing PORTVERSION= 2003.06.19 PORTREVISION= 2 CATEGORIES= textproc java MASTER_SITES= http://www.thaiopensource.com/download/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} MAINTAINER= ports@FreeBSD.org COMMENT= A RELAX NG validator in Java USE_ZIP= yes USE_JAVA= yes JAVA_VERSION= 1.4+ NO_BUILD= yes .if !defined(NOPORTDOCS) PORTDOCS= * .endif do-install: ${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${JAVAJARDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR} cd ${WRKSRC}/doc \ && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; cd ${WRKSRC}/sample \ && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \ && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \; .endif .include