# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id: Portfile 75877 2011-02-11 20:29:48Z pixilla@macports.org $ PortSystem 1.0 name GeoLiteCity version 20101101 categories databases devel net maintainers pixilla platforms darwin description GeoIP Lite City database (libgeoip) long_description ${description} homepage http://www.maxmind.com/app/geolitecity master_sites http://geolite.maxmind.com/download/geoip/database extract.suffix .gz distname GeoLiteCity.dat checksums sha1 44b4c5d3e024ee8803b5c6074a4d20d884d7c985 \ rmd160 7a67d85d6faa569dc87aee9d9b8a4f3ea416fe96 depends_lib port:libgeoip worksrcdir GeoLiteCity pre-extract { xinstall -m 755 -d ${worksrcpath} } extract.post_args > ${worksrcdir}/${distname} use_configure no build {} destroot { set datadir ${destroot}${prefix}/share/GeoIP xinstall -m 755 -d ${datadir} xinstall ${worksrcpath}/${distname} ${datadir}/GeoIPCity.dat } livecheck.type moddate