[75877] trunk/dports/databases

pixilla at macports.org pixilla at macports.org
Fri Feb 11 12:29:49 PST 2011


Revision: 75877
          http://trac.macports.org/changeset/75877
Author:   pixilla at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110211/d3123085/attachment.html>


More information about the macports-changes mailing list