| 1 | # $Id: Portfile 36322 2008-04-27 06:27:18Z ryandesign@macports.org $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name libgeoip |
|---|
| 6 | version 1.4.5 |
|---|
| 7 | categories devel net |
|---|
| 8 | platforms darwin |
|---|
| 9 | maintainers bhirt@mobygames.com |
|---|
| 10 | description Gets country code by IP address |
|---|
| 11 | long_description ${description} |
|---|
| 12 | |
|---|
| 13 | homepage http://www.maxmind.com/app/c |
|---|
| 14 | master_sites http://www.maxmind.com/download/geoip/api/c/ \ |
|---|
| 15 | http://www.maxmind.com/download/geoip/api/c/old/ |
|---|
| 16 | distname GeoIP-${version} |
|---|
| 17 | checksums md5 d95c34cf8ebd48e357b1812db5d75cf1 |
|---|
| 18 | |
|---|
| 19 | test.run yes |
|---|
| 20 | test.target check |
|---|
| 21 | |
|---|
| 22 | configure.args --mandir=${prefix}/share/man |
|---|
| 23 | |
|---|
| 24 | post-destroot { |
|---|
| 25 | xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} |
|---|
| 26 | xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \ |
|---|
| 27 | NEWS README TODO ${destroot}${prefix}/share/doc/${name} |
|---|
| 28 | } |
|---|