summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-11-24 18:33:51 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-11-24 18:33:51 +0000
commit1238a1f3529238335998195d44b1f36ac51e9dc3 (patch)
treea67cc680b926c2233fa33b8ef6ffc913cbb53a4b
parentThe tarball has been rerolled (no security risc). (diff)
- Update to 2.7.0
* Support for JAXP 1.3 * New default error handling behavior * Support for XML 1.1 * Support for Alternative BSF Implementations * New serializer.jar - Do not ${MKDIR} ${JAVAJARDIR} as it has been part of mtree for 3 years now - Install documentation using ${FIND} | ${INSTALL_DATA} - Add SHA256 info
Notes
Notes: svn path=/head/; revision=149322
-rw-r--r--textproc/xalan-j/Makefile19
-rw-r--r--textproc/xalan-j/distinfo5
2 files changed, 13 insertions, 11 deletions
diff --git a/textproc/xalan-j/Makefile b/textproc/xalan-j/Makefile
index 02ab76e83f51..ab211b094f11 100644
--- a/textproc/xalan-j/Makefile
+++ b/textproc/xalan-j/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xalan-j
-PORTVERSION= 2.6.0
+PORTVERSION= 2.7.0
CATEGORIES= textproc java
MASTER_SITES= ${MASTER_SITE_APACHE_XML}
MASTER_SITE_SUBDIR= ${PORTNAME}/source
@@ -30,23 +30,24 @@ ALL_TARGET= jar
ALL_TARGET+= javadocs
PORTDOCS= apidocs design
.endif
-JARFILE= xalan.jar
-PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} bin/xalan-j
+JARFILES= xalan.jar serializer.jar
+PLIST_FILES= ${JARFILES:S|^|%%JAVAJARDIR%%/|} bin/xalan-j
SUB_FILES= xalan-j.sh
.include <bsd.port.pre.mk>
do-install:
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
- @${MKDIR} ${JAVAJARDIR}
- @${INSTALL_DATA} ${WRKSRC}/build/${JARFILE} ${JAVAJARDIR}/
+ @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
+.for jarfile in ${JARFILES}
+ @${INSTALL_DATA} ${WRKSRC}/build/${jarfile} ${JAVAJARDIR}/
+ @${ECHO_MSG} -n " ${jarfile}"
+.endfor
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC}/build/docs && ${FIND} ${PORTDOCS} \
- | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
+ @cd ${WRKSRC}/build/docs && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
+ @cd ${WRKSRC}/build/docs && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.endif
@${ECHO_MSG} -n ">> Installing script in ${PREFIX}/bin/..."
diff --git a/textproc/xalan-j/distinfo b/textproc/xalan-j/distinfo
index 27224bad89bb..07f593bb2276 100644
--- a/textproc/xalan-j/distinfo
+++ b/textproc/xalan-j/distinfo
@@ -1,2 +1,3 @@
-MD5 (xalan-j_2_6_0-src.tar.gz) = a210f7108e680ab60a11977ec99ab1f9
-SIZE (xalan-j_2_6_0-src.tar.gz) = 5875008
+MD5 (xalan-j_2_7_0-src.tar.gz) = 7859a78a5564cae42c933adcbbecdd01
+SHA256 (xalan-j_2_7_0-src.tar.gz) = 210843fb672b0c44138797d9d11b61c2f538b89400ce8be1f230cd666f70bb02
+SIZE (xalan-j_2_7_0-src.tar.gz) = 6264659