Files

91 lines
3.9 KiB
Tcl
Raw Permalink Normal View History

2019-06-03 15:31:54 -05:00
# -*- 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
PortSystem 1.0
2022-06-15 22:03:54 -05:00
PortGroup legacysupport 1.1
2019-06-03 15:31:54 -05:00
PortGroup php 1.1
2022-06-15 22:03:54 -05:00
# strnlen
legacysupport.newest_darwin_requires_legacy 10
2019-06-03 15:31:54 -05:00
name php-sqlsrv
categories-append databases
2026-04-01 20:40:32 +02:00
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
2019-06-03 15:31:54 -05:00
license MIT
2026-02-28 01:24:49 +01:00
php.branches 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
2019-06-03 15:31:54 -05:00
php.pecl yes
description Microsoft sqlsrv drivers for PHP
2026-02-28 01:24:49 +01:00
long_description \
The Microsoft Drivers for PHP for SQL Server are PHP extensions \
that allow for the reading and writing of SQL Server data from within PHP scripts. \
The SQLSRV extension provides a procedural interface \
while the PDO_SQLSRV extension implements PDO for accessing data \
in all editions of SQL Server 2012 and later (including Azure SQL DB). \
These drivers rely on the Microsoft ODBC Driver for SQL Server \
to handle the low-level communication with SQL Server. \
*This package contains only the SQLSRV driver.*
2019-06-03 15:31:54 -05:00
long_description ${description}
2026-02-28 01:24:49 +01:00
if {[vercmp ${php.branch} >= 8.3]} {
2026-04-30 23:14:53 +02:00
version 5.13.1
2026-02-28 01:24:49 +01:00
revision 0
2026-04-30 23:14:53 +02:00
checksums rmd160 e7f9975f44992125b1a88308e3da20113eee4252 \
sha256 7c4ea8f25ebbc8999084239e7e0ef75315097e013df0e290fcef76c3d977b9d8 \
size 199271
2026-02-28 01:24:49 +01:00
} elseif {[vercmp ${php.branch} >= 8.1]} {
version 5.12.0
2026-04-30 23:14:53 +02:00
revision 1
checksums rmd160 6b307e55af04354f862eb805ed5761287683bce4 \
sha256 a9ebb880b2a558d3d6684f6e6802c53c5bffa49e1ee60d1473a7124fc9cb72ad \
size 193767
} elseif {[vercmp ${php.branch} >= 8.0]} {
2023-09-27 16:02:31 -05:00
version 5.11.1
2026-04-30 23:14:53 +02:00
revision 1
2023-09-27 16:02:31 -05:00
checksums rmd160 c7b5cbbdd8dd0db1a85666008f12d8ea773e9513 \
sha256 678ab60174be56b09c6916307700e716a4ff266ad53e43990a9d9740d4728463 \
size 192830
2023-03-17 00:06:44 -05:00
} elseif {[vercmp ${php.branch} >= 7.4]} {
2022-05-18 23:27:45 -05:00
version 5.10.1
2026-04-30 23:14:53 +02:00
revision 1
2022-05-18 23:27:45 -05:00
checksums rmd160 071bcabc68b28995482bb9c43b2a6dd9f51f3cee \
sha256 5cdaedb4d8a286343e6b3b99992d9fcb44a8fb69dd02aa5d7bc20eb2ea5e59d2 \
size 193661
2024-01-10 00:19:47 -06:00
} elseif {[vercmp ${php.branch} >= 7.3]} {
2022-02-03 02:32:43 -06:00
version 5.9.0
revision 0
checksums rmd160 6a0e569f7f5575d2db164cac09144ccfb3098b07 \
sha256 0a108e0408e8b984e5ae8bc52824ed32872d72e3a571cd2a5d2b63b200215ab3 \
size 189701
2024-01-10 00:19:47 -06:00
} elseif {[vercmp ${php.branch} >= 7.2]} {
2022-01-31 22:26:11 -06:00
version 5.8.1
revision 0
2022-01-31 22:26:11 -06:00
checksums rmd160 36f76974cf9653273b429d5bf08ad0e7256fe541 \
sha256 39c5c07989d8b53e9ccdd79e8dc5eb6159632be89b1c01e23ea308c8e0332a31 \
size 186879
2024-01-10 00:19:47 -06:00
} elseif {[vercmp ${php.branch} >= 7.1]} {
version 5.6.1
revision 1
checksums rmd160 2ef591fa12fc8829ef7c2736adba10c45c6f9b78 \
sha256 0ab48ae7a9957586f5ec3ea1c19c528951517529078679a0dc3fd9fe83305445 \
size 183396
2024-01-10 00:19:47 -06:00
} elseif {[vercmp ${php.branch} >= 7.0]} {
2019-06-03 15:31:54 -05:00
version 5.3.0
revision 0
checksums rmd160 ab9e9d47f6385fb0a57f489933859def1b6761fc \
sha256 dfcacbaf5ea505d11a057c673544ff923e74c78f16cc95ee57808a44ee20967a \
size 173492
}
if {${subport} ne ${name}} {
depends_lib-append port:msodbcsql
2024-01-10 00:19:47 -06:00
if {[vercmp ${version} < 5.9.0]} {
patchfiles-append \
${php}-deployment_target.patch
}
2020-06-30 16:41:16 -05:00
compiler.cxx_standard 2011
2019-06-03 15:31:54 -05:00
}