aboutsummaryrefslogtreecommitdiffstats
path: root/mail/imapsync/Makefile
blob: 8d2538047791e28003cd45596212550fd5f3023c (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
40
41
# New ports collection makefile for:    imapsync
# Date created:     14 Jan 2005
# Whom:         Alex Deiter <tiamat@komi.mts.ru>
#
# $FreeBSD$
#

PORTNAME=   imapsync
PORTVERSION=    1.213
CATEGORIES= mail perl5
MASTER_SITES=   http://www.linux-france.org/prj/imapsync/dist/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@christianserving.org
COMMENT=    IMAP synchronization copy or migration tool

BUILD_DEPENDS=  ${SITE_PERL}/Mail/IMAPClient.pm:${PORTSDIR}/mail/p5-Mail-IMAPClient \
        ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
        ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \
        ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_PERL5=  yes
NO_BUILD=   yes
POD2MAN?=   pod2man

PLIST_FILES=    bin/${PORTNAME}
MAN1=       ${PORTNAME}.1

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=     requires Perl 5.6 or newer. Install lang/perl5.8 and try again
.endif

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

.include <bsd.port.post.mk>