Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= WWW-Mechanize |
8 |
PORTNAME= WWW-Mechanize |
9 |
PORTVERSION= 1.20 |
9 |
PORTVERSION= 1.22 |
10 |
CATEGORIES= www perl5 |
10 |
CATEGORIES= www perl5 |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
12 |
MASTER_SITE_SUBDIR= WWW |
12 |
MASTER_SITE_SUBDIR= WWW |
Lines 15-23
Link Here
|
15 |
MAINTAINER= perl@FreeBSD.org |
15 |
MAINTAINER= perl@FreeBSD.org |
16 |
COMMENT= This module is to help you automate interaction with a website |
16 |
COMMENT= This module is to help you automate interaction with a website |
17 |
|
17 |
|
18 |
BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ |
18 |
RUN_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ |
19 |
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL |
19 |
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL |
20 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
20 |
BUILD_DEPENDS= ${RUN_DEPENDS} |
21 |
|
21 |
|
22 |
PERL_CONFIGURE= yes |
22 |
PERL_CONFIGURE= yes |
23 |
CONFIGURE_ARGS+= --mech-dump --nolive |
23 |
CONFIGURE_ARGS+= --mech-dump --nolive |
Lines 40-50
Link Here
|
40 |
.include <bsd.port.pre.mk> |
40 |
.include <bsd.port.pre.mk> |
41 |
|
41 |
|
42 |
.if ${PERL_LEVEL} < 500800 |
42 |
.if ${PERL_LEVEL} < 500800 |
43 |
BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \ |
43 |
RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \ |
44 |
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser |
44 |
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser |
45 |
.if ${PERL_LEVEL} < 500601 |
|
|
46 |
IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again |
47 |
.endif |
48 |
.endif |
45 |
.endif |
49 |
|
46 |
|
50 |
.include <bsd.port.post.mk> |
47 |
.include <bsd.port.post.mk> |