Tweak mail/dovecot2-pigeonhole version 0.4.6
[dports.git] / mail / dovecot2-pigeonhole / Makefile
1 # Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
2 # $FreeBSD$
3
4 PORTNAME=       dovecot-pigeonhole
5 PORTVERSION=    0.4.6
6 CATEGORIES=     mail
7 MASTER_SITES=   http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
8 DISTNAME=       ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
9
10 MAINTAINER=     ler@lerctr.org
11 COMMENT=        Sieve plugin for the Dovecot 'deliver' LDA and LMTP
12
13 LICENSE=        LGPL21
14
15 BUILD_DEPENDS:= dovecot2>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot2
16 RUN_DEPENDS:=   dovecot2>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot2
17
18 DOVECOTVERSION= 2.2
19
20 GNU_CONFIGURE=  yes
21 CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
22                 --without-dovecot-install-dirs \
23                 --docdir=${DOCSDIR} \
24                 --with-dovecot="${LOCALBASE}/lib/dovecot"
25 LDFLAGS+=       -L${LOCALBASE}/lib
26 INSTALL_TARGET= install-strip
27 USES=           libtool
28 USE_LDCONFIG=   ${PREFIX}/lib/dovecot
29 USE_OPENSSL=    yes
30
31 PORTDOCS=       doc/extensions/* doc/plugins/* doc/rfc/*
32
33 post-patch:
34         @${REINPLACE_CMD} -E '\
35         s!^(install-data-am:) install-sieve_docDATA!\1!; \
36                 s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \
37                 ${WRKSRC}/doc/Makefile.in
38
39 .include <bsd.port.mk>