27 lines
986 B
Makefile
27 lines
986 B
Makefile
# $NetBSD: Makefile,v 1.34 2021/05/24 19:49:21 wiz Exp $
|
|
|
|
DISTNAME= JSON-Any-1.39
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 5
|
|
CATEGORIES= www perl5 converters
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=JSON/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://metacpan.org/release/JSON-Any
|
|
COMMENT= Wrapper Class for the various JSON classes
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
PERL5_PACKLIST= auto/JSON/Any/.packlist
|
|
PERL5_MODULE_TYPE= Module::Install::Bundled
|
|
|
|
# p5-JSON-XS appears to be the current "best of breed"
|
|
# and is the preferred JSON dependency (see Makefile.PL)
|
|
DEPENDS+= p5-JSON-XS>=2.232:../../converters/p5-JSON-XS
|
|
# for make test
|
|
BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
|
|
BUILD_DEPENDS+= p5-Test-Without-Module-[0-9]*:../../devel/p5-Test-Without-Module
|
|
BUILD_DEPENDS+= p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings
|
|
BUILD_DEPENDS+= p5-Test-Requires-[0-9]*:../../devel/p5-Test-Requires
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|