aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-IMAP-Sieve/Makefile
blob: a85eaa69e118f577f6811a4d151fc64a8008c2dc (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:    p5-IMAP-Sieve
# Date created:             25 Apr 2003
# Whom:             Oliver Eikemeier <eikemeier@fillmore-labs.com>
#
# $FreeBSD$
#

PORTNAME=   IMAP-Sieve
PORTVERSION=    0.4.9
PORTREVISION=   1
CATEGORIES= mail perl5
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= websieve
PKGNAMEPREFIX=  p5-
DISTNAME=   websieve-063a

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    Perl module to edit Sieve scripts on an Cyrus IMAP server

RUN_DEPENDS=    ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL

WRKSRC=     ${WRKDIR}/${PERLSIEVENAME}

PERL_CONFIGURE= yes

PERLSIEVENAME=  perlsieve-${PORTVERSION}
PERLSIEVESUFX=  b

post-extract:
    @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
        ${WRKDIR}/${DISTNAME}/${PERLSIEVENAME}${PERLSIEVESUFX}${EXTRACT_SUFX} \
            ${EXTRACT_AFTER_ARGS} -C ${WRKDIR}
    @${RM} ${WRKSRC}/testssl.pl

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 500600
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO
.endif

.include <bsd.port.post.mk>