# -*- 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 # $Id$ PortSystem 1.0 PortGroup php 1.1 name php-geoip license PHP categories php devel platforms darwin maintainers ryandesign openmaintainer php.branches 5.3 5.4 5.5 5.6 7.0 php.pecl yes if {[vercmp ${php.branch} 7] >= 0} { php.pecl.prerelease yes version 1.1.1 revision 0 checksums rmd160 60c128064decb959b497bd2f627712b7be32fa79 \ sha256 b2d05c03019d46135c249b5a7fa0dbd43ca5ee98aea8ed807bc7aa90ac8c0f06 } else { version 1.0.8 revision 1 checksums rmd160 cea5d556b2d502f40cc197cb8acec09d8482aac0 \ sha256 08beeb2cbe9ab729d06b026795f5b9084aead6a1762493b0be53c4393d68d08a } description Map IP address to geographic places long_description \ This PHP extension allows you to find the location of an IP address - \ City, State, Country, Longitude, Latitude, and other information as all, \ such as ISP and connection type. if {${name} ne ${subport}} { depends_lib-append port:libgeoip use_parallel_build yes test.run yes post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${docdir} } }