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