Add p5-Data-JavaScript, a perl module to dump perl structures to

JavaScript code.
This commit is contained in:
Anton Berezin 2001-10-09 18:55:53 +00:00
parent 4ebd898c77
commit e02bab0889
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48613
6 changed files with 43 additions and 0 deletions

View File

@ -93,6 +93,7 @@
SUBDIR += oo2c
SUBDIR += otcl
SUBDIR += p2c
SUBDIR += p5-Data-JavaScript
SUBDIR += p5-Error
SUBDIR += p5-Expect
SUBDIR += p5-F77

View File

@ -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 <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Data-JavaScript-1.05.tar.gz) = 6bd5965cade8dacd9cc250f19243207c

View File

@ -0,0 +1 @@
Data::JavaScript - Dump perl structures to JavaScript code

View File

@ -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 <schop@cpan.org>
WWW: http://search.cpan.org/search?dist=Data-JavaScript
-- Anton

View File

@ -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