diff options
author | tobez <tobez@FreeBSD.org> | 2001-10-10 02:55:53 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2001-10-10 02:55:53 +0800 |
commit | 62050769902ebc8c3d46e18d56e0a652986b2690 (patch) | |
tree | 634017172c225da0335ecbb9febcad5102c54708 /lang | |
parent | d737333481a9c596701eaf1284128e883c8a2880 (diff) | |
download | freebsd-ports-gnome-62050769902ebc8c3d46e18d56e0a652986b2690.tar.gz freebsd-ports-gnome-62050769902ebc8c3d46e18d56e0a652986b2690.tar.zst freebsd-ports-gnome-62050769902ebc8c3d46e18d56e0a652986b2690.zip |
Add p5-Data-JavaScript, a perl module to dump perl structures to
JavaScript code.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/p5-Data-JavaScript/Makefile | 22 | ||||
-rw-r--r-- | lang/p5-Data-JavaScript/distinfo | 1 | ||||
-rw-r--r-- | lang/p5-Data-JavaScript/pkg-comment | 1 | ||||
-rw-r--r-- | lang/p5-Data-JavaScript/pkg-descr | 12 | ||||
-rw-r--r-- | lang/p5-Data-JavaScript/pkg-plist | 6 |
6 files changed, 43 insertions, 0 deletions
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 <bsd.port.mk> 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 <schop@cpan.org> +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 |