# -*- 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 PortGroup php 1.1 name php-maxminddb license Apache-2 categories php devel maintainers {ryandesign @ryandesign} openmaintainer php.branches 7.2 7.3 7.4 8.0 8.1 8.2 8.3 php.pecl yes if {[vercmp ${php.branch} >= 7.2]} { version 1.12.0 revision 0 checksums rmd160 5130272d5464cce218c9720cd41d01bce04f312e \ sha256 54a5d13399690d4c8da026775031db5851dddd4a8b40bdfbfde2caddeffdadfc \ size 16162 } description PHP API for reading MaxMind DB files long_description This is the {*}${description}. MaxMind DB is a \ binary file format that stores data indexed by \ IP address subnets (IPv4 or IPv6). if {${name} ne ${subport}} { depends_build-append \ path:bin/pkg-config:pkgconfig depends_lib-append port:libmaxminddb php.build_dirs ${worksrcpath}/ext configure.args --with-maxminddb test.run yes post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE README.md ${destroot}${docdir} } }