aboutsummaryrefslogtreecommitdiff
path: root/textproc/jing
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-02-05 03:09:48 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-02-05 03:09:48 +0000
commit200b9a17a40593cfcdd77ad64ceceac04737ecc9 (patch)
tree35dd883047bba8e7ee8ebec56ca11881e0a61934 /textproc/jing
parentdf21202df6f7136a479c4d0ca4a71a7046a11d50 (diff)
downloadports-200b9a17a40593cfcdd77ad64ceceac04737ecc9.tar.gz
ports-200b9a17a40593cfcdd77ad64ceceac04737ecc9.zip
Notes
Diffstat (limited to 'textproc/jing')
-rw-r--r--textproc/jing/Makefile16
1 files 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 <bsd.port.mk>