aboutsummaryrefslogtreecommitdiffstats
path: root/mail/gotmail/Makefile
blob: ab9a7add9f5a2affbfbffc1a98df9142f78d477f (plain) (blame)
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
# Created by: Christopher Elkins <chrise@scardini.com>
# $FreeBSD$

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Script to fetch mail from a Hotmail or MSN mailbox

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    curl:ftp/curl \
        p5-URI>=0:net/p5-URI

USES=       perl5 shebangfix
SHEBANG_FILES=  gotmail
NO_ARCH=    yes

PORTDOCS=   ChangeLog README sample.gotmailrc
PLIST_FILES=    bin/gotmail man/man1/gotmail.1.gz

OPTIONS_DEFINE= DOCS

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

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>