0982effce2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
24 lines
669 B
Makefile
24 lines
669 B
Makefile
# $NetBSD: Makefile,v 1.29 2015/06/12 10:50:44 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= Geo-IP-1.45
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 1
|
|
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"
|