From 49cf24541531ef388ab9fc22eede5510d66dc06b Mon Sep 17 00:00:00 2001 From: avsm Date: Wed, 21 Mar 2001 23:59:21 +0000 Subject: [PATCH] - initial import of p5-XML-RSS-0.96 Based on a tarball by Shell Hung -- This module was created to help those who need to manage RDF Site Summary (RSS) files, it makes quick work of creating, updating and saving RSS files. --- textproc/p5-XML-RSS/Makefile | 44 +++++++++++++++++++ textproc/p5-XML-RSS/files/md5 | 3 ++ .../patch-examples_1_0_update_rss_1_0_pl | 10 +++++ .../patches/patch-examples_rss_info_pl | 11 +++++ textproc/p5-XML-RSS/pkg/COMMENT | 1 + textproc/p5-XML-RSS/pkg/DESCR | 6 +++ textproc/p5-XML-RSS/pkg/MESSAGE | 5 +++ textproc/p5-XML-RSS/pkg/PLIST | 28 ++++++++++++ 8 files changed, 108 insertions(+) create mode 100644 textproc/p5-XML-RSS/Makefile create mode 100644 textproc/p5-XML-RSS/files/md5 create mode 100644 textproc/p5-XML-RSS/patches/patch-examples_1_0_update_rss_1_0_pl create mode 100644 textproc/p5-XML-RSS/patches/patch-examples_rss_info_pl create mode 100644 textproc/p5-XML-RSS/pkg/COMMENT create mode 100644 textproc/p5-XML-RSS/pkg/DESCR create mode 100644 textproc/p5-XML-RSS/pkg/MESSAGE create mode 100644 textproc/p5-XML-RSS/pkg/PLIST diff --git a/textproc/p5-XML-RSS/Makefile b/textproc/p5-XML-RSS/Makefile new file mode 100644 index 00000000000..d8e27237aa9 --- /dev/null +++ b/textproc/p5-XML-RSS/Makefile @@ -0,0 +1,44 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/03/21 23:59:21 avsm Exp $ + +DISTNAME= XML-RSS-0.96 +PKGNAME= p5-${DISTNAME} +CATEGORIES= textproc perl5 +NEED_VERSION= 1.361 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML + +MAINTAINER= Shell Hung + +PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl +BUILD_DEPENDS= ${PERL_MODULES}/${ARCH}-openbsd/XML/Parser.pm::textproc/p5-XML-Parser +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= perl + +# Install additional example files +EXAMPLE_LOC= ${PREFIX}/share/examples/p5-XML-RSS +EXAMPLE_PL= rss2html.pl update_rss.pl convert.pl rss_info.pl \ + create_rss_multiple.pl 1.0/create_rss_1.0.pl \ + 1.0/update_rss_1.0.pl 0.91/create_rss_0.91_full.pl \ + 0.91/create_rss_0.91.pl 0.9/create_rss.pl +EXAMPLE_DOC= 1.0/rss1.0.rdf 1.0/slash.rdf 0.91/fm.rdf 0.91/rss-0.91.dtd \ + 0.91/fm0.91_full.rdf 0.91/fm0.91.rdf 0.91/xmlnews.rdf \ + README 0.9/linuxtoday.rdf 0.9/rss-0.9.dtd 0.9/slashdot.rdf + +post-install: +.for i in 1.0 0.91 0.9 + ${INSTALL_DATA_DIR} ${EXAMPLE_LOC}/$i +.endfor +.for i in ${EXAMPLE_PL} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/$i ${EXAMPLE_LOC}/$i +.endfor +.for i in ${EXAMPLE_DOC} + ${INSTALL_DATA} ${WRKSRC}/examples/$i ${EXAMPLE_LOC}/$i +.endfor + +.include diff --git a/textproc/p5-XML-RSS/files/md5 b/textproc/p5-XML-RSS/files/md5 new file mode 100644 index 00000000000..0a81e687a4d --- /dev/null +++ b/textproc/p5-XML-RSS/files/md5 @@ -0,0 +1,3 @@ +MD5 (XML-RSS-0.96.tar.gz) = e54df95637492d4ddb39a35314da29cf +RMD160 (XML-RSS-0.96.tar.gz) = 16fd0aa5a581ce1b8bc852ade16325749e601045 +SHA1 (XML-RSS-0.96.tar.gz) = 887b013bf46c487f9f384316fc18368a7f982478 diff --git a/textproc/p5-XML-RSS/patches/patch-examples_1_0_update_rss_1_0_pl b/textproc/p5-XML-RSS/patches/patch-examples_1_0_update_rss_1_0_pl new file mode 100644 index 00000000000..e46df98f01e --- /dev/null +++ b/textproc/p5-XML-RSS/patches/patch-examples_1_0_update_rss_1_0_pl @@ -0,0 +1,10 @@ +$OpenBSD: patch-examples_1_0_update_rss_1_0_pl,v 1.1.1.1 2001/03/21 23:59:21 avsm Exp $ +--- examples/1.0/update_rss_1.0.pl.orig Wed Mar 21 23:18:06 2001 ++++ examples/1.0/update_rss_1.0.pl Wed Mar 21 23:18:12 2001 +@@ -29,5 +29,5 @@ $rss->channel(dc => { + ); + + # print the new rss file as a string. We could also save it +-to a file with the save() routine. ++# to a file with the save() routine. + print $rss->as_string; diff --git a/textproc/p5-XML-RSS/patches/patch-examples_rss_info_pl b/textproc/p5-XML-RSS/patches/patch-examples_rss_info_pl new file mode 100644 index 00000000000..e7112f3f627 --- /dev/null +++ b/textproc/p5-XML-RSS/patches/patch-examples_rss_info_pl @@ -0,0 +1,11 @@ +$OpenBSD: patch-examples_rss_info_pl,v 1.1.1.1 2001/03/21 23:59:21 avsm Exp $ +--- examples/rss_info.pl.orig Wed Mar 21 23:17:05 2001 ++++ examples/rss_info.pl Wed Mar 21 23:17:12 2001 +@@ -1,7 +1,6 @@ + #!/usr/bin/perl -w + # channel_info.pl + # print channel info +-use lib '.'; + use strict; + use XML::RSS; + diff --git a/textproc/p5-XML-RSS/pkg/COMMENT b/textproc/p5-XML-RSS/pkg/COMMENT new file mode 100644 index 00000000000..f9bee8cd72c --- /dev/null +++ b/textproc/p5-XML-RSS/pkg/COMMENT @@ -0,0 +1 @@ +perl module to manage XML RSS files diff --git a/textproc/p5-XML-RSS/pkg/DESCR b/textproc/p5-XML-RSS/pkg/DESCR new file mode 100644 index 00000000000..12cefe84595 --- /dev/null +++ b/textproc/p5-XML-RSS/pkg/DESCR @@ -0,0 +1,6 @@ +This module was created to help those who need to manage RDF Site +Summary (RSS) files, it makes quick work of creating, updating and +saving RSS files. + +This module currently supports the 0.9, 0.91, and 1.0 versions of +RSS. diff --git a/textproc/p5-XML-RSS/pkg/MESSAGE b/textproc/p5-XML-RSS/pkg/MESSAGE new file mode 100644 index 00000000000..358e87273b6 --- /dev/null +++ b/textproc/p5-XML-RSS/pkg/MESSAGE @@ -0,0 +1,5 @@ +============================================================== +Example files demonstrating the XML::RSS API have been +installed in ${PREFIX}/share/examples/p5-XML-RSS +============================================================== + diff --git a/textproc/p5-XML-RSS/pkg/PLIST b/textproc/p5-XML-RSS/pkg/PLIST new file mode 100644 index 00000000000..6759089765b --- /dev/null +++ b/textproc/p5-XML-RSS/pkg/PLIST @@ -0,0 +1,28 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/21 23:59:21 avsm Exp $ +libdata/perl5/site_perl/XML/RSS.pm +man/man3/XML::RSS.3p +share/examples/p5-XML-RSS/0.9/create_rss.pl +share/examples/p5-XML-RSS/0.9/linuxtoday.rdf +share/examples/p5-XML-RSS/0.9/rss-0.9.dtd +share/examples/p5-XML-RSS/0.9/slashdot.rdf +share/examples/p5-XML-RSS/0.91/create_rss_0.91.pl +share/examples/p5-XML-RSS/0.91/create_rss_0.91_full.pl +share/examples/p5-XML-RSS/0.91/fm.rdf +share/examples/p5-XML-RSS/0.91/fm0.91.rdf +share/examples/p5-XML-RSS/0.91/fm0.91_full.rdf +share/examples/p5-XML-RSS/0.91/rss-0.91.dtd +share/examples/p5-XML-RSS/0.91/xmlnews.rdf +share/examples/p5-XML-RSS/1.0/create_rss_1.0.pl +share/examples/p5-XML-RSS/1.0/rss1.0.rdf +share/examples/p5-XML-RSS/1.0/slash.rdf +share/examples/p5-XML-RSS/1.0/update_rss_1.0.pl +share/examples/p5-XML-RSS/README +share/examples/p5-XML-RSS/convert.pl +share/examples/p5-XML-RSS/create_rss_multiple.pl +share/examples/p5-XML-RSS/rss2html.pl +share/examples/p5-XML-RSS/rss_info.pl +share/examples/p5-XML-RSS/update_rss.pl +@dirrm share/examples/p5-XML-RSS/1.0 +@dirrm share/examples/p5-XML-RSS/0.91 +@dirrm share/examples/p5-XML-RSS/0.9 +@dirrm share/examples/p5-XML-RSS