source: trunk/dports/databases/GeoLiteCity/Portfile

Last change on this file was 84550, checked in by snc@…, 6 years ago

modelines

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- 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
2# $Id: Portfile 84550 2011-09-27 21:05:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                GeoLiteCity
7version             20110501
8categories          databases devel net
9maintainers         pixilla
10platforms           darwin
11supported_archs     noarch
12description         GeoIP Lite City database (libgeoip)
13long_description    ${description}
14homepage            http://www.maxmind.com/app/geolitecity
15master_sites        http://distfiles.macports.org/GeoLiteCity
16
17checksums           sha1    14d0f0838c10cc9a984da5361d0bad44b13710ee \
18                    rmd160  75d9d9940a8585b97dda157d7acc39def4bff1bb
19
20depends_lib         port:libgeoip
21
22use_configure       no
23build {}
24
25destroot  {
26    set datadir ${destroot}${prefix}/share/GeoIP
27    set docdir ${destroot}${prefix}/share/doc/${name}
28    xinstall -m 755 -d ${datadir}
29    xinstall ${worksrcpath}/GeoLiteCity.dat ${datadir}/GeoIPCity.dat
30    xinstall -m 755 -d ${docdir}
31    xinstall ${worksrcpath}/LICENSE.txt ${docdir}/LICENSE.txt
32}
33
34livecheck.type      regex
35livecheck.url       http://geolite.maxmind.com/download/geoip/database/GeoLiteCity_CSV/
36livecheck.regex     "${name}_(\\d\{8\}).zip"
Note: See TracBrowser for help on using the repository browser.