Ticket #69349: Portfile

File Portfile, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 9 months ago)

unfinished Portfile

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
3PortSystem              1.0
4PortGroup               php 1.1
5
6name                    php-v8js
7maintainers             {ryandesign @ryandesign} openmaintainer
8license                 MIT
9
10# 2.1.2 added support for PHP 7.4. Support for PHP 8.0 and later probably
11# requires adding upstream patches or waiting for the next release.
12php.branches            7.0 7.1 7.2 7.3 7.4
13php.pecl                yes
14
15if {[vercmp ${php.branch} >= 7.0]} {
16    version             2.1.2
17    revision            0
18    checksums           rmd160  ecea4034109dcf0bb2fc5a5640dde01df8cdd376 \
19                        sha256  65b7730111ad6d92c00195280ccbc1e55d52cdab3103ae28a057037278cc03ca \
20                        size    102977
21}
22
23description             PHP bindings for v8
24
25long_description        ${description}
26
27if {${name} ne ${subport}} {
28    depends_lib-append      port:v8-8.3
29
30    # It does not find v8 here due to https://trac.macports.org/ticket/69352
31    configure.args          --with-v8js=${prefix}/libexec/v8-8.3
32}