aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-10-31 17:47:09 +0800
committerfoxfair <foxfair@FreeBSD.org>2003-10-31 17:47:09 +0800
commit3d441c2a32bf38fe366c6989285485e18aab7db3 (patch)
treeeaca94c7a993977a58f841b827fdf5c33c6a086d /textproc
parent9d8d5cde4d4f33ec91ded5f84ad36e7bdafb6a04 (diff)
downloadfreebsd-ports-gnome-3d441c2a32bf38fe366c6989285485e18aab7db3.tar.gz
freebsd-ports-gnome-3d441c2a32bf38fe366c6989285485e18aab7db3.tar.zst
freebsd-ports-gnome-3d441c2a32bf38fe366c6989285485e18aab7db3.zip
Add p5-XML-RSS-JavaScript, it is a perl extension to serialize your RSS as
JavaScript
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-XML-RSS-JavaScript/Makefile24
-rw-r--r--textproc/p5-XML-RSS-JavaScript/distinfo1
-rw-r--r--textproc/p5-XML-RSS-JavaScript/pkg-descr17
-rw-r--r--textproc/p5-XML-RSS-JavaScript/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 44641de62990..47e16ca0cf37 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -311,6 +311,7 @@
SUBDIR += p5-XML-Parser-EasyTree
SUBDIR += p5-XML-Quote
SUBDIR += p5-XML-RSS
+ SUBDIR += p5-XML-RSS-JavaScript
SUBDIR += p5-XML-RSS-Parser
SUBDIR += p5-XML-RegExp
SUBDIR += p5-XML-SAX
diff --git a/textproc/p5-XML-RSS-JavaScript/Makefile b/textproc/p5-XML-RSS-JavaScript/Makefile
new file mode 100644
index 000000000000..64795325ab22
--- /dev/null
+++ b/textproc/p5-XML-RSS-JavaScript/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-XML-RSS-JavaScript
+# Date created: 31 Oct 2003
+# Whom: Foxfair Hu <foxfair@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= XML-RSS-JavaScript
+PORTVERSION= 0.3
+CATEGORIES= textproc www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= XML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Perl extension to serialize your RSS as JavaScript
+
+BUILD_DEPENDS= ${SITE_PERL}/XML/RSS.pm:${PORTSDIR}/textproc/p5-XML-RSS
+
+PERL_CONFIGURE= yes
+
+MAN3= XML::RSS::JavaScript.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-XML-RSS-JavaScript/distinfo b/textproc/p5-XML-RSS-JavaScript/distinfo
new file mode 100644
index 000000000000..511e4bda5790
--- /dev/null
+++ b/textproc/p5-XML-RSS-JavaScript/distinfo
@@ -0,0 +1 @@
+MD5 (XML-RSS-JavaScript-0.3.tar.gz) = aade78e577880b34578ac26e7269ddec
diff --git a/textproc/p5-XML-RSS-JavaScript/pkg-descr b/textproc/p5-XML-RSS-JavaScript/pkg-descr
new file mode 100644
index 000000000000..521f386a112f
--- /dev/null
+++ b/textproc/p5-XML-RSS-JavaScript/pkg-descr
@@ -0,0 +1,17 @@
+Serialize your RSS as JavaScript.
+
+Perhaps you use XML::RSS to generate RSS for consumption by RSS parsers.
+Perhaps you also get requests for how to use the RSS feed by people who
+have no idea how to parse XML, or write Perl programs for that matter.
+
+Enter XML::RSS::JavaScript, a simle subclass of XML::RSS which writes your
+RSS feed as a sequence of JavaScript print statements. This means you
+can then write the JavaScript to disk, and a users HTML can simple
+include it like so:
+
+ <script language="JavaScript" src="/myfeed.js"></script>
+
+What's more the javascript emits HTML that can be fully styled with
+CSS. See the CSS examples included with the distribution in the css directory.
+
+WWW: http://search.cpan.org/perldoc?XML::RSS::JavaScript
diff --git a/textproc/p5-XML-RSS-JavaScript/pkg-plist b/textproc/p5-XML-RSS-JavaScript/pkg-plist
new file mode 100644
index 000000000000..0dccc3b0c9be
--- /dev/null
+++ b/textproc/p5-XML-RSS-JavaScript/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/RSS/JavaScript/.packlist
+%%SITE_PERL%%/XML/RSS/JavaScript.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/RSS/JavaScript
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/RSS 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML/RSS 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/XML 2>/dev/null || true