ports/98372: new port: lang/p5-JavaScript

Dominic Mitchell dom at happygiraffe.net
Fri Jun 2 12:50:24 UTC 2006


>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 at 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 at 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 at 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 at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript
END-of-pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list