aboutsummaryrefslogtreecommitdiffstats
path: root/lang/p5-JavaScript/Makefile
blob: 5ece5d04aee8143f6615b72e17cb6995f908e408 (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
# New ports collection makefile for:    p5-JavaScript
# Date created:             02 June 2006
# Whom:                     dom@happygiraffe.net
#
# $FreeBSD$
#

PORTNAME=   JavaScript
PORTVERSION=    0.55
PORTREVISION=   1
CATEGORIES= lang perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@FreeBSD.org
COMMENT=    Perl extension for executing embedded JavaScript

LIB_DEPENDS=    js.1:${PORTSDIR}/lang/spidermonkey

MAN3=       JavaScript.3

PERL_CONFIGURE= yes
CONFIGURE_ARGS= INC=-I${LOCALBASE}/include

post-patch:
    ${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/JavaScript.xs

.include <bsd.port.mk>