aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-CPANPLUS/Makefile
blob: 72b75d2f4f8be949626de62db5a5a1c2b766daf2 (plain) (blame)
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
# Created by: Alex Kapranoff <kappa@rambler-co.ru>
# $FreeBSD$

PORTNAME=   CPANPLUS
PORTVERSION=    0.9134
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= CPAN:BINGOS
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Ameliorated interface to the CPAN

RUN_DEPENDS=    p5-Module-Signature>=0:${PORTSDIR}/security/p5-Module-Signature

PERL_CONFIGURE= yes
CONFIGURE_ARGS= AUTOINSTALL=1
INSTALL_TARGET= pure_install

MAKE_JOBS_UNSAFE=   yes

OPTIONS_DEFINE= TEST_REPORTER YAML

TEST_REPORTER_DESC= Send reports to cpan-testers

MAN3=   CPANPLUS.3 \
    CPANPLUS::Backend.3 \
    CPANPLUS::Backend::RV.3 \
    CPANPLUS::Config.3 \
    CPANPLUS::Config::HomeEnv.3 \
    CPANPLUS::Configure.3 \
    CPANPLUS::Dist.3 \
    CPANPLUS::Dist::Autobundle.3 \
    CPANPLUS::Dist::Base.3 \
    CPANPLUS::Dist::MM.3 \
    CPANPLUS::Dist::Sample.3 \
    CPANPLUS::Error.3 \
    CPANPLUS::FAQ.3 \
    CPANPLUS::Hacking.3 \
    CPANPLUS::Internals.3 \
    CPANPLUS::Internals::Extract.3 \
    CPANPLUS::Internals::Fetch.3 \
    CPANPLUS::Internals::Report.3 \
    CPANPLUS::Internals::Search.3 \
    CPANPLUS::Internals::Source.3 \
    CPANPLUS::Internals::Source::Memory.3 \
    CPANPLUS::Internals::Source::SQLite.3 \
    CPANPLUS::Internals::Utils.3 \
    CPANPLUS::Module.3 \
    CPANPLUS::Module::Author.3 \
    CPANPLUS::Module::Author::Fake.3 \
    CPANPLUS::Module::Checksums.3 \
    CPANPLUS::Module::Fake.3 \
    CPANPLUS::Selfupdate.3 \
    CPANPLUS::Shell.3 \
    CPANPLUS::Shell::Classic.3 \
    CPANPLUS::Shell::Default.3 \
    CPANPLUS::Shell::Default::Plugins::CustomSource.3 \
    CPANPLUS::Shell::Default::Plugins::HOWTO.3 \
    CPANPLUS::Shell::Default::Plugins::Remote.3 \
    CPANPLUS::Shell::Default::Plugins::Source.3

.include <bsd.port.pre.mk>

# XXX:az pkg-plist
PLIST_SUB+= EXE_FILES="@comment "

post-patch:
    @${REINPLACE_CMD} -e 's/5.009/5.666/; /install_script/d' ${WRKSRC}/Makefile.PL

.if ${PORT_OPTIONS:MTEST_REPORTER}
RUN_DEPENDS+=   p5-Test-Reporter>=0:${PORTSDIR}/devel/p5-Test-Reporter
.endif

.if ${PORT_OPTIONS:MYAML}
RUN_DEPENDS+=   p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML
.endif

.include <bsd.port.post.mk>