# -*- 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
categories-append net devel
platforms darwin freebsd openbsd
homepage https://dev.mysql.com/doc/x-devapi-userguide/en
if {[vercmp ${php.branch} 7.1] >= 0} {
checksums rmd160 2e685af8dc1117f853352b9bbadf1d0d580fbb13 \
sha256 a19c5e41df96a551a8f2808a80421666b99cc6633a4ff09bdd434aea9f0b292b \
distname mysql_xdevapi-${version}
description MySQL X DevAPI for PHP
long_description The X DevAPI is the new common API for MySQL Connectors built on the X Protocol introduced in MySQL 5.7.12.
if {${name} ne ${subport}} {
depends_lib-append port:protobuf3-cpp
compiler.cxx_standard 2014
configure.args --with-boost=${prefix}/include