summaryrefslogtreecommitdiffstats
path: root/mail/fetchyahoo
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fetchyahoo')
-rw-r--r--mail/fetchyahoo/Makefile60
-rw-r--r--mail/fetchyahoo/distinfo2
-rw-r--r--mail/fetchyahoo/pkg-descr4
3 files changed, 66 insertions, 0 deletions
diff --git a/mail/fetchyahoo/Makefile b/mail/fetchyahoo/Makefile
new file mode 100644
index 0000000..9149845
--- /dev/null
+++ b/mail/fetchyahoo/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: fetchyahoo
+# Date created: 2003-09-27
+# Whom: trevor
+#
+# $FreeBSD$
+#
+
+PORTNAME= fetchyahoo
+PORTVERSION= 2.5.3
+CATEGORIES= mail
+MASTER_SITES= http://fetchyahoo.sourceforge.net/
+
+MAINTAINER= trevor@FreeBSD.org
+COMMENT= Download e-mail from a Yahoo account to a Berkeley mailbox
+
+RUN_DEPENDS= \
+ encode-base64:${PORTSDIR}/converters/p5-MIME-Base64 \
+ ${SITE_PERL}/IO/Lines.pm:${PORTSDIR}/devel/p5-IO-stringy \
+ ${SITE_PERL}/MIME/Body.pm:${PORTSDIR}/mail/p5-MIME-Tools \
+ ${SITE_PERL}/Mail/Address.pm:${PORTSDIR}/mail/p5-Mail-Tools \
+ ${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net \
+ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/mach/Crypt/SSLeay.pm:${PORTSDIR}/security/p5-Crypt-SSLeay \
+ ${LOCALBASE}/include/w3c-libwww/HTANSI.h:${PORTSDIR}/www/libwww \
+ ${SITE_PERL}/mach/HTML/Filter.pm:${PORTSDIR}/www/p5-HTML-Parser
+
+DOCS= COPYING ChangeLog Credits INSTALL TODO index.html
+MAN1= fetchyahoo.1
+NO_BUILD= yes
+PLIST= ${WRKDIR}/pkg-plist
+USE_PERL5= yes
+WRKSRC= ${WRKDIR}/fetchyahoo-2.5
+
+.include <bsd.port.pre.mk>
+
+do-patch:
+# Use an RFC 2606 domain: myhost.com is registered.
+ ${PERL} -pi -e "s:myhost.com:example:g" ${WRKSRC}/fetchyahoorc
+
+pre-install:
+ ${ECHO_CMD} bin/fetchyahoo.pl > ${PLIST}
+.if !defined(NOPORTDOCS)
+ ${ECHO_CMD} share/examples/fetchyahoo/fetchyahoorc >> ${PLIST}
+.for ii in ${DOCS}
+ ${ECHO_CMD} share/doc/fetchyahoo/${ii} >> ${PLIST}
+.endfor
+.endif
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/fetchyahoo.pl ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${EXAMPLESDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/fetchyahoorc ${EXAMPLESDIR}
+.for ii in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/fetchyahoo/distinfo b/mail/fetchyahoo/distinfo
new file mode 100644
index 0000000..4c9b7a0
--- /dev/null
+++ b/mail/fetchyahoo/distinfo
@@ -0,0 +1,2 @@
+$FreeBSD$
+MD5 (fetchyahoo-2.5.3.tar.gz) = 0b84b4ce9fef1d0081e9e0f7499e1cdd
diff --git a/mail/fetchyahoo/pkg-descr b/mail/fetchyahoo/pkg-descr
new file mode 100644
index 0000000..732b8513
--- /dev/null
+++ b/mail/fetchyahoo/pkg-descr
@@ -0,0 +1,4 @@
+This is a script for downloading e-mail from a Yahoo account into
+a Berkeley-formatted mailbox file.
+
+WWW: http://fetchyahoo.sourceforge.net/
OpenPOWER on IntegriCloud