aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/xom/Makefile15
-rw-r--r--textproc/xom/distinfo4
2 files changed, 7 insertions, 12 deletions
diff --git a/textproc/xom/Makefile b/textproc/xom/Makefile
index dd3c0d220483..ac3c62508bb9 100644
--- a/textproc/xom/Makefile
+++ b/textproc/xom/Makefile
@@ -2,13 +2,12 @@
# $FreeBSD$
PORTNAME= xom
-PORTVERSION= 1.1
-PORTREVISION= 2
+PORTVERSION= 1.2.10
PORTEPOCH= 1
CATEGORIES= textproc java
MASTER_SITES= http://www.cafeconleche.org/XOM/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danilo@FreeBSD.org
COMMENT= Open source (LGPL), tree-based API for processing XML with Java
RUN_DEPENDS= ${JAVALIBDIR}/xml-apis.jar:${PORTSDIR}/textproc/xerces-j \
@@ -19,23 +18,19 @@ JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/XOM
+OPTIONS_DEFINE= DOCS
+
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= overview.html apidocs
PORTEXAMPLES= xom-samples.jar
do-install:
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
- @${ECHO_MSG} " [ DONE ]"
- @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/xom-samples.jar ${STAGEDIR}${EXAMPLESDIR}/
- @${ECHO_MSG} " [ DONE ]"
- @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
+ ${INSTALL_DATA} ${WRKSRC}/xom-samples.jar ${STAGEDIR}${EXAMPLESDIR}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs
cd ${WRKSRC}/ && ${FIND} ${PORTDOCS} \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
- @${ECHO_MSG} " [ DONE ]"
.include <bsd.port.mk>
diff --git a/textproc/xom/distinfo b/textproc/xom/distinfo
index 76a1218a4c06..7add4daeda5f 100644
--- a/textproc/xom/distinfo
+++ b/textproc/xom/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xom-1.1.tar.gz) = e492e8f7e657439bfdbaa54ad70e8fa18fb138de6d5b830cdf4d5651bae1ec84
-SIZE (xom-1.1.tar.gz) = 6198470
+SHA256 (xom-1.2.10.tar.gz) = d8d58d26cba76f6f9e1a65ab537f759f662d1f4441e9a94b6687e23fdb76f879
+SIZE (xom-1.2.10.tar.gz) = 11717279