mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Add p5-JavaScript-SpiderMonkey 0.11, perl interface to Mozilla
JavaScript implementation. PR: ports/82321 Submitted by: kappa@freebsd.org.ua
This commit is contained in:
parent
de37b11b75
commit
3de2043b3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139352
@ -168,6 +168,7 @@
|
||||
SUBDIR += p5-Error
|
||||
SUBDIR += p5-Expect
|
||||
SUBDIR += p5-F77
|
||||
SUBDIR += p5-JavaScript-SpiderMonkey
|
||||
SUBDIR += p5-List-MoreUtil
|
||||
SUBDIR += p5-List-MoreUtils
|
||||
SUBDIR += p5-Scalar-List-Utils
|
||||
|
40
lang/p5-JavaScript-SpiderMonkey/Makefile
Normal file
40
lang/p5-JavaScript-SpiderMonkey/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: p5-JavaScript-SpiderMonkey
|
||||
# Date created: 25 February 2005
|
||||
# Whom: kappa@freebsd.org.ua
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= JavaScript-SpiderMonkey
|
||||
PORTVERSION= 0.11
|
||||
CATEGORIES= lang perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= JavaScript
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= kappa@freebsd.org.ua
|
||||
COMMENT= Perl interface to Mozilla JavaScript implementation
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/Log/Log4perl.pm:${PORTSDIR}/devel/p5-Log-Log4perl \
|
||||
${LOCALBASE}/lib/libjs.so:${PORTSDIR}/lang/spidermonkey
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= INC=-I${LOCALBASE}/include
|
||||
INSTALL_TARGET= pure_install
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's~UNKNOWN";~${LOCALBASE}/lib";~' \
|
||||
${WRKSRC}/Makefile.PL
|
||||
|
||||
MAN3= JavaScript::SpiderMonkey.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500600
|
||||
IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
lang/p5-JavaScript-SpiderMonkey/distinfo
Normal file
2
lang/p5-JavaScript-SpiderMonkey/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (JavaScript-SpiderMonkey-0.11.tar.gz) = 94a9a70c410f05dce56f47dce28d2356
|
||||
SIZE (JavaScript-SpiderMonkey-0.11.tar.gz) = 16175
|
5
lang/p5-JavaScript-SpiderMonkey/pkg-descr
Normal file
5
lang/p5-JavaScript-SpiderMonkey/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
JavaScript::SpiderMonkey is a Perl Interface to the SpiderMonkey
|
||||
JavaScript Engine. It is different from Claes Jacobsson's
|
||||
"JavaScript.pm" in that it offers more friendly, Perl-like API.
|
||||
|
||||
WWW: http://search.cpan.org/dist/JavaScript-SpiderMonkey/
|
7
lang/p5-JavaScript-SpiderMonkey/pkg-plist
Normal file
7
lang/p5-JavaScript-SpiderMonkey/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/JavaScript/SpiderMonkey.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/SpiderMonkey/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/SpiderMonkey/SpiderMonkey.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/SpiderMonkey/SpiderMonkey.so
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/JavaScript 2>/dev/null || true
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript/SpiderMonkey
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/JavaScript 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user