d2ca14a3f1
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
26 lines
713 B
Makefile
26 lines
713 B
Makefile
# $NetBSD: Makefile,v 1.25 2013/05/31 12:41:36 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= Geo-IP-1.40
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 2
|
|
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}
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
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"
|