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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
# $NetBSD: Makefile,v 1.60 2020/03/10 22:09:43 wiz Exp $
DISTNAME= Padre-1.00
PKGNAME= p5-${DISTNAME}
PKGREVISION= 10
CATEGORIES= editors perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Padre/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/Padre
COMMENT= Perl Application Development and Refactoring Environment
LICENSE= ${PERL5_LICENSE}
MAKE_JOBS_SAFE= no
USE_LANGUAGES+= c c++
REPLACE_PERL+= share/templates/*.t
REPLACE_PERL+= share/templates/*.pl
REPLACE_PERL+= share/examples/wx/*.pl
REPLACE_PERL+= share/examples/absolute_beginner/*.pl
#BUILD_DEPENDS+= p5-Capture-Tiny>=0.06:../../devel/p5-Capture-Tiny
BUILD_DEPENDS+= p5-Locale-Msgfmt>=0.15:../../devel/p5-Locale-Msgfmt
BUILD_DEPENDS+= p5-Test-Exception>=0.27:../../devel/p5-Test-Exception
BUILD_DEPENDS+= p5-Test-MockObject>=1.09:../../devel/p5-Test-MockObject
#BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.88}:../../devel/p5-Test-Simple
BUILD_DEPENDS+= p5-Test-NoWarnings>=0.084:../../devel/p5-Test-NoWarnings
BUILD_DEPENDS+= p5-Test-Script>=1.07:../../devel/p5-Test-Script
#DEPENDS+= p5-ack>=1.86:../../textproc/p5-ack
DEPENDS+= p5-Algorithm-Diff>=1.1900:../../devel/p5-Algorithm-Diff
DEPENDS+= p5-App-cpanminus>=0.9923:../../devel/p5-App-cpanminus
DEPENDS+= p5-CGI>=3.47:../../www/p5-CGI
DEPENDS+= p5-Capture-Tiny>=0.06:../../devel/p5-Capture-Tiny
DEPENDS+= p5-Class-Adapter>=1.05:../../devel/p5-Class-Adapter
DEPENDS+= p5-Class-Inspector>=1.22:../../devel/p5-Class-Inspector
DEPENDS+= p5-Class-XSAccessor>=1.13:../../devel/p5-Class-XSAccessor
# Cwd 0.2701 is in Perl 5.8.9, but Perl 5.10.0 contains "only" 3.2501
#DEPENDS+= {perl>=5.10.1,p5-PathTools>=3.27.01}:../../devel/p5-PathTools
DEPENDS+= p5-DBD-SQLite>=1.35:../../databases/p5-DBD-SQLite
# DBI dependency is added below using it's buildlink3.mk
DEPENDS+= p5-Debug-Client>=0.20:../../devel/p5-Debug-Client
DEPENDS+= p5-Devel-Dumpvar>=0.04:../../devel/p5-Devel-Dumpvar
DEPENDS+= p5-Devel-Refactor>=0.05:../../devel/p5-Devel-Refactor
# Encode 2.26 is in Perl 5.8.9, but Perl 5.10.0 contains "only" 2.23
#DEPENDS+= {perl>=5.10.1,p5-Encode>=2.26}:../../textproc/p5-Encode
# p5-ExtUtils-MakeMaker has the higher version, so it would be picked
# by pbulk-resolve, but not at build time, since Perl is already installed
# then. This forces unnecessary rebuilds.
# DEPENDS+= {perl>=5.12.0,p5-ExtUtils-MakeMaker>=6.56}:../../devel/p5-ExtUtils-MakeMaker
#DEPENDS+= {perl>=5.10.1,p5-ExtUtils-Manifest>=1.56}:../../devel/p5-ExtUtils-Manifest
DEPENDS+= p5-File-Copy-Recursive>=0.37:../../sysutils/p5-File-Copy-Recursive
DEPENDS+= p5-File-Find-Rule-[0-9]*:../../devel/p5-File-Find-Rule
DEPENDS+= p5-File-HomeDir>=0.91:../../devel/p5-File-HomeDir
# File::Path 2.07 is in Perl 5.8.9, but Perl 5.10.0 contains "only" 2.04
#DEPENDS+= {perl>=5.12.0,p5-File-Path>=2.08}:../../devel/p5-File-Path
DEPENDS+= p5-File-Remove>=1.42:../../sysutils/p5-File-Remove
DEPENDS+= p5-File-ShareDir>=1.00:../../devel/p5-File-ShareDir
DEPENDS+= p5-File-Which>=1.08:../../devel/p5-File-Which
DEPENDS+= p5-File-pushd>=1.00:../../devel/p5-File-pushd
DEPENDS+= p5-Format-Human-Bytes>=0.04:../../devel/p5-Format-Human-Bytes
DEPENDS+= p5-HTML-Parser>=3.58:../../www/p5-HTML-Parser
DEPENDS+= p5-IO-stringy>=2.110:../../devel/p5-IO-stringy
DEPENDS+= p5-IO-String>=1.08:../../devel/p5-IO-String
DEPENDS+= p5-IPC-Run>=0.83:../../devel/p5-IPC-Run
DEPENDS+= p5-JSON-XS>=2.290:../../converters/p5-JSON-XS
DEPENDS+= p5-List-MoreUtils>=0.22:../../devel/p5-List-MoreUtils
#DEPENDS+= {perl>=5.8.8,p5-Scalar-List-Utils>=1.18}:../../devel/p5-Scalar-List-Utils
#DEPENDS+= {perl>=5.12.0,p5-Module-Build>=0.36030}:../../devel/p5-Module-Build
#DEPENDS+= {perl>=5.12.0,p5-Module-CoreList>=0.22}:../../devel/p5-Module-CoreList
DEPENDS+= p5-Module-Manifest>=0.07:../../devel/p5-Module-Manifest
DEPENDS+= p5-ORLite>=1.96:../../databases/p5-ORLite
DEPENDS+= p5-ORLite-Migrate>=1.10:../../databases/p5-ORLite-Migrate
DEPENDS+= p5-POD2-Base>=0.043:../../textproc/p5-POD2-Base
DEPENDS+= p5-PPI>=1.213:../../devel/p5-PPI
DEPENDS+= p5-PPIx-EditorTools>=0.13:../../editors/p5-PPIx-EditorTools
DEPENDS+= p5-PPIx-Regexp>=0.011:../../devel/p5-PPIx-Regexp
DEPENDS+= p5-Params-Util>=0.33:../../devel/p5-Params-Util
DEPENDS+= p5-Parse-ErrorString-Perl>=0.14:../../devel/p5-Parse-ErrorString-Perl
DEPENDS+= p5-Parse-ExuberantCTags>=1.00:../../devel/p5-Parse-ExuberantCTags
DEPENDS+= p5-Pod-Abstract>=0.16:../../textproc/p5-Pod-Abstract
DEPENDS+= p5-Pod-POM>=0.17:../../textproc/p5-Pod-POM
# required Pod::Perldoc is in core since 5.12
#DEPENDS+= {perl>=5.10.1,p5-Pod-Simple>=3.07}:../../textproc/p5-Pod-Simple
DEPENDS+= p5-Probe-Perl>=0.01:../../devel/p5-Probe-Perl
DEPENDS+= p5-Readonly-XS>=1.05:../../devel/p5-Readonly-XS
DEPENDS+= p5-Sort-Versions>=1.5:../../devel/p5-Sort-Versions
#DEPENDS+= {perl>=5.10.0,p5-Storable>=2.16}:../../devel/p5-Storable
DEPENDS+= p5-Template-Tiny>=0.11:../../textproc/p5-Template-Tiny
#DEPENDS+= {perl>=5.12.0,p5-Text-Balanced>=2.01}:../../textproc/p5-Text-Balanced
DEPENDS+= p5-Text-Diff>=1.41:../../textproc/p5-Text-Diff
DEPENDS+= p5-Text-FindIndent>=0.10:../../textproc/p5-Text-FindIndent
DEPENDS+= p5-Text-Patch>=1.8:../../textproc/p5-Text-Patch
#DEPENDS+= {perl>=5.10.1,p5-Time-HiRes>=1.9718}:../../time/p5-Time-HiRes
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= p5-Wx-Perl-ProcessStream>=0.25:../../x11/p5-Wx-Perl-ProcessStream
DEPENDS+= p5-YAML-Tiny>=1.32:../../textproc/p5-YAML-Tiny
DEPENDS+= p5-libwww>=5.815:../../www/p5-libwww
#DEPENDS+= {perl>=5.12.0,p5-version>=0.8000}:../../devel/p5-version
# required threads, threads::shared and version are in patched 5.12.2nb1 core
PERL5_REQD+= 5.14.2
PERL5_PACKLIST= auto/Padre/.packlist
PERL5_MODULE_TYPE= Module::Install::Bundled
MAKE_ENV+= PERL_USE_UNSAFE_INC=1
#pre-configure:
# cd ${WRKSRC} && find `pwd` -name "*.orig" -type f | xargs rm
.include "../../lang/perl5/module.mk"
.include "../../databases/p5-DBI/buildlink3.mk"
BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.580
.include "../../x11/p5-Wx/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|