diff options
Diffstat (limited to 'ftp/p5-POE-Component-Client-FTP/Makefile')
-rw-r--r-- | ftp/p5-POE-Component-Client-FTP/Makefile | 10 |
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}" |