summaryrefslogtreecommitdiff
path: root/mail/fetchyahoo/Makefile
blob: 47cd5ddc9d41dcaaf49dbd8c37a4e26036a873d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: trevor
# $FreeBSD$

PORTNAME=	fetchyahoo
PORTVERSION=	2.14.8
CATEGORIES=	mail
MASTER_SITES=	http://fetchyahoo.twizzler.org/

MAINTAINER=	chalpin@cs.wisc.edu
COMMENT=	Download e-mail from a Yahoo account to a Berkeley mailbox

RUN_DEPENDS=	\
	p5-IO-stringy>=0:${PORTSDIR}/devel/p5-IO-stringy \
	p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools \
	p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
	p5-URI>=0:${PORTSDIR}/net/p5-URI \
	p5-Crypt-SSLeay>=0:${PORTSDIR}/security/p5-Crypt-SSLeay \
	p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
	p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
	p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey

MAN1=		fetchyahoo.1
PLIST_DIRS=	share/examples/fetchyahoo
PLIST_FILES=	bin/fetchyahoo share/examples/fetchyahoo/fetchyahoorc
PORTDOCS=	COPYING ChangeLog Credits INSTALL TODO index.html
NO_BUILD=	yes
USES=		perl5

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/fetchyahoo ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
	@${MKDIR} ${EXAMPLESDIR}
	@${INSTALL_DATA} ${WRKSRC}/fetchyahoorc ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for ii in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>