aboutsummaryrefslogtreecommitdiffstats
path: root/mail/imapsync/Makefile
blob: 020d76910a80dc1a75e4148b04aa8e2b33ea26fe (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
43
44
45
46
47
# Created by: Alex Deiter <tiamat@komi.mts.ru>
# $FreeBSD$

PORTNAME=   imapsync
PORTVERSION=    1.727
PORTREVISION=   1
DISTVERSIONPREFIX=  v
CATEGORIES= mail perl5
MASTER_SITES=   https://codeload.github.com/imapsync/imapsync/tar.gz/imapsync-${PORTVERSION}?dummy=/

MAINTAINER= pi@FreeBSD.org
COMMENT=    IMAP synchronization, copy or migration tool

LICENSE=    NO_LIMIT_PUBLIC_LICENSE
LICENSE_NAME=   NO LIMIT PUBLIC LICENSE
LICENSE_FILE=   ${WRKSRC}/LICENSE
LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

RUN_DEPENDS=    p5-Mail-IMAPClient>0:mail/p5-Mail-IMAPClient \
        p5-Term-ReadKey>0:devel/p5-Term-ReadKey \
        p5-IO-Tee>0:devel/p5-IO-Tee \
        p5-Readonly>0:devel/p5-Readonly \
        p5-IO-Socket-SSL>0:security/p5-IO-Socket-SSL \
        p5-Unicode-String>0:converters/p5-Unicode-String \
        p5-File-Copy-Recursive>0:devel/p5-File-Copy-Recursive

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}

USES=       cpe perl5 tar:tgz shebangfix
SHEBANG_FILES=  ${PORTNAME}

CPE_VENDOR= gilles_lamiral
NO_BUILD=   yes
NO_ARCH=    yes

PORTSCOUT=  limit:^1\.(\d\.){3}

PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz

POD2MAN?=   pod2man

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

.include <bsd.port.mk>