Date: Fri, 2 Jun 2006 13:47:38 +0100 (BST) From: Dominic Mitchell <dom@happygiraffe.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98372: new port: lang/p5-JavaScript Message-ID: <20060602124738.BFA20B87D@happygiraffe.net> Resent-Message-ID: <200606021250.k52CoLoX034734@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98372 >Category: ports >Synopsis: new port: lang/p5-JavaScript >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 02 12:50:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dominic Mitchell >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD gimli.happygiraffe.net 6.1-STABLE FreeBSD 6.1-STABLE #5: Tue May 9 08:45:02 BST 2006 root@gimli.happygiraffe.net:/usr/obj/usr/src/sys/GIMLI i386 perl 5.8.8 >Description: This is a new port of the Perl module "JavaScript". It's got similiar functionality to JavaScript::SpiderMonkey, but actually works (as far as I can tell). >How-To-Repeat: n/a >Fix: Here's the .shar file. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-descr # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: p5-JavaScript X# Date created: 02 June 2006 X# Whom: dom@happygiraffe.net X# X# $FreeBSD$ X# X XPORTNAME= JavaScript XPORTVERSION= 0.55 XCATEGORIES= lang perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= JavaScript XPKGNAMEPREFIX= p5- X XMAINTAINER= dom@happygiraffe.net XCOMMENT= Perl extension for executing embedded JavaScript X XBUILD_DEPENDS= ${LOCALBASE}/lib/libjs.so:${PORTSDIR}/lang/spidermonkey XRUN_DEPENDS= ${BUILD_DEPENDS} X XMAN3= JavaScript.3 X XPERL_CONFIGURE= yes XCONFIGURE_ARGS= INC=-I${LOCALBASE}/include X Xpost-patch: X ${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/JavaScript.xs X X.include <bsd.port.mk> END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (JavaScript-0.55.tar.gz) = 40984476f20c7bc68a685759ec38fd64 XSHA256 (JavaScript-0.55.tar.gz) = f209663e92370d702b79ab9b2490ef299eeeadaff737282d64e085276ec91ba8 XSIZE (JavaScript-0.55.tar.gz) = 18169 END-of-distinfo echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XAlways thought JavaScript was for web only? well, think again... X XJavaScript.pm gives you the power of embedded JavaScript in your Xapplications. You can write your subs, classes etc in perl and bind them Xto the JavaScript engine. Variables are converted between the language Xautomaticlly and you don't have to worry about that. X XWWW: http://search.cpan.org/dist/JavaScript/ END-of-pkg-descr echo x - pkg-plist sed 's/^X//' >pkg-plist << 'END-of-pkg-plist' X%%SITE_PERL%%/%%PERL_ARCH%%/JavaScript.pm X%%SITE_PERL%%/%%PERL_ARCH%%/JavaScript.pod X%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/JavaScript.bs X%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/JavaScript.so X%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/autosplit.ix X%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/.packlist X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript END-of-pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060602124738.BFA20B87D>