2012-09-27 00:51:03 +02:00
|
|
|
# Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
|
2010-11-27 07:01:33 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dovecot-pigeonhole
|
2019-04-30 23:33:30 +02:00
|
|
|
PORTVERSION= 0.5.6
|
2010-11-27 07:01:33 +01:00
|
|
|
CATEGORIES= mail
|
2014-05-19 09:45:14 +02:00
|
|
|
MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/
|
2010-11-27 07:01:33 +01:00
|
|
|
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
|
|
|
|
|
2017-01-11 01:28:13 +01:00
|
|
|
MAINTAINER= ler@FreeBSD.org
|
2012-12-02 13:11:34 +01:00
|
|
|
COMMENT= Sieve plugin for the Dovecot 'deliver' LDA and LMTP
|
2010-11-27 07:01:33 +01:00
|
|
|
|
2012-05-29 10:51:15 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2019-04-30 23:33:30 +02:00
|
|
|
BUILD_DEPENDS= dovecot>=2.3.6:mail/dovecot
|
|
|
|
RUN_DEPENDS= dovecot>=2.3.6:mail/dovecot
|
2010-11-27 07:01:33 +01:00
|
|
|
|
2018-04-01 19:10:31 +02:00
|
|
|
DOVECOTVERSION= 2.3
|
2010-11-27 07:01:33 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2013-07-16 19:51:12 +02:00
|
|
|
CONFIGURE_ARGS= --exec-prefix=${PREFIX} \
|
|
|
|
--without-dovecot-install-dirs \
|
2010-11-27 07:01:33 +01:00
|
|
|
--docdir=${DOCSDIR} \
|
|
|
|
--with-dovecot="${LOCALBASE}/lib/dovecot"
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2014-07-24 20:34:16 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2016-07-07 21:12:11 +02:00
|
|
|
USES= compiler:c11 libtool ssl
|
2010-11-27 07:01:33 +01:00
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/dovecot
|
|
|
|
|
2018-04-22 23:35:38 +02:00
|
|
|
CONFLICTS_INSTALL= dovecot-pigeonhole04
|
|
|
|
|
2016-07-01 04:46:19 +02:00
|
|
|
OPTIONS_DEFINE= DOCS LDAP MANAGESIEVE
|
2016-07-15 16:31:18 +02:00
|
|
|
OPTIONS_DEFAULT=MANAGESIEVE GSSAPI_NONE
|
|
|
|
|
|
|
|
OPTIONS_SINGLE= GSSAPI
|
|
|
|
OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
2016-04-17 18:38:10 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2017-08-07 23:44:00 +02:00
|
|
|
GSSAPI_DESC= GSSAPI Support (*MUST MATCH* mail/dovecot)
|
2016-07-15 16:31:18 +02:00
|
|
|
GSSAPI_NONE_DESC= Build without GSSAPI support
|
|
|
|
GSSAPI_BASE_DESC= Use GSSAPI from base
|
|
|
|
GSSAPI_HEIMDAL_DESC= Use Heimdal GSSAPI from security/heimdal
|
|
|
|
GSSAPI_MIT_DESC= Use MIT GSSAPI from security/krb5
|
|
|
|
|
|
|
|
GSSAPI_BASE_USES= gssapi
|
|
|
|
GSSAPI_HEIMDAL_USES= gssapi:heimdal
|
|
|
|
GSSAPI_MIT_USES= gssapi:mit
|
|
|
|
GSSAPI_NONE_CONFIGURE_OFF= ${GSSAPI_CONFIGURE_ARGS}
|
|
|
|
BUILD_FAIL_MESSAGE= Ensure that ${PORTNAME}'s GSSAPI backend is the same as dovecot2 (make config).
|
|
|
|
|
2016-04-17 18:38:10 +02:00
|
|
|
MANAGESIEVE_DESC= ManageSieve support
|
|
|
|
MANAGESIEVE_CONFIGURE_WITH= managesieve
|
|
|
|
|
2016-07-01 04:46:19 +02:00
|
|
|
LDAP_CONFIGURE_WITH= ldap
|
|
|
|
LDAP_CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDAP_LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
LDAP_USE= OPENLDAP=yes
|
|
|
|
|
2015-05-17 09:25:49 +02:00
|
|
|
PORTDOCS= sieve/extensions/* sieve/plugins/* sieve/locations/*
|
2010-11-27 07:01:33 +01:00
|
|
|
|
|
|
|
post-patch:
|
2012-05-29 10:51:15 +02:00
|
|
|
@${REINPLACE_CMD} -E '\
|
2013-07-16 19:51:12 +02:00
|
|
|
s!^(install-data-am:) install-sieve_docDATA!\1!; \
|
2012-05-29 10:51:15 +02:00
|
|
|
s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
2010-11-27 07:01:33 +01:00
|
|
|
|
2013-10-02 01:24:09 +02:00
|
|
|
.include <bsd.port.mk>
|