[75982] trunk/dports/databases/GeoLiteCity/Portfile

pixilla at macports.org pixilla at macports.org
Mon Feb 14 16:45:41 PST 2011


Revision: 75982
          http://trac.macports.org/changeset/75982
Author:   pixilla at macports.org
Date:     2011-02-14 16:45:38 -0800 (Mon, 14 Feb 2011)
Log Message:
-----------
databases/GeoLiteCity: Update version and mastersites.

Modified Paths:
--------------
    trunk/dports/databases/GeoLiteCity/Portfile

Modified: trunk/dports/databases/GeoLiteCity/Portfile
===================================================================
--- trunk/dports/databases/GeoLiteCity/Portfile	2011-02-14 22:22:35 UTC (rev 75981)
+++ trunk/dports/databases/GeoLiteCity/Portfile	2011-02-15 00:45:38 UTC (rev 75982)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                GeoLiteCity
-version             20110130
+version             20110201
 categories          databases devel net
 maintainers         pixilla
 platforms           darwin
@@ -12,29 +12,25 @@
 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
+master_sites        http://distfiles.macports.org/GeoLiteCity
 
-extract.suffix      .gz
-distname            GeoLiteCity.dat
-dist_subdir         ${name}/${version}
+checksums           sha1    aea7f8fff5d6d9a40c1c48fafcd3871ca017407f \
+                    rmd160  e146e291f3b8bb3a120801096078844cd46f3a44
 
-checksums           sha1    88786ea5edcd6edc78845ef08063aa6401d1e23e \
-                    rmd160  9e7f36700290a1e7cd627645844ce6bc8fdd142c
-
 depends_lib         port:libgeoip
 
-worksrcdir          GeoLiteCity
-
-extract.mkdir       yes
-extract.post_args   > ${worksrcpath}/${distname}
-
 use_configure       no
 build {}
 
 destroot  {
     set datadir ${destroot}${prefix}/share/GeoIP
+    set docdir ${destroot}${prefix}/share/doc/${name}
     xinstall -m 755 -d ${datadir}
-    xinstall ${worksrcpath}/${distname} ${datadir}/GeoIPCity.dat
+    xinstall ${worksrcpath}/GeoLiteCity.dat ${datadir}/GeoIPCity.dat
+    xinstall -m 755 -d ${docdir}
+    xinstall ${worksrcpath}/LICENSE.txt ${docdir}/LICENSE.txt
 }
 
-livecheck.type      moddate
+livecheck.type      regex
+livecheck.url       http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/
+livecheck.regex     "${name}_(\\d\{8\}).zip"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110214/b0e483fa/attachment.html>


More information about the macports-changes mailing list