summaryrefslogtreecommitdiff
path: root/lang/p5-JavaScript-SpiderMonkey/Makefile
blob: 94a74b483773571d598461b127f37151f9f6fff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	JavaScript-SpiderMonkey
PORTVERSION=	0.25
CATEGORIES=	lang perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Perl interface to Mozilla JavaScript implementation
WWW=		https://metacpan.org/release/JavaScript-SpiderMonkey

DEPRECATED=	Depends on deprecated SpiderMonkey 1.7
EXPIRATION_DATE=2022-09-30

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

LIB_DEPENDS=	libjs.so:lang/spidermonkey17
TEST_DEPENDS=	p5-Log-Log4perl>=0:devel/p5-Log-Log4perl

USES=		perl5
USE_PERL5=	configure

CFLAGS+=	-I${LOCALBASE}/include/js-1.7/

post-patch:
	@${REINPLACE_CMD} -e 's|libjs.a|libjs.so|' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>