| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | PortGroup ruby 1.0 |
|---|
| 5 | |
|---|
| 6 | name rb-net-geoip |
|---|
| 7 | version 0.06 |
|---|
| 8 | categories ruby |
|---|
| 9 | |
|---|
| 10 | maintainers kykim@mac.com |
|---|
| 11 | description Net::Geoip |
|---|
| 12 | long_description Net::Geoip module to interface with the GeoIP library provided my MaxMind |
|---|
| 13 | homepage http://www.maxmind.com/app/ruby |
|---|
| 14 | platforms darwin |
|---|
| 15 | master_sites http://www.maxmind.com/download/geoip/api/ruby/ |
|---|
| 16 | distname net-geoip-${version} |
|---|
| 17 | |
|---|
| 18 | checksums md5 4bbae1a05a4339f79e2853778d4b50f3 \ |
|---|
| 19 | sha1 45dac7a1e4d738b62043e0e0819b198046063391 \ |
|---|
| 20 | rmd160 041a8532d4e3f222b87c17fa11cc87f7aa31920e |
|---|
| 21 | |
|---|
| 22 | depends_lib port:ruby \ |
|---|
| 23 | port:libgeoip \ |
|---|
| 24 | port:libiconv |
|---|
| 25 | |
|---|
| 26 | patchfiles patch-extconf.rb \ |
|---|
| 27 | patch-geoip.c |
|---|
| 28 | |
|---|
| 29 | post-patch { |
|---|
| 30 | file rename ${worksrcpath}/geoip.h ${worksrcpath}/geoiplocal.h |
|---|
| 31 | } |
|---|
| 32 | |
|---|
| 33 | ruby.setup net-geoip 0.06 extconf.rb |
|---|
| 34 | #use_configure no |
|---|
| 35 | |
|---|
| 36 | build.target |
|---|