1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/lang/p5-JavaScript/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

29 lines
587 B
Makefile

# 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>