From 3743c3378448d444dcba7fbfd51bacac9ddd7a26 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sun, 3 Aug 2014 15:28:55 +0000 Subject: [PATCH] - Update from 1.1 to 1.2.10 - Take maintainership - Add DOCS option --- textproc/xom/Makefile | 15 +++++---------- textproc/xom/distinfo | 4 ++-- 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 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