The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;

use ExtUtils::MakeMaker;

if ( -e 'MANIFEST.SKIP' ) {
    system( 'pod2text lib/Geo/IPfree.pm > README' );
}

WriteMakefile(
    DISTNAME      => 'Geo-IPfree',
    NAME          => 'Geo::IPfree',
    AUTHOR        => 'Graciliano M. P. <gm@virtuasites.com.br>',
    ABSTRACT_FROM => 'lib/Geo/IPfree.pm',
    VERSION_FROM  => 'lib/Geo/IPfree.pm',
    (   eval { ExtUtils::MakeMaker->VERSION( 6.21 ) }
        ? ( LICENSE => 'perl' )
        : ()
    ),
    PREREQ_PM => {
        'Test::More' => '0.47',
        'Memoize'    => 0,
    },
    (   eval { ExtUtils::MakeMaker->VERSION(6.46) }
        ? ( META_MERGE => {
            'meta-spec' => { version => 2 },
            resources   => {
                repository => {
                     type => 'git',
                     url  => 'https://github.com/bricas/geo-ipfree.git',
                     web  => 'https://github.com/bricas/geo-ipfree',
                },
            }
        } )
        : ()
    ),
);