summaryrefslogtreecommitdiff
path: root/textproc/jdom
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-10-19 11:07:34 +0000
committerrillig <rillig@pkgsrc.org>2007-10-19 11:07:34 +0000
commit33c33e20c343f1514bf6e650798b5402d537e8eb (patch)
tree6240e5ecf06656df5a3cac48c5eaeae090a1843a /textproc/jdom
parentbef497db6fd407ae88f5a197da7a73c1afb6947b (diff)
downloadpkgsrc-33c33e20c343f1514bf6e650798b5402d537e8eb.tar.gz
Imported jdom.
There is no compelling reason for a Java API to manipulate XML to be complex, tricky, unintuitive, or a pain in the neck. JDOM[TM] is both Java-centric and Java-optimized. It behaves like Java, it uses Java collections, it is completely natural API for current Java developers, and it provides a low-cost entry point for using XML. While JDOM interoperates well with existing standards such as the Simple API for XML (SAX) and the Document Object Model (DOM), it is not an abstraction layer or enhancement to those APIs. Rather, it provides a robust, light-weight means of reading and writing XML data without the complex and memory-consumptive options that current API offerings provide.
Diffstat (limited to 'textproc/jdom')
-rw-r--r--textproc/jdom/DESCR12
-rw-r--r--textproc/jdom/Makefile25
-rw-r--r--textproc/jdom/PLIST167
-rw-r--r--textproc/jdom/distinfo5
4 files changed, 209 insertions, 0 deletions
diff --git a/textproc/jdom/DESCR b/textproc/jdom/DESCR
new file mode 100644
index 00000000000..107167afb2f
--- /dev/null
+++ b/textproc/jdom/DESCR
@@ -0,0 +1,12 @@
+There is no compelling reason for a Java API to manipulate XML to be
+complex, tricky, unintuitive, or a pain in the neck. JDOM[TM] is both
+Java-centric and Java-optimized. It behaves like Java, it uses Java
+collections, it is completely natural API for current Java developers,
+and it provides a low-cost entry point for using XML.
+
+While JDOM interoperates well with existing standards such as the Simple
+API for XML (SAX) and the Document Object Model (DOM), it is not an
+abstraction layer or enhancement to those APIs. Rather, it provides a
+robust, light-weight means of reading and writing XML data without the
+complex and memory-consumptive options that current API offerings
+provide.
diff --git a/textproc/jdom/Makefile b/textproc/jdom/Makefile
new file mode 100644
index 00000000000..63a289b2367
--- /dev/null
+++ b/textproc/jdom/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/10/19 11:07:34 rillig Exp $
+#
+
+DISTNAME= jdom-1.0
+CATEGORIES= textproc
+MASTER_SITES= http://www.jdom.org/dist/binary/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= rillig@NetBSD.org
+HOMEPAGE= http://www.jdom.org/
+COMMENT= Simple API for processing XML documents in Java
+
+BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip
+
+USE_LANGUAGES= # only Java
+INSTALLATION_DIRS_FROM_PLIST= yes
+
+do-build:
+ cd ${WRKSRC}/src/java && ${LOCALBASE}/bin/zip -r ${WRKSRC}/jdom-src.zip org
+
+do-install:
+ cd ${WRKSRC} && ${INSTALL_DATA} build/jdom.jar jdom-src.zip ${DESTDIR}${PREFIX}/lib/java/
+ cd ${WRKSRC}/build/apidocs && pax -wr * ${DESTDIR}${PREFIX}/share/doc/jdom/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/jdom/PLIST b/textproc/jdom/PLIST
new file mode 100644
index 00000000000..4dd32a1ed8d
--- /dev/null
+++ b/textproc/jdom/PLIST
@@ -0,0 +1,167 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/19 11:07:34 rillig Exp $
+lib/java/jdom-src.zip
+lib/java/jdom.jar
+share/doc/jdom/allclasses-frame.html
+share/doc/jdom/deprecated-list.html
+share/doc/jdom/help-doc.html
+share/doc/jdom/index-files/index-1.html
+share/doc/jdom/index-files/index-10.html
+share/doc/jdom/index-files/index-11.html
+share/doc/jdom/index-files/index-12.html
+share/doc/jdom/index-files/index-13.html
+share/doc/jdom/index-files/index-14.html
+share/doc/jdom/index-files/index-15.html
+share/doc/jdom/index-files/index-16.html
+share/doc/jdom/index-files/index-17.html
+share/doc/jdom/index-files/index-18.html
+share/doc/jdom/index-files/index-19.html
+share/doc/jdom/index-files/index-2.html
+share/doc/jdom/index-files/index-20.html
+share/doc/jdom/index-files/index-21.html
+share/doc/jdom/index-files/index-3.html
+share/doc/jdom/index-files/index-4.html
+share/doc/jdom/index-files/index-5.html
+share/doc/jdom/index-files/index-6.html
+share/doc/jdom/index-files/index-7.html
+share/doc/jdom/index-files/index-8.html
+share/doc/jdom/index-files/index-9.html
+share/doc/jdom/index.html
+share/doc/jdom/org/jdom/Attribute.html
+share/doc/jdom/org/jdom/CDATA.html
+share/doc/jdom/org/jdom/Comment.html
+share/doc/jdom/org/jdom/Content.html
+share/doc/jdom/org/jdom/DataConversionException.html
+share/doc/jdom/org/jdom/DefaultJDOMFactory.html
+share/doc/jdom/org/jdom/DocType.html
+share/doc/jdom/org/jdom/Document.html
+share/doc/jdom/org/jdom/Element.html
+share/doc/jdom/org/jdom/EntityRef.html
+share/doc/jdom/org/jdom/IllegalAddException.html
+share/doc/jdom/org/jdom/IllegalDataException.html
+share/doc/jdom/org/jdom/IllegalNameException.html
+share/doc/jdom/org/jdom/IllegalTargetException.html
+share/doc/jdom/org/jdom/JDOMException.html
+share/doc/jdom/org/jdom/JDOMFactory.html
+share/doc/jdom/org/jdom/Namespace.html
+share/doc/jdom/org/jdom/Parent.html
+share/doc/jdom/org/jdom/ProcessingInstruction.html
+share/doc/jdom/org/jdom/Text.html
+share/doc/jdom/org/jdom/UncheckedJDOMFactory.html
+share/doc/jdom/org/jdom/Verifier.html
+share/doc/jdom/org/jdom/adapters/AbstractDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/CrimsonDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/DOMAdapter.html
+share/doc/jdom/org/jdom/adapters/JAXPDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/OracleV1DOMAdapter.html
+share/doc/jdom/org/jdom/adapters/OracleV2DOMAdapter.html
+share/doc/jdom/org/jdom/adapters/XML4JDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/XercesDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/class-use/AbstractDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/class-use/CrimsonDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/class-use/DOMAdapter.html
+share/doc/jdom/org/jdom/adapters/class-use/JAXPDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/class-use/OracleV1DOMAdapter.html
+share/doc/jdom/org/jdom/adapters/class-use/OracleV2DOMAdapter.html
+share/doc/jdom/org/jdom/adapters/class-use/XML4JDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/class-use/XercesDOMAdapter.html
+share/doc/jdom/org/jdom/adapters/package-frame.html
+share/doc/jdom/org/jdom/adapters/package-summary.html
+share/doc/jdom/org/jdom/adapters/package-tree.html
+share/doc/jdom/org/jdom/adapters/package-use.html
+share/doc/jdom/org/jdom/class-use/Attribute.html
+share/doc/jdom/org/jdom/class-use/CDATA.html
+share/doc/jdom/org/jdom/class-use/Comment.html
+share/doc/jdom/org/jdom/class-use/Content.html
+share/doc/jdom/org/jdom/class-use/DataConversionException.html
+share/doc/jdom/org/jdom/class-use/DefaultJDOMFactory.html
+share/doc/jdom/org/jdom/class-use/DocType.html
+share/doc/jdom/org/jdom/class-use/Document.html
+share/doc/jdom/org/jdom/class-use/Element.html
+share/doc/jdom/org/jdom/class-use/EntityRef.html
+share/doc/jdom/org/jdom/class-use/IllegalAddException.html
+share/doc/jdom/org/jdom/class-use/IllegalDataException.html
+share/doc/jdom/org/jdom/class-use/IllegalNameException.html
+share/doc/jdom/org/jdom/class-use/IllegalTargetException.html
+share/doc/jdom/org/jdom/class-use/JDOMException.html
+share/doc/jdom/org/jdom/class-use/JDOMFactory.html
+share/doc/jdom/org/jdom/class-use/Namespace.html
+share/doc/jdom/org/jdom/class-use/Parent.html
+share/doc/jdom/org/jdom/class-use/ProcessingInstruction.html
+share/doc/jdom/org/jdom/class-use/Text.html
+share/doc/jdom/org/jdom/class-use/UncheckedJDOMFactory.html
+share/doc/jdom/org/jdom/class-use/Verifier.html
+share/doc/jdom/org/jdom/filter/AbstractFilter.html
+share/doc/jdom/org/jdom/filter/ContentFilter.html
+share/doc/jdom/org/jdom/filter/ElementFilter.html
+share/doc/jdom/org/jdom/filter/Filter.html
+share/doc/jdom/org/jdom/filter/class-use/AbstractFilter.html
+share/doc/jdom/org/jdom/filter/class-use/ContentFilter.html
+share/doc/jdom/org/jdom/filter/class-use/ElementFilter.html
+share/doc/jdom/org/jdom/filter/class-use/Filter.html
+share/doc/jdom/org/jdom/filter/package-frame.html
+share/doc/jdom/org/jdom/filter/package-summary.html
+share/doc/jdom/org/jdom/filter/package-tree.html
+share/doc/jdom/org/jdom/filter/package-use.html
+share/doc/jdom/org/jdom/input/BuilderErrorHandler.html
+share/doc/jdom/org/jdom/input/DOMBuilder.html
+share/doc/jdom/org/jdom/input/JDOMParseException.html
+share/doc/jdom/org/jdom/input/SAXBuilder.html
+share/doc/jdom/org/jdom/input/SAXHandler.html
+share/doc/jdom/org/jdom/input/class-use/BuilderErrorHandler.html
+share/doc/jdom/org/jdom/input/class-use/DOMBuilder.html
+share/doc/jdom/org/jdom/input/class-use/JDOMParseException.html
+share/doc/jdom/org/jdom/input/class-use/SAXBuilder.html
+share/doc/jdom/org/jdom/input/class-use/SAXHandler.html
+share/doc/jdom/org/jdom/input/package-frame.html
+share/doc/jdom/org/jdom/input/package-summary.html
+share/doc/jdom/org/jdom/input/package-tree.html
+share/doc/jdom/org/jdom/input/package-use.html
+share/doc/jdom/org/jdom/output/DOMOutputter.html
+share/doc/jdom/org/jdom/output/EscapeStrategy.html
+share/doc/jdom/org/jdom/output/Format.TextMode.html
+share/doc/jdom/org/jdom/output/Format.html
+share/doc/jdom/org/jdom/output/JDOMLocator.html
+share/doc/jdom/org/jdom/output/SAXOutputter.html
+share/doc/jdom/org/jdom/output/XMLOutputter.NamespaceStack.html
+share/doc/jdom/org/jdom/output/XMLOutputter.html
+share/doc/jdom/org/jdom/output/class-use/DOMOutputter.html
+share/doc/jdom/org/jdom/output/class-use/EscapeStrategy.html
+share/doc/jdom/org/jdom/output/class-use/Format.TextMode.html
+share/doc/jdom/org/jdom/output/class-use/Format.html
+share/doc/jdom/org/jdom/output/class-use/JDOMLocator.html
+share/doc/jdom/org/jdom/output/class-use/SAXOutputter.html
+share/doc/jdom/org/jdom/output/class-use/XMLOutputter.NamespaceStack.html
+share/doc/jdom/org/jdom/output/class-use/XMLOutputter.html
+share/doc/jdom/org/jdom/output/package-frame.html
+share/doc/jdom/org/jdom/output/package-summary.html
+share/doc/jdom/org/jdom/output/package-tree.html
+share/doc/jdom/org/jdom/output/package-use.html
+share/doc/jdom/org/jdom/package-frame.html
+share/doc/jdom/org/jdom/package-summary.html
+share/doc/jdom/org/jdom/package-tree.html
+share/doc/jdom/org/jdom/package-use.html
+share/doc/jdom/org/jdom/transform/JDOMResult.html
+share/doc/jdom/org/jdom/transform/JDOMSource.html
+share/doc/jdom/org/jdom/transform/XSLTransformException.html
+share/doc/jdom/org/jdom/transform/XSLTransformer.html
+share/doc/jdom/org/jdom/transform/class-use/JDOMResult.html
+share/doc/jdom/org/jdom/transform/class-use/JDOMSource.html
+share/doc/jdom/org/jdom/transform/class-use/XSLTransformException.html
+share/doc/jdom/org/jdom/transform/class-use/XSLTransformer.html
+share/doc/jdom/org/jdom/transform/package-frame.html
+share/doc/jdom/org/jdom/transform/package-summary.html
+share/doc/jdom/org/jdom/transform/package-tree.html
+share/doc/jdom/org/jdom/transform/package-use.html
+share/doc/jdom/org/jdom/xpath/XPath.html
+share/doc/jdom/org/jdom/xpath/class-use/XPath.html
+share/doc/jdom/org/jdom/xpath/package-frame.html
+share/doc/jdom/org/jdom/xpath/package-summary.html
+share/doc/jdom/org/jdom/xpath/package-tree.html
+share/doc/jdom/org/jdom/xpath/package-use.html
+share/doc/jdom/overview-frame.html
+share/doc/jdom/overview-summary.html
+share/doc/jdom/overview-tree.html
+share/doc/jdom/package-list
+share/doc/jdom/packages.html
+share/doc/jdom/serialized-form.html
+share/doc/jdom/stylesheet.css
diff --git a/textproc/jdom/distinfo b/textproc/jdom/distinfo
new file mode 100644
index 00000000000..558c0225c53
--- /dev/null
+++ b/textproc/jdom/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/10/19 11:07:34 rillig Exp $
+
+SHA1 (jdom-1.0.zip) = 7cc98b9fc4b6f38556aff4ded1b4d73c09772ca2
+RMD160 (jdom-1.0.zip) = 97953154092503bff0b8871c9f9b3aa5f0d22618
+Size (jdom-1.0.zip) = 3912599 bytes