source: trunk/dports/php/php-solr/Portfile

Last change on this file was 147196, checked in by ryandesign@…, 18 months ago

php-solr: update to 2.4.0; add php70-solr subport

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- 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
2# $Id: Portfile 147196 2016-03-31 00:30:35Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-solr
8version                 2.4.0
9categories-append       devel
10license                 PHP-3.01
11platforms               darwin
12maintainers             ryandesign openmaintainer
13
14php.branches            5.3 5.4 5.5 5.6 7.0
15php.pecl                yes
16
17description             a PHP interface to Apache Solr
18
19long_description        ${name} is an extremely fast, light-weight, feature-rich \
20                        library that allows PHP developers to communicate easily \
21                        and efficiently with Apache Solr server instances.
22
23checksums               rmd160  e4f025a3833b53dae8e066c4604c37026310d6c1 \
24                        sha256  22865dafb76fc5839e84a5bd423bb37d5062883e5dfc4d064b43129ac9f2752c
25
26if {${name} ne ${subport}} {
27    depends_build-append    port:curl \
28                            port:libxml2
29   
30    depends_lib-append      port:${php}-curl
31   
32    configure.args-append   --with-curl=${prefix} \
33                            --with-libxml-dir=${prefix}
34   
35    use_parallel_build      yes
36}
Note: See TracBrowser for help on using the repository browser.