summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2012-03-19 09:12:26 +0000
committermarkd <markd@pkgsrc.org>2012-03-19 09:12:26 +0000
commit8145a85ba5f8a9731321364a0aa7912ef4f83e78 (patch)
tree01a8271fe188d8b47a03ba2b13363fea8bf5313c /textproc
parent7263d6ac37eff0c7ccf5e5463f002c9a4357151e (diff)
downloadpkgsrc-8145a85ba5f8a9731321364a0aa7912ef4f83e78.tar.gz
Import raptor2 version 2.0.6
Version 2 of the Raptor RDF Syntax Library.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/raptor2/DESCR12
-rw-r--r--textproc/raptor2/Makefile28
-rw-r--r--textproc/raptor2/PLIST98
-rw-r--r--textproc/raptor2/buildlink3.mk17
-rw-r--r--textproc/raptor2/distinfo5
5 files changed, 160 insertions, 0 deletions
diff --git a/textproc/raptor2/DESCR b/textproc/raptor2/DESCR
new file mode 100644
index 00000000000..8a31fc5e84c
--- /dev/null
+++ b/textproc/raptor2/DESCR
@@ -0,0 +1,12 @@
+A Parser for the RDF/XML syntax as updated by the W3C RDF Core working group.
+
+ * Designed to integrate well with Redland
+ * Handles RDF/XML syntax updates for XML Base, xml:lang and RDF datatyping.
+ * Generates N-Triples supporting XML literals, language tagging and datatypes
+ * Parses content on the web if libcurl or libxml2 is available.
+ * Handles rdf:resource / resource attributes
+ * Uses expat and/or (GNOME) libxml XML parsers as available or required
+ * Optional features can be selected at run time.
+ * (Perl, Python, Java, Tcl, Ruby, PHP interfaces when used via Redland)
+ * No memory leaks
+ * Fast
diff --git a/textproc/raptor2/Makefile b/textproc/raptor2/Makefile
new file mode 100644
index 00000000000..a936235743b
--- /dev/null
+++ b/textproc/raptor2/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/03/19 09:12:26 markd Exp $
+#
+
+DISTNAME= raptor2-2.0.6
+CATEGORIES= textproc
+MASTER_SITES= http://download.librdf.org/source/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://librdf.org/raptor/
+COMMENT= RDF Parser Toolkit written in C
+LICENSE= gnu-lgpl-v2.1 OR apache-2.0
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+
+PKGCONFIG_OVERRIDE+= raptor2.pc.in
+CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
+
+TEST_TARGET= check
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/raptor2/PLIST b/textproc/raptor2/PLIST
new file mode 100644
index 00000000000..56d13f1afaf
--- /dev/null
+++ b/textproc/raptor2/PLIST
@@ -0,0 +1,98 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/19 09:12:26 markd Exp $
+bin/rapper
+include/raptor2/raptor.h
+include/raptor2/raptor2.h
+lib/libraptor2.la
+lib/pkgconfig/raptor2.pc
+man/man1/rapper.1
+man/man3/libraptor2.3
+share/doc/raptor2/home.png
+share/doc/raptor2/index.html
+share/doc/raptor2/index.sgml
+share/doc/raptor2/introduction.html
+share/doc/raptor2/ix01.html
+share/doc/raptor2/left.png
+share/doc/raptor2/parser-grddl.html
+share/doc/raptor2/parser-guess.html
+share/doc/raptor2/parser-json.html
+share/doc/raptor2/parser-ntriples.html
+share/doc/raptor2/parser-rdfa.html
+share/doc/raptor2/parser-rdfxml.html
+share/doc/raptor2/parser-rss-tag-soup.html
+share/doc/raptor2/parser-trig.html
+share/doc/raptor2/parser-turtle.html
+share/doc/raptor2/raptor-formats-types-by-parser.html
+share/doc/raptor2/raptor-formats-types-by-serializer.html
+share/doc/raptor2/raptor-formats-types-index.html
+share/doc/raptor2/raptor-formats.html
+share/doc/raptor2/raptor-parsers.html
+share/doc/raptor2/raptor-serializers.html
+share/doc/raptor2/raptor2-changes-1-4-21-to-2-0-0.html
+share/doc/raptor2/raptor2-changes-2-0-3-to-2-0-4.html
+share/doc/raptor2/raptor2-changes-2-0-4-to-2-0-5.html
+share/doc/raptor2/raptor2-changes-2-0-5-to-2-0-6.html
+share/doc/raptor2/raptor2-changes.html
+share/doc/raptor2/raptor2-section-avltree.html
+share/doc/raptor2/raptor2-section-constants.html
+share/doc/raptor2/raptor2-section-general.html
+share/doc/raptor2/raptor2-section-iostream.html
+share/doc/raptor2/raptor2-section-locator.html
+share/doc/raptor2/raptor2-section-memory.html
+share/doc/raptor2/raptor2-section-option.html
+share/doc/raptor2/raptor2-section-parser.html
+share/doc/raptor2/raptor2-section-sax2.html
+share/doc/raptor2/raptor2-section-sequence.html
+share/doc/raptor2/raptor2-section-serializer.html
+share/doc/raptor2/raptor2-section-stringbuffer.html
+share/doc/raptor2/raptor2-section-triples.html
+share/doc/raptor2/raptor2-section-unicode.html
+share/doc/raptor2/raptor2-section-uri.html
+share/doc/raptor2/raptor2-section-world.html
+share/doc/raptor2/raptor2-section-www.html
+share/doc/raptor2/raptor2-section-xml-namespace.html
+share/doc/raptor2/raptor2-section-xml-qname.html
+share/doc/raptor2/raptor2-section-xml.html
+share/doc/raptor2/raptor2.devhelp2
+share/doc/raptor2/reference-manual.html
+share/doc/raptor2/restrict-parser-network-access.html
+share/doc/raptor2/right.png
+share/doc/raptor2/serializer-atom.html
+share/doc/raptor2/serializer-dot.html
+share/doc/raptor2/serializer-json.html
+share/doc/raptor2/serializer-nquads.html
+share/doc/raptor2/serializer-ntriples.html
+share/doc/raptor2/serializer-rdfxml-abbrev.html
+share/doc/raptor2/serializer-rdfxml-xmp.html
+share/doc/raptor2/serializer-rdfxml.html
+share/doc/raptor2/serializer-rss-1-0.html
+share/doc/raptor2/serializer-turtle.html
+share/doc/raptor2/style.css
+share/doc/raptor2/tutorial-initialising-finishing.html
+share/doc/raptor2/tutorial-parse-strictness.html
+share/doc/raptor2/tutorial-parser-abort.html
+share/doc/raptor2/tutorial-parser-content.html
+share/doc/raptor2/tutorial-parser-create.html
+share/doc/raptor2/tutorial-parser-destroy.html
+share/doc/raptor2/tutorial-parser-example.html
+share/doc/raptor2/tutorial-parser-features.html
+share/doc/raptor2/tutorial-parser-runtime-info.html
+share/doc/raptor2/tutorial-parser-set-error-warning-handlers.html
+share/doc/raptor2/tutorial-parser-set-id-handler.html
+share/doc/raptor2/tutorial-parser-set-namespace-handler.html
+share/doc/raptor2/tutorial-parser-set-triple-handler.html
+share/doc/raptor2/tutorial-parser-static-info.html
+share/doc/raptor2/tutorial-parsing.html
+share/doc/raptor2/tutorial-querying-functionality.html
+share/doc/raptor2/tutorial-serializer-create.html
+share/doc/raptor2/tutorial-serializer-declare-namespace.html
+share/doc/raptor2/tutorial-serializer-destroy.html
+share/doc/raptor2/tutorial-serializer-example.html
+share/doc/raptor2/tutorial-serializer-features.html
+share/doc/raptor2/tutorial-serializer-get-triples.html
+share/doc/raptor2/tutorial-serializer-runtime-info.html
+share/doc/raptor2/tutorial-serializer-send-triples.html
+share/doc/raptor2/tutorial-serializer-set-error-warning-handlers.html
+share/doc/raptor2/tutorial-serializer-to-destination.html
+share/doc/raptor2/tutorial-serializing.html
+share/doc/raptor2/tutorial.html
+share/doc/raptor2/up.png
diff --git a/textproc/raptor2/buildlink3.mk b/textproc/raptor2/buildlink3.mk
new file mode 100644
index 00000000000..0aad4da8878
--- /dev/null
+++ b/textproc/raptor2/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2012/03/19 09:12:26 markd Exp $
+
+BUILDLINK_TREE+= raptor2
+
+.if !defined(RAPTOR2_BUILDLINK3_MK)
+RAPTOR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.raptor2?= raptor2>=2.0.6
+BUILDLINK_ABI_DEPENDS.raptor2+= raptor2>=2.0.6
+BUILDLINK_PKGSRCDIR.raptor2?= ../../wip/raptor2
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.endif # RAPTOR2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -raptor2
diff --git a/textproc/raptor2/distinfo b/textproc/raptor2/distinfo
new file mode 100644
index 00000000000..9374de56411
--- /dev/null
+++ b/textproc/raptor2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/03/19 09:12:26 markd Exp $
+
+SHA1 (raptor2-2.0.6.tar.gz) = 978f61579370914f22e162407539b8faa9891ed0
+RMD160 (raptor2-2.0.6.tar.gz) = c17ce938792a79802400a43a1c6ea3441ca02118
+Size (raptor2-2.0.6.tar.gz) = 1683963 bytes