Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= cpan-upload |
8 |
PORTNAME= cpan-upload |
9 |
PORTVERSION= 2.2 |
9 |
PORTVERSION= 2.2 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= devel perl5 |
11 |
CATEGORIES= devel perl5 |
11 |
MASTER_SITES= CPAN |
12 |
MASTER_SITES= CPAN |
12 |
MASTER_SITE_SUBDIR= ../by-authors/id/N/NE/NEILB/scripts |
13 |
MASTER_SITE_SUBDIR= ../by-authors/id/N/NE/NEILB/scripts |
Lines 14-28
Link Here
|
14 |
MAINTAINER= lth@FreeBSD.org |
15 |
MAINTAINER= lth@FreeBSD.org |
15 |
COMMENT= Script for uploading distributions to CPAN |
16 |
COMMENT= Script for uploading distributions to CPAN |
16 |
|
17 |
|
17 |
BUILD_DEPENDS= ${SITE_PERL}/AppConfig/Std.pm:${PORTSDIR}/devel/p5-AppConfig-Std \ |
18 |
RUN_DEPENDS= p5-AppConfig-Std>=1.05:${PORTSDIR}/devel/p5-AppConfig-Std \ |
18 |
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser \ |
19 |
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \ |
19 |
${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \ |
20 |
p5-libwww>=0:${PORTSDIR}/www/p5-libwww |
20 |
${SITE_PERL}/HTTP/Request/Common.pm:${PORTSDIR}/www/p5-libwww \ |
21 |
BUILD_DEPENDS= ${RUN_DEPENDS} |
21 |
${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey |
|
|
22 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
23 |
|
22 |
|
24 |
PERL_CONFIGURE= yes |
23 |
PERL_CONFIGURE= yes |
25 |
|
24 |
|
26 |
MAN1= cpan-upload.1 |
25 |
MAN1= cpan-upload.1 |
27 |
|
26 |
|
28 |
.include <bsd.port.mk> |
27 |
.include <bsd.port.pre.mk> |
|
|
28 |
|
29 |
.if ${PERL_LEVEL} < 500703 |
30 |
RUN_DEPENDS+= p5-Net>=2.28:${PORTSDIR}/net/p5-Net |
31 |
.endif |
32 |
|
33 |
.include <bsd.port.post.mk> |