summaryrefslogtreecommitdiff
path: root/mail/gotmail/Makefile
blob: 0acc5e62157390dfdc57e8020d5bd9087488640e (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
# Created by: Christopher Elkins <chrise@scardini.com>
# $FreeBSD$

PORTNAME=	gotmail
PORTVERSION=	0.9.0
PORTREVISION=	2
CATEGORIES=	mail perl5
MASTER_SITES=	SF

MAINTAINER=	araujo@FreeBSD.org
COMMENT=	A script to fetch mail from a Hotmail or MSN mailbox

RUN_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-Net>=0:${PORTSDIR}/net/p5-Net

MAN1=		${PORTNAME}.1
USES=		perl5

NO_STAGE=	yes
do-install:
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
		${MANPREFIX}/man/man1/${PORTNAME}.1
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for i in ChangeLog README sample.gotmailrc
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor # i in ChangeLog README sample.gotmailrc
.endif # !defined(NOPORTDOCS)

.include <bsd.port.mk>