blob: 8f8868de111e78743b194c37ae1e0189f07e0b8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.30 2015/06/12 10:49:35 wiz Exp $
#
DISTNAME= PAR-Dist-0.49
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PAR/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/PAR-Dist/
COMMENT= Perl module toolkit to create and manipulate PAR distributions
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Archive-Zip>1.28:../../archivers/p5-Archive-Zip
DEPENDS+= p5-Module-Signature>=0.25:../../security/p5-Module-Signature
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/PAR/Dist/.packlist
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-PAR-Dist
PKG_SUPPORTED_OPTIONS+= # empty
PKG_SUGGESTED_OPTIONS+= # empty
PKG_OPTIONS_REQUIRED_GROUPS= YAML
PKG_OPTIONS_GROUP.YAML= YAML LibYAML YAML-Tiny
PKG_SUGGESTED_OPTIONS= LibYAML
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:MYAML-Tiny)
BUILD_DEPENDS+= p5-YAML-Tiny>=1.25:../../textproc/p5-YAML-Tiny
.elif !empty(PKG_OPTIONS:MLibYAML)
BUILD_DEPENDS+= p5-YAML-LibYAML>=0.03:../../textproc/p5-YAML-LibYAML
.elif !empty(PKG_OPTIONS:MYAML)
BUILD_DEPENDS+= p5-YAML>=0.60:../../textproc/p5-YAML
.endif
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|