summaryrefslogtreecommitdiff
path: root/ftp/p5-POE-Component-Client-FTP/Makefile
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2003-05-21 11:34:43 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2003-05-21 11:34:43 +0000
commit596bd5315504b6d98acf41fc77dc6cd5569c39fc (patch)
tree12561ac4a1de1eac4fdf17dbbd39e8d442acfb13 /ftp/p5-POE-Component-Client-FTP/Makefile
parentUpdated to 0.05 (diff)
Updated to 0.07
PR: ports/52230
Notes
Notes: svn path=/head/; revision=81598
Diffstat (limited to 'ftp/p5-POE-Component-Client-FTP/Makefile')
-rw-r--r--ftp/p5-POE-Component-Client-FTP/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/ftp/p5-POE-Component-Client-FTP/Makefile b/ftp/p5-POE-Component-Client-FTP/Makefile
index 583bf9b68232..70ed4390cb34 100644
--- a/ftp/p5-POE-Component-Client-FTP/Makefile
+++ b/ftp/p5-POE-Component-Client-FTP/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= POE-Component-Client-FTP
-PORTVERSION= 0.05
+PORTVERSION= 0.07
CATEGORIES= ftp perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= POE
@@ -15,15 +15,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Implements an FTP client POE Component
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/POE.pm:${PORTSDIR}/devel/p5-POE
+BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE
RUN_DEPENDS= ${BUILD_DEPENDS}
-PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
PERL_CONFIGURE= yes
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= POE::Component::Client::FTP.3
+post-patch:
+ @${PERL} -pi -e '$$_="" if /^use warnings/; s/\x0d(?=\x0a)//;' \
+ ${WRKSRC}/FTP.pm
+
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"