b750a8cd1e
1.51 2017-10-11 - Added the following missing methods for IPv6 lookups to the pure Perl implementation: name_by_addr_v6, name_by_name_v6, org_by_addr_v6, and org_by_name_v6. Reported by Earl Killian. GitHub #28.
22 lines
651 B
Makefile
22 lines
651 B
Makefile
# $NetBSD: Makefile,v 1.34 2017/10/17 09:41:53 wiz Exp $
|
|
|
|
DISTNAME= Geo-IP-1.51
|
|
PKGNAME= p5-${DISTNAME}
|
|
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= http://search.cpan.org/dist/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"
|