- initial import of p5-XML-RSS-0.96
Based on a tarball by Shell Hung <i@shellhung.org> -- 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 commit is contained in:
parent
56413d0274
commit
49cf245415
44
textproc/p5-XML-RSS/Makefile
Normal file
44
textproc/p5-XML-RSS/Makefile
Normal file
@ -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 <i@shellhung.org>
|
||||
|
||||
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 <bsd.port.mk>
|
3
textproc/p5-XML-RSS/files/md5
Normal file
3
textproc/p5-XML-RSS/files/md5
Normal file
@ -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
|
@ -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;
|
11
textproc/p5-XML-RSS/patches/patch-examples_rss_info_pl
Normal file
11
textproc/p5-XML-RSS/patches/patch-examples_rss_info_pl
Normal file
@ -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;
|
||||
|
1
textproc/p5-XML-RSS/pkg/COMMENT
Normal file
1
textproc/p5-XML-RSS/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
perl module to manage XML RSS files
|
6
textproc/p5-XML-RSS/pkg/DESCR
Normal file
6
textproc/p5-XML-RSS/pkg/DESCR
Normal file
@ -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.
|
5
textproc/p5-XML-RSS/pkg/MESSAGE
Normal file
5
textproc/p5-XML-RSS/pkg/MESSAGE
Normal file
@ -0,0 +1,5 @@
|
||||
==============================================================
|
||||
Example files demonstrating the XML::RSS API have been
|
||||
installed in ${PREFIX}/share/examples/p5-XML-RSS
|
||||
==============================================================
|
||||
|
28
textproc/p5-XML-RSS/pkg/PLIST
Normal file
28
textproc/p5-XML-RSS/pkg/PLIST
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user