blob: 17f301a7ab813c2aaf5f4aec74bda71153235006 (
plain) (
blame)
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
29
30
31
32
33
34
35
36
37
38
39
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= requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>
|