| 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 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | PortGroup php 1.1 |
|---|
| 5 | |
|---|
| 6 | name php-v8js |
|---|
| 7 | maintainers {ryandesign @ryandesign} openmaintainer |
|---|
| 8 | license 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. |
|---|
| 12 | php.branches 7.0 7.1 7.2 7.3 7.4 |
|---|
| 13 | php.pecl yes |
|---|
| 14 | |
|---|
| 15 | if {[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 | |
|---|
| 23 | description PHP bindings for v8 |
|---|
| 24 | |
|---|
| 25 | long_description ${description} |
|---|
| 26 | |
|---|
| 27 | if {${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 | } |
|---|