From 200b9a17a40593cfcdd77ad64ceceac04737ecc9 Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Sat, 5 Feb 2005 03:09:48 +0000 Subject: - Update to java.bsd.mk 2.0 - Add 'java' category - CP -> INSTALL_DATA --- textproc/jing/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/textproc/jing/Makefile b/textproc/jing/Makefile index 93e4960a1b22..928f72aa265b 100644 --- a/textproc/jing/Makefile +++ b/textproc/jing/Makefile @@ -7,7 +7,7 @@ PORTNAME= jing PORTVERSION= 2003.06.19 -CATEGORIES= textproc +CATEGORIES= textproc java MASTER_SITES= http://www.thaiopensource.com/download/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} @@ -15,11 +15,10 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A RELAX NG validator in Java USE_ZIP= yes -USE_JAVA= 1.4+ +USE_JAVA= yes +JAVA_VERSION= 1.4+ NO_BUILD= yes -NO_BUILD_DEPENDS_JAVA= yes - .if !defined(NOPORTDOCS) PORTDOCS= * .endif @@ -29,9 +28,12 @@ do-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc ${DOCSDIR} - ${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/sample/* ${EXAMPLESDIR} + 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 -- cgit v1.2.3