Revision: 75877 http://trac.macports.org/changeset/75877 Author: pixilla@macports.org Date: 2011-02-11 12:29:48 -0800 (Fri, 11 Feb 2011) Log Message: ----------- databases/GeoLiteCity: new port adds GeoIPCity.dat data file for use with port:libgeoip. Added Paths: ----------- trunk/dports/databases/GeoLiteCity/ trunk/dports/databases/GeoLiteCity/Portfile Added: trunk/dports/databases/GeoLiteCity/Portfile =================================================================== --- trunk/dports/databases/GeoLiteCity/Portfile (rev 0) +++ trunk/dports/databases/GeoLiteCity/Portfile 2011-02-11 20:29:48 UTC (rev 75877) @@ -0,0 +1,40 @@ +# -*- 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$ + +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 Property changes on: trunk/dports/databases/GeoLiteCity/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native
participants (1)
-
pixilla@macports.org