Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= CPANPLUS |
8 |
PORTNAME= CPANPLUS |
9 |
PORTVERSION= 0.8400 |
9 |
PORTVERSION= 0.8400 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= devel perl5 |
11 |
CATEGORIES= devel perl5 |
11 |
MASTER_SITES= CPAN |
12 |
MASTER_SITES= CPAN |
12 |
PKGNAMEPREFIX= p5- |
13 |
PKGNAMEPREFIX= p5- |
Lines 15-39
Link Here
|
15 |
MAINTAINER= clsung@FreeBSD.org |
16 |
MAINTAINER= clsung@FreeBSD.org |
16 |
COMMENT= Ameliorated interface to the CPAN |
17 |
COMMENT= Ameliorated interface to the CPAN |
17 |
|
18 |
|
18 |
BUILD_DEPENDS= p5-File-Fetch>=0.07:${PORTSDIR}/ftp/p5-File-Fetch \ |
19 |
RUN_DEPENDS= p5-Module-Signature>=0:${PORTSDIR}/security/p5-Module-Signature |
19 |
p5-IPC-Cmd>=0.24:${PORTSDIR}/devel/p5-IPC-Cmd \ |
|
|
20 |
p5-Locale-Maketext-Simple>0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ |
21 |
p5-Log-Message>0:${PORTSDIR}/devel/p5-Log-Message \ |
22 |
p5-Module-Load>=0.10:${PORTSDIR}/devel/p5-Module-Load \ |
23 |
p5-Module-Load-Conditional>=0.07:${PORTSDIR}/devel/p5-Module-Load-Conditional \ |
24 |
p5-Params-Check>=0.22:${PORTSDIR}/devel/p5-Params-Check \ |
25 |
p5-Package-Constants>0:${PORTSDIR}/devel/p5-Package-Constants \ |
26 |
p5-Term-UI>=0.05:${PORTSDIR}/devel/p5-Term-UI \ |
27 |
p5-Test-Harness>=2.62:${PORTSDIR}/devel/p5-Test-Harness \ |
28 |
p5-Test-Simple>=0.47:${PORTSDIR}/devel/p5-Test-Simple \ |
29 |
p5-Archive-Extract>=0.07:${PORTSDIR}/archivers/p5-Archive-Extract \ |
30 |
p5-Archive-Tar>=1.23:${PORTSDIR}/archivers/p5-Archive-Tar \ |
31 |
p5-IO-Zlib>=1.04:${PORTSDIR}/archivers/p5-IO-Zlib \ |
32 |
p5-Object-Accessor>=0.03:${PORTSDIR}/devel/p5-Object-Accessor \ |
33 |
p5-Module-CoreList>=1.97:${PORTSDIR}/devel/p5-Module-CoreList \ |
34 |
p5-Module-Pluggable>=2.4:${PORTSDIR}/devel/p5-Module-Pluggable \ |
35 |
p5-Module-Loaded>0:${PORTSDIR}/devel/p5-Module-Loaded |
36 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
37 |
|
20 |
|
38 |
USE_PERL5= 5.6.1+ |
21 |
USE_PERL5= 5.6.1+ |
39 |
PERL_CONFIGURE= yes |
22 |
PERL_CONFIGURE= yes |
Lines 43-60
Link Here
|
43 |
OPTIONS= TEST_REPORTER "Send reports to cpan-testers" off \ |
26 |
OPTIONS= TEST_REPORTER "Send reports to cpan-testers" off \ |
44 |
YAML "Check reports from cpan-testers" off |
27 |
YAML "Check reports from cpan-testers" off |
45 |
|
28 |
|
46 |
.include <bsd.port.pre.mk> |
|
|
47 |
|
48 |
.if defined(WITH_TEST_REPORTER) |
49 |
BUILD_DEPENDS+= ${SITE_PERL}/Test/Reporter.pm:${PORTSDIR}/devel/p5-Test-Reporter |
50 |
RUN_DEPENDS+= ${SITE_PERL}/Test/Reporter.pm:${PORTSDIR}/devel/p5-Test-Reporter |
51 |
.endif |
52 |
|
53 |
.if defined(WITH_YAML) |
54 |
BUILD_DEPENDS+= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML |
55 |
RUN_DEPENDS+= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML |
56 |
.endif |
57 |
|
58 |
MAN1= cpanp.1 cpan2dist.1 |
29 |
MAN1= cpanp.1 cpan2dist.1 |
59 |
MAN3= CPANPLUS.3 \ |
30 |
MAN3= CPANPLUS.3 \ |
60 |
CPANPLUS::Backend.3 \ |
31 |
CPANPLUS::Backend.3 \ |
Lines 90-101
Link Here
|
90 |
CPANPLUS::Shell::Default::Plugins::Source.3 \ |
61 |
CPANPLUS::Shell::Default::Plugins::Source.3 \ |
91 |
CPANPLUS::inc.3 |
62 |
CPANPLUS::inc.3 |
92 |
|
63 |
|
93 |
post-patch: |
64 |
.include <bsd.port.pre.mk> |
94 |
@${FIND} ${WRKSRC} -name "*\.orig" -delete |
|
|
95 |
|
65 |
|
96 |
post-configure: |
66 |
.if ${PERL_LEVEL} < 500703 |
97 |
@${REINPLACE_CMD} -Ee \ |
67 |
RUN_DEPENDS+= p5-Digest-MD5>=0.0:${PORTSDIR}/security/p5-Digest-MD5 \ |
98 |
"s|('base' => )'.*(/.cpanplus)',|\1\"\$$ENV{'HOME'}\2\",|" \ |
68 |
p5-Storable>=0.0:${PORTSDIR}/devel/p5-Storable |
99 |
${WRKSRC}/lib/CPANPLUS/Config.pm |
69 |
.endif |
|
|
70 |
|
71 |
.if ${PERL_LEVEL} < 500808 |
72 |
RUN_DEPENDS+= p5-ExtUtils-MakeMaker>=0:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker |
73 |
.endif |
74 |
|
75 |
.if ${PERL_LEVEL} < 500904 |
76 |
RUN_DEPENDS+= p5-Module-Load>=0.10:${PORTSDIR}/devel/p5-Module-Load \ |
77 |
p5-Module-Loaded>=0.01:${PORTSDIR}/devel/p5-Module-Loaded \ |
78 |
p5-Package-Constants>=0.01:${PORTSDIR}/devel/p5-Package-Constants |
79 |
.endif |
80 |
|
81 |
.if ${PERL_LEVEL} < 500905 |
82 |
RUN_DEPENDS+= p5-Archive-Extract>=0.16:${PORTSDIR}/archivers/p5-Archive-Extract \ |
83 |
p5-IPC-Cmd>=0.36:${PORTSDIR}/devel/p5-IPC-Cmd \ |
84 |
p5-Locale-Maketext-Simple>=0.01:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ |
85 |
p5-Log-Message>=0.01:${PORTSDIR}/devel/p5-Log-Message \ |
86 |
p5-Module-CoreList>=2.09:${PORTSDIR}/devel/p5-Module-CoreList \ |
87 |
p5-Module-Pluggable>=2.4:${PORTSDIR}/devel/p5-Module-Pluggable \ |
88 |
p5-Object-Accessor>=0.32:${PORTSDIR}/devel/p5-Object-Accessor \ |
89 |
p5-Params-Check>=0.22:${PORTSDIR}/devel/p5-Params-Check |
90 |
.endif |
91 |
|
92 |
.if ${PERL_LEVEL} < 501000 |
93 |
RUN_DEPENDS+= p5-File-Fetch>=0.13_04:${PORTSDIR}/ftp/p5-File-Fetch \ |
94 |
p5-Module-Load-Conditional>=0.18:${PORTSDIR}/devel/p5-Module-Load-Conditional \ |
95 |
p5-Term-UI>=0.18:${PORTSDIR}/devel/p5-Term-UI |
96 |
.endif |
97 |
|
98 |
.if defined(WITH_TEST_REPORTER) |
99 |
RUN_DEPENDS+= ${SITE_PERL}/Test/Reporter.pm:${PORTSDIR}/devel/p5-Test-Reporter |
100 |
.endif |
101 |
|
102 |
.if defined(WITH_YAML) |
103 |
RUN_DEPENDS+= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML |
104 |
.endif |
100 |
|
105 |
|
101 |
.include <bsd.port.post.mk> |
106 |
.include <bsd.port.post.mk> |