pkgsrc/net/p5-Geo-IP/Makefile
2020-08-31 18:06:29 +00:00

23 lines
666 B
Makefile

# $NetBSD: Makefile,v 1.38 2020/08/31 18:10:39 wiz Exp $
DISTNAME= Geo-IP-1.51
PKGNAME= p5-${DISTNAME}
PKGREVISION= 3
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Geo/}
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.maxmind.com/geoip/api/perl.shtml
HOMEPAGE= https://metacpan.org/release/Geo-IP
COMMENT= Gets country name by IP or hostname
LICENSE= ${PERL5_LICENSE}
USE_LANGUAGES= c
PERL5_PACKLIST= auto/Geo/IP/.packlist
MAKE_PARAMS+= LIBS="-L${PREFIX:Q}/lib -Wl,-R${PREFIX:Q}/lib"
MAKE_PARAMS+= INC="-I${PREFIX:Q}/include"
.include "../../lang/perl5/module.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"