1 # Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
2 # $FreeBSD: mail/dovecot2-pigeonhole/Makefile 323115 2013-07-16 17:51:12Z feld $
4 PORTNAME= dovecot-pigeonhole
8 MASTER_SITES= http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
9 DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
11 MAINTAINER= bra@fsn.hu
12 COMMENT= Sieve plugin for the Dovecot 'deliver' LDA and LMTP
15 LICENSE_FILE= ${WRKSRC}/COPYING
17 BUILD_DEPENDS:= dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot2
18 RUN_DEPENDS:= dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot2
23 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
24 CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
25 --without-dovecot-install-dirs \
27 --with-dovecot="${LOCALBASE}/lib/dovecot"
28 LDFLAGS+= -L${LOCALBASE}/lib
29 USE_LDCONFIG= ${PREFIX}/lib/dovecot
31 MAN1= sieve-dump.1 sieve-filter.1 sieve-test.1 sievec.1 sieved.1
33 PORTDOCS= doc/extensions/* doc/plugins/* doc/rfc/*
35 .include <bsd.port.pre.mk>
38 @${REINPLACE_CMD} -E '\
39 s!^(install-data-am:) install-sieve_docDATA!\1!; \
40 s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \
41 ${WRKSRC}/doc/Makefile.in
46 .include <bsd.port.post.mk>