aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dovecot2-pigeonhole/Makefile
blob: 1971d1e42663c34b2151ab0601c12aaa2a6c65b3 (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: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
# $FreeBSD$

PORTNAME=   dovecot-pigeonhole
PORTVERSION=    0.4.6
CATEGORIES= mail
MASTER_SITES=   http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
DISTNAME=   ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}

MAINTAINER= ler@lerctr.org
COMMENT=    Sieve plugin for the Dovecot 'deliver' LDA and LMTP

LICENSE=    LGPL21

BUILD_DEPENDS:= dovecot2>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot2
RUN_DEPENDS:=   dovecot2>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot2

DOVECOTVERSION= 2.2

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
        --without-dovecot-install-dirs \
        --docdir=${DOCSDIR} \
        --with-dovecot="${LOCALBASE}/lib/dovecot"
LDFLAGS+=   -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES=       libtool
USE_LDCONFIG=   ${PREFIX}/lib/dovecot
USE_OPENSSL=    yes

PORTDOCS=   doc/extensions/* doc/plugins/* doc/rfc/*

post-patch:
    @${REINPLACE_CMD} -E '\
    s!^(install-data-am:) install-sieve_docDATA!\1!; \
        s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \
        ${WRKSRC}/doc/Makefile.in

.include <bsd.port.mk>