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

PORTNAME=   imapsync
PORTVERSION=    1.487
CATEGORIES= mail perl5
MASTER_SITES=   https://fedorahosted.org/released/${PORTNAME}/
EXTRACT_SUFX=   .tgz

MAINTAINER= sidh@rtha.info
COMMENT=    IMAP synchronization copy or migration tool

BUILD_DEPENDS=  p5-Mail-IMAPClient>0:${PORTSDIR}/mail/p5-Mail-IMAPClient \
        p5-Term-ReadKey>0:${PORTSDIR}/devel/p5-Term-ReadKey \
        p5-IO-Socket-SSL>0:${PORTSDIR}/security/p5-IO-Socket-SSL
RUN_DEPENDS=    p5-Mail-IMAPClient>0:${PORTSDIR}/mail/p5-Mail-IMAPClient \
        p5-Term-ReadKey>0:${PORTSDIR}/devel/p5-Term-ReadKey \
        p5-IO-Socket-SSL>0:${PORTSDIR}/security/p5-IO-Socket-SSL

USE_PERL5=  yes
NO_BUILD=   yes

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

POD2MAN?=   pod2man

do-patch:
    ${REINPLACE_CMD} \
        -e 's|/usr/bin/perl|${PERL}|g' \
        ${WRKSRC}/${PORTNAME}

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

.include <bsd.port.mk>