Files

60 lines
2.3 KiB
Tcl
Raw Permalink Normal View History

2012-05-14 21:44:59 +00:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
2012-05-28 05:51:01 +00:00
PortGroup php 1.1
2012-05-14 21:44:59 +00:00
2012-05-28 05:51:01 +00:00
name php-solr
2012-05-14 21:44:59 +00:00
categories-append devel
2013-01-30 07:22:54 +00:00
license PHP-3.01
2026-04-01 20:40:32 +02:00
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
2012-05-14 21:44:59 +00:00
2025-01-26 06:50:16 -06:00
# Compatible with PHP 8.4 as of 2.8.0
2025-07-30 15:27:03 +02:00
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
2012-05-28 05:51:01 +00:00
php.pecl yes
if {[vercmp ${php.branch} >= 7.4]} {
2026-04-30 23:14:35 +02:00
version 2.9.3
2025-07-30 15:27:03 +02:00
revision 0
2026-04-30 23:14:35 +02:00
checksums rmd160 ae6a2667782ddfd2cb01c85b03b0863f9bfb3db1 \
sha256 92caac4694123359ea2721b7838bd3e4bb1a4af500ea14a57c3acb7ec2542be5 \
size 627837
patchfiles-append patch-remove_auto_declaration.diff
} elseif {[vercmp ${php.branch} >= 7.0]} {
2022-11-09 11:44:40 -06:00
version 2.6.0
revision 2
2022-11-09 11:44:40 -06:00
checksums rmd160 741556911dc4667f2a9ec08042239cccd20bded5 \
sha256 7cbee19bd62d3fc89aea266cbf51c0e1d9d4127098f46848910419e8733a4dc7 \
size 621852
2024-01-10 00:19:47 -06:00
} elseif {[vercmp ${php.branch} >= 5.3]} {
2018-08-07 19:00:58 -05:00
version 2.4.0
revision 3
2018-08-07 19:00:58 -05:00
checksums rmd160 e4f025a3833b53dae8e066c4604c37026310d6c1 \
sha256 22865dafb76fc5839e84a5bd423bb37d5062883e5dfc4d064b43129ac9f2752c \
size 256316
2019-12-21 11:11:22 -06:00
patchfiles-append php72.patch
2018-08-07 19:00:58 -05:00
}
2012-05-14 21:44:59 +00:00
description a PHP interface to Apache Solr
long_description ${name} is an extremely fast, light-weight, feature-rich \
library that allows PHP developers to communicate easily \
and efficiently with Apache Solr server instances.
2014-06-22 06:41:45 +00:00
if {${name} ne ${subport}} {
depends_lib-append port:curl \
port:libxml2 \
port:${php}-curl
2018-08-07 19:00:58 -05:00
2024-01-10 00:19:47 -06:00
if {[vercmp ${php.branch} >= 7.4]} {
2020-09-11 11:44:52 -05:00
depends_build-append \
path:bin/pkg-config:pkgconfig
2020-09-11 11:44:52 -05:00
}
2012-05-14 21:44:59 +00:00
configure.args-append --with-curl=${prefix} \
--with-libxml-dir=${prefix}
2020-12-30 06:10:59 -06:00
2012-05-14 21:44:59 +00:00
use_parallel_build yes
}