From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 2 12:50:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9550016A60B for ; Fri, 2 Jun 2006 12:50:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F0FA43D45 for ; Fri, 2 Jun 2006 12:50:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k52CoLvo034735 for ; Fri, 2 Jun 2006 12:50:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k52CoLoX034734; Fri, 2 Jun 2006 12:50:21 GMT (envelope-from gnats) Resent-Date: Fri, 2 Jun 2006 12:50:21 GMT Resent-Message-Id: <200606021250.k52CoLoX034734@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dominic Mitchell Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F41DB16A427 for ; Fri, 2 Jun 2006 12:47:40 +0000 (UTC) (envelope-from dom@happygiraffe.net) Received: from happygiraffe.net (happygiraffe.net [81.6.215.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61A4E43D6B for ; Fri, 2 Jun 2006 12:47:40 +0000 (GMT) (envelope-from dom@happygiraffe.net) Received: from localhost (localhost.happygiraffe.net [127.0.0.1]) by happygiraffe.net (Postfix) with ESMTP id 0A719B885 for ; Fri, 2 Jun 2006 13:47:39 +0100 (BST) Received: from happygiraffe.net ([127.0.0.1]) by localhost (gimli.happygiraffe.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ylSfsCUbrsH6 for ; Fri, 2 Jun 2006 13:47:38 +0100 (BST) Received: by happygiraffe.net (Postfix, from userid 1001) id BFA20B87D; Fri, 2 Jun 2006 13:47:38 +0100 (BST) Message-Id: <20060602124738.BFA20B87D@happygiraffe.net> Date: Fri, 2 Jun 2006 13:47:38 +0100 (BST) From: Dominic Mitchell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/98372: new port: lang/p5-JavaScript X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dominic Mitchell List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 12:50:24 -0000 >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///' ${WRKSRC}/JavaScript.xs X X.include 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: