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