From e02bab0889913f9b41d973aab74d6aa223d87632 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Tue, 9 Oct 2001 18:55:53 +0000 Subject: Add p5-Data-JavaScript, a perl module to dump perl structures to JavaScript code. --- lang/Makefile | 1 + lang/p5-Data-JavaScript/Makefile | 22 ++++++++++++++++++++++ lang/p5-Data-JavaScript/distinfo | 1 + lang/p5-Data-JavaScript/pkg-comment | 1 + lang/p5-Data-JavaScript/pkg-descr | 12 ++++++++++++ lang/p5-Data-JavaScript/pkg-plist | 6 ++++++ 6 files changed, 43 insertions(+) create mode 100644 lang/p5-Data-JavaScript/Makefile create mode 100644 lang/p5-Data-JavaScript/distinfo create mode 100644 lang/p5-Data-JavaScript/pkg-comment create mode 100644 lang/p5-Data-JavaScript/pkg-descr create mode 100644 lang/p5-Data-JavaScript/pkg-plist (limited to 'lang') diff --git a/lang/Makefile b/lang/Makefile index 36b7a4ea107b..e84323aa0a17 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -93,6 +93,7 @@ SUBDIR += oo2c SUBDIR += otcl SUBDIR += p2c + SUBDIR += p5-Data-JavaScript SUBDIR += p5-Error SUBDIR += p5-Expect SUBDIR += p5-F77 diff --git a/lang/p5-Data-JavaScript/Makefile b/lang/p5-Data-JavaScript/Makefile new file mode 100644 index 000000000000..6c3dd31a22cd --- /dev/null +++ b/lang/p5-Data-JavaScript/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Data-JavaScript +# Date created: 09 October 2001 +# Whom: tobez +# +# $FreeBSD$ +# + +PORTNAME= Data-JavaScript +PORTVERSION= 1.05 +CATEGORIES= lang www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Data +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Data::JavaScript.3 + +.include diff --git a/lang/p5-Data-JavaScript/distinfo b/lang/p5-Data-JavaScript/distinfo new file mode 100644 index 000000000000..5a8307f50310 --- /dev/null +++ b/lang/p5-Data-JavaScript/distinfo @@ -0,0 +1 @@ +MD5 (Data-JavaScript-1.05.tar.gz) = 6bd5965cade8dacd9cc250f19243207c diff --git a/lang/p5-Data-JavaScript/pkg-comment b/lang/p5-Data-JavaScript/pkg-comment new file mode 100644 index 000000000000..626438a0671e --- /dev/null +++ b/lang/p5-Data-JavaScript/pkg-comment @@ -0,0 +1 @@ +Data::JavaScript - Dump perl structures to JavaScript code diff --git a/lang/p5-Data-JavaScript/pkg-descr b/lang/p5-Data-JavaScript/pkg-descr new file mode 100644 index 000000000000..d75ac9ff6f78 --- /dev/null +++ b/lang/p5-Data-JavaScript/pkg-descr @@ -0,0 +1,12 @@ +This module is aimed mainly for CGI programming, when a perl script +generates a page with client side JavaScript code that needs access to +structures created on the server. + +It works by creating one line of JavaScript code per datum. Therefore, +structures cannot be created anonymously and needed to be assigned to +variables. This enables dumping big structures. + +Author: Ariel Brosh +WWW: http://search.cpan.org/search?dist=Data-JavaScript + +-- Anton diff --git a/lang/p5-Data-JavaScript/pkg-plist b/lang/p5-Data-JavaScript/pkg-plist new file mode 100644 index 000000000000..42fbc5d757ff --- /dev/null +++ b/lang/p5-Data-JavaScript/pkg-plist @@ -0,0 +1,6 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data/JavaScript/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Data/JavaScript.pm +lib/perl5/site_perl/%%PERL_VER%%/Data/example.pl +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data/JavaScript +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Data 2>/dev/null || true -- cgit v1.2.3