- Update from 1.1 to 1.2.10

- Take maintainership
- Add DOCS option
This commit is contained in:
Danilo Egea Gondolfo 2014-08-03 15:28:55 +00:00
parent 2ddd2dd959
commit 3743c33784
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363913
2 changed files with 7 additions and 12 deletions

View file

@ -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>

View file

@ -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