source: trunk/dports/perl/p5-javascript-spidermonkey/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4# This comment was inserted on 20160713 to force reindexing of
5# this port after the default homepage definition in the perl5
6# PortGroup was changed to use metacpan.org (r150080).
7# Reindexing is necessary for the new definition to take effect.
8# This comment may be removed in subsequent updates of this port.
9
10PortSystem          1.0
11PortGroup           perl5 1.0
12
13perl5.branches      5.24
14perl5.setup         JavaScript-SpiderMonkey 0.21
15maintainers         nomaintainer
16categories-append   www
17license             {Artistic-1 GPL}
18description         Perl interface to the JavaScript Engine
19long_description    JavaScript::SpiderMonkey is a Perl Interface to the SpiderMonkey \
20                    JavaScript Engine. It is different from Claes Jacobsson's JavaScript.pm \
21                    in that it offers two different levels of access: \
22                        1) A 1:1 mapping of the SpiderMonkey API to Perl \
23                        2) A more Perl-like API
24
25checksums           rmd160  fd489ea2a963c35bb057568beceb2f5f51159939 \
26                    sha256  7bd1879afaf4d73f37adaab6464611a466c1b93d4fe23509d81eedf428809a1a
27
28platforms           darwin
29
30if {${perl5.major} != ""} {
31    depends_build-append \
32                    port:p${perl5.major}-log-log4perl
33    depends_lib-append \
34                    port:spidermonkey
35
36    patchfiles      patch-Makefile.PL.diff
37
38    post-patch {
39        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile.PL
40    }
41}
Note: See TracBrowser for help on using the repository browser.