diff --git a/textproc/ocaml-rss/Makefile b/textproc/ocaml-rss/Makefile new file mode 100644 index 00000000000..2c91e676e0f --- /dev/null +++ b/textproc/ocaml-rss/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/05/23 23:04:53 avsm Exp $ + +COMMENT= "Objective Caml library to parse RSS 2.0" +CATEGORIES= textproc + +V= 0.3 +DISTNAME= ocamlrss_${V} +PKGNAME= ocaml-rss-${V} +MASTER_SITES= http://pauillac.inria.fr/~guesdon/Tools/Tars/ + +MAINTAINER= Anil Madhavapeddy +HOMEPAGE= http://www.nongnu.org/ocamlrss/ + +# LGPL +PERMIT_PACKAGE_FTP= Yes +PERMIT_PACKAGE_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes + +MODULES= lang/ocaml +WRKDIST= ${WRKDIR}/ocamlrss-${V} +NO_REGRESS= Yes +ALL_TARGET= all ${MODOCAML_NATIVE:S,Yes,opt,:S,No,,} +USE_GMAKE= Yes +CONFIGURE_STYLE= gnu +BUILD_DEPENDS= ::textproc/ocaml-xml-light + +.include diff --git a/textproc/ocaml-rss/distinfo b/textproc/ocaml-rss/distinfo new file mode 100644 index 00000000000..89e7a0773dd --- /dev/null +++ b/textproc/ocaml-rss/distinfo @@ -0,0 +1,4 @@ +MD5 (ocamlrss_0.3.tar.gz) = 0c1aea40226467f3533dc32ef0a48226 +RMD160 (ocamlrss_0.3.tar.gz) = 5f4ddcfb18c72f63fd2e4ad1dad65fcb677529ac +SHA1 (ocamlrss_0.3.tar.gz) = 0d356c57537a57f342bbe90c02fb0f14ebc262e3 +SIZE (ocamlrss_0.3.tar.gz) = 46722 diff --git a/textproc/ocaml-rss/pkg/DESCR b/textproc/ocaml-rss/pkg/DESCR new file mode 100644 index 00000000000..3c5929b9f6a --- /dev/null +++ b/textproc/ocaml-rss/pkg/DESCR @@ -0,0 +1,6 @@ +OCaml-RSS is a library to parse RSS 2.0 files (which are XML files) +and build a structure representing the document. Some functions +are also provided to print RSS documents from the structure. + +The parser tries also to parse some RDF files, but many fields of +these RDF files are not taken into account. diff --git a/textproc/ocaml-rss/pkg/PFRAG.native b/textproc/ocaml-rss/pkg/PFRAG.native new file mode 100644 index 00000000000..c606b976940 --- /dev/null +++ b/textproc/ocaml-rss/pkg/PFRAG.native @@ -0,0 +1,3 @@ +@comment $OpenBSD: PFRAG.native,v 1.1.1.1 2005/05/23 23:04:53 avsm Exp $ +lib/ocaml/rss.a +lib/ocaml/rss.cmxa diff --git a/textproc/ocaml-rss/pkg/PLIST b/textproc/ocaml-rss/pkg/PLIST new file mode 100644 index 00000000000..ba2fc9faf3a --- /dev/null +++ b/textproc/ocaml-rss/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/23 23:04:53 avsm Exp $ +lib/ocaml/ +lib/ocaml/rss.cma +lib/ocaml/rss.cmi +%%native%%