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

Last change on this file was 153204, checked in by ryandesign@…, 10 months ago

php-rrd: add pkgconfig dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
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# $Id: Portfile 153204 2016-09-27 08:12:01Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           php 1.1
6
7name                php-rrd
8categories-append   net devel
9platforms           darwin
10maintainers         ryandesign openmaintainer
11license             BSD
12
13php.branches        5.3 5.4 5.5 5.6 7.0
14php.pecl            yes
15
16if {[vercmp ${php.branch} 7] >= 0} {
17    version         2.0.1
18    revision        0
19    checksums       rmd160  df47f6a7c4eb40fcc9b04515a9cfbf1a31472b70 \
20                    sha256  39f5ae515de003d8dad6bfd77db60f5bd5b4a9f6caa41479b1b24b0d6592715d
21} else {
22    version         1.1.3
23    revision        0
24    checksums       rmd160  dbef0cf56fc081f768f85d46fd185a750a42cef5 \
25                    sha256  0415ac51e09fe2e7a999d155d10d6af42ddf40ab0b4847a63ed1f9458533858e
26}
27
28description         PHP rrdtool extension
29
30long_description    ${name} is a procedural and simple object-oriented wrapper \
31                    for PHP for using rrdtooldata logging and graphing system \
32                    for time series data.
33
34if {${name} ne ${subport}} {
35    if {[vercmp ${php.branch} 7] >= 0} {
36        depends_build-append    port:pkgconfig
37    }
38
39    depends_lib-append  port:rrdtool \
40                        port:libffi
41
42    configure.args      --with-rrd=${prefix}
43}
Note: See TracBrowser for help on using the repository browser.