2002-05-27 17:05:05 +02:00
|
|
|
# New ports collection makefile for: POE-Component-Client-FTP
|
|
|
|
# Date created: 17 March 2002
|
|
|
|
# Whom: Sergey Skvortsov <skv@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= POE-Component-Client-FTP
|
2003-05-21 13:34:43 +02:00
|
|
|
PORTVERSION= 0.07
|
2002-05-27 17:05:05 +02:00
|
|
|
CATEGORIES= ftp perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= POE
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Implements an FTP client POE Component
|
2002-05-27 17:05:05 +02:00
|
|
|
|
2003-05-21 13:34:43 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE
|
2002-05-27 17:05:05 +02:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= POE::Component::Client::FTP.3
|
|
|
|
|
2003-05-21 13:34:43 +02:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e '$$_="" if /^use warnings/; s/\x0d(?=\x0a)//;' \
|
|
|
|
${WRKSRC}/FTP.pm
|
|
|
|
|
2002-05-27 17:05:05 +02:00
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/samples/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|