diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2004-10-26 15:45:51 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2004-10-26 15:45:51 +0000 |
commit | 48d709179a211ae30379ccf403da17545c821770 (patch) | |
tree | a173abbddfe58e5db77a57749e931d71c0989c4e /textproc/xom | |
parent | 10a0440daad7ef278829810b70bada9feee12bfa (diff) | |
download | ports-48d709179a211ae30379ccf403da17545c821770.tar.gz ports-48d709179a211ae30379ccf403da17545c821770.zip |
Notes
Diffstat (limited to 'textproc/xom')
-rw-r--r-- | textproc/xom/Makefile | 47 | ||||
-rw-r--r-- | textproc/xom/distinfo | 2 | ||||
-rw-r--r-- | textproc/xom/pkg-descr | 9 |
3 files changed, 58 insertions, 0 deletions
diff --git a/textproc/xom/Makefile b/textproc/xom/Makefile new file mode 100644 index 000000000000..b82a7f094d31 --- /dev/null +++ b/textproc/xom/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: xom +# Date created: 2004-10-26 +# Whom: Herve Quiroz <hq@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= xom +PORTVERSION= 1.0b6 +CATEGORIES= textproc java +MASTER_SITES= http://www.cafeconleche.org/XOM/ + +MAINTAINER= hq@FreeBSD.org +COMMENT= Open source (LGPL), tree-based API for processing XML with Java + +RUN_DEPENDS= ${JAVALIBDIR}/xml-apis.jar:${PORTSDIR}/textproc/xerces-j \ + ${JAVALIBDIR}/xalan.jar:${PORTSDIR}/textproc/xalan-j + +USE_JAVA= yes +JAVA_VERSION= 1.2+ +NO_BUILD= yes +WRKSRC= ${WRKDIR}/XOM + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar +.if !defined(NOPORTDOCS) +PORTDOCS= overview.html apidocs +PLIST_FILES+= %%EXAMPLESDIR%%/xom-samples.jar +.endif + +do-install: + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..." + @${MKDIR} ${JAVAJARDIR} + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_MSG} " [ DONE ]" +.if !defined(NOPORTDOCS) + @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..." + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/xom-samples.jar ${EXAMPLESDIR}/ + @${ECHO_MSG} " [ DONE ]" + @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." + @${MKDIR} ${DOCSDIR}/apidocs + @cd ${WRKSRC}/ && ${FIND} ${PORTDOCS} \ + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + @${ECHO_MSG} " [ DONE ]" +.endif + +.include <bsd.port.mk> diff --git a/textproc/xom/distinfo b/textproc/xom/distinfo new file mode 100644 index 000000000000..cdcc2d69e26c --- /dev/null +++ b/textproc/xom/distinfo @@ -0,0 +1,2 @@ +MD5 (xom-1.0b6.tar.gz) = 0729b77c3b728fa670ee5514b22ce461 +SIZE (xom-1.0b6.tar.gz) = 3520262 diff --git a/textproc/xom/pkg-descr b/textproc/xom/pkg-descr new file mode 100644 index 000000000000..71e5ad3e6548 --- /dev/null +++ b/textproc/xom/pkg-descr @@ -0,0 +1,9 @@ +XOM is a new XML object model. It is an open source (LGPL), tree-based API for +processing XML with Java that strives for correctness and simplicity. + +XOM is designed to be easy to learn and easy to use. It works very +straight-forwardly, and has a very shallow learning curve. Assuming you're +already familiar with XML, you should be able to get up and running with XOM +very quickly. + +WWW: http://www.cafeconleche.org/XOM/ |