# $Id: Portfile 80379 2011-07-11 03:46:07Z ryandesign@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name py25-geoip version 1.2.5 categories python net platforms darwin maintainers freebsd.org:miwi description Python module for accessing the GeoIP C library long_description ${description} homepage http://www.maxmind.com/app/python master_sites http://www.maxmind.com/download/geoip/api/python/ distname GeoIP-Python-${version} checksums sha1 bb7d89425319a1ae517d9b4eacd7c22b19fcf195 \ rmd160 1e313f7c50cbb6f61843427046e1f2f812c5bbc8 depends_lib-append port:libgeoip build.env CFLAGS=-I${prefix}/include \ LDFLAGS=-L${prefix}/lib post-destroot { xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} test.py test_city.py test_org.py \ ${destroot}${prefix}/share/doc/${name}/examples }