Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / p5-Module-Build / options.mk
1 # $NetBSD: options.mk,v 1.3 2009/06/13 06:46:45 rillig Exp $
2
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.p5-Module-Build
4
5 PKG_SUPPORTED_OPTIONS=  dist_authoring license_creation ppm_support bundling
6 PKG_SUGGESTED_OPTIONS=  # empty - only for CPAN Authors
7
8 .include "../../mk/bsd.options.mk"
9
10 .if !empty(PKG_OPTIONS:Mdist_authoring)
11 DEPENDS+=       {perl>=5.10.0,p5-Archive-Tar>=1.09}:../../archivers/p5-Archive-Tar
12 DEPENDS+=       p5-Pod-Readme>=0.04:../../textproc/p5-Pod-Readme
13 DEPENDS+=       p5-Module-Signature>=0.21:../../security/p5-Module-Signature
14 .endif
15 .if !empty(PKG_OPTIONS:Mlicense_creation)
16 DEPENDS+=       p5-Software-License-[0-9]*:../../devel/p5-Software-License
17 .endif
18 .if !empty(PKG_OPTIONS:Mppm_support)
19 DEPENDS+=       {perl>=5.10.1,p5-IO>=1.13}:../../devel/p5-IO
20 .endif
21 .if !empty(PKG_OPTIONS:Mbundling)
22 # contains required ExtUtils::Installed>=1.999_001
23 DEPENDS+=       {perl>=5.10.1,p5-ExtUtils-Install>=1.54}:../../devel/p5-ExtUtils-Install
24 .endif