source: trunk/dports/devel/libgeoip/Portfile

Last change on this file was 149885, checked in by khindenburg@…, 13 months ago

libgeoip: update to 1.6.9 #51767

  • 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 149885 2016-07-05 18:24:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        maxmind geoip-api-c 1.6.9 v
8github.tarball_from releases
9name                libgeoip
10categories          devel net
11license             LGPL-2.1+
12platforms           darwin
13maintainers         pixilla openmaintainer
14description         Gets country code by IP address
15long_description    ${description}
16
17homepage            http://dev.maxmind.com/geoip/
18distname            GeoIP-${version}
19
20checksums           rmd160  244fa293f86bc24df6a4b7a6643f111830faf1ed \
21                    sha256  4b446491843de67c1af9b887da17a3e5939e0aeed4826923a5f4bf09d845096f
22
23# For stricter sed, some files are not UTF-8
24build.env           LC_CTYPE=C
25destroot.env        LC_CTYPE=C
26
27test.run            yes
28test.target         check
29
30post-destroot {
31    delete ${destroot}${prefix}/etc/GeoIP.conf
32    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
33    xinstall -m 644 -W ${worksrcpath} \
34        AUTHORS \
35        COPYING \
36        ChangeLog \
37        NEWS.md \
38        README.md \
39        ${destroot}${prefix}/share/doc/${name}
40}
Note: See TracBrowser for help on using the repository browser.