Lines 1-64
Link Here
|
1 |
# Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com> |
1 |
# Created by: Nils Vogels <nivo+kw+ports.bfa274@is-root.com> |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= dovecot-pigeonhole |
4 |
PORTNAME= dovecot-pigeonhole |
5 |
PORTVERSION= 0.5.10 |
5 |
PORTVERSION= 0.5.11 |
6 |
CATEGORIES= mail |
6 |
CATEGORIES= mail |
7 |
MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/ |
7 |
MASTER_SITES= http://pigeonhole.dovecot.org/releases/${DOVECOTVERSION}/ |
8 |
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION} |
8 |
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION} |
9 |
|
9 |
|
10 |
MAINTAINER= ler@FreeBSD.org |
10 |
MAINTAINER= ler@FreeBSD.org |
11 |
COMMENT= Sieve plugin for the Dovecot 'deliver' LDA and LMTP |
11 |
COMMENT= Sieve plugin for the Dovecot 'deliver' LDA and LMTP |
12 |
|
12 |
|
13 |
LICENSE= LGPL21 |
13 |
LICENSE= LGPL21 |
14 |
|
14 |
|
15 |
BUILD_DEPENDS= dovecot>=2.3.9:mail/dovecot |
15 |
BUILD_DEPENDS= dovecot>=2.3.9:mail/dovecot |
16 |
RUN_DEPENDS= dovecot>=2.3.9:mail/dovecot |
16 |
RUN_DEPENDS= dovecot>=2.3.9:mail/dovecot |
17 |
|
17 |
|
18 |
DOVECOTVERSION= 2.3 |
18 |
DOVECOTVERSION= 2.3 |
19 |
|
19 |
|
20 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ |
21 |
CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ |
22 |
--docdir=${DOCSDIR} \ |
22 |
--docdir=${DOCSDIR} \ |
23 |
--with-dovecot="${LOCALBASE}/lib/dovecot" |
23 |
--with-dovecot="${LOCALBASE}/lib/dovecot" |
24 |
LDFLAGS+= -L${LOCALBASE}/lib |
24 |
LDFLAGS+= -L${LOCALBASE}/lib |
25 |
INSTALL_TARGET= install-strip |
25 |
INSTALL_TARGET= install-strip |
26 |
USES= compiler:c11 libtool ssl |
26 |
USES= compiler:c11 libtool ssl |
27 |
USE_LDCONFIG= ${PREFIX}/lib/dovecot |
27 |
USE_LDCONFIG= ${PREFIX}/lib/dovecot |
28 |
|
28 |
|
29 |
OPTIONS_DEFINE= DOCS LDAP MANAGESIEVE |
29 |
OPTIONS_DEFINE= DOCS LDAP MANAGESIEVE |
30 |
OPTIONS_DEFAULT=MANAGESIEVE GSSAPI_NONE |
30 |
OPTIONS_DEFAULT=MANAGESIEVE GSSAPI_NONE |
31 |
|
31 |
|
32 |
OPTIONS_SINGLE= GSSAPI |
32 |
OPTIONS_SINGLE= GSSAPI |
33 |
OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT |
33 |
OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT |
34 |
OPTIONS_SUB= yes |
34 |
OPTIONS_SUB= yes |
35 |
|
35 |
|
36 |
GSSAPI_DESC= GSSAPI Support (*MUST MATCH* mail/dovecot) |
36 |
GSSAPI_DESC= GSSAPI Support (*MUST MATCH* mail/dovecot) |
37 |
GSSAPI_NONE_DESC= Build without GSSAPI support |
37 |
GSSAPI_NONE_DESC= Build without GSSAPI support |
38 |
GSSAPI_BASE_DESC= Use GSSAPI from base |
38 |
GSSAPI_BASE_DESC= Use GSSAPI from base |
39 |
GSSAPI_HEIMDAL_DESC= Use Heimdal GSSAPI from security/heimdal |
39 |
GSSAPI_HEIMDAL_DESC= Use Heimdal GSSAPI from security/heimdal |
40 |
GSSAPI_MIT_DESC= Use MIT GSSAPI from security/krb5 |
40 |
GSSAPI_MIT_DESC= Use MIT GSSAPI from security/krb5 |
41 |
|
41 |
|
42 |
GSSAPI_BASE_USES= gssapi |
42 |
GSSAPI_BASE_USES= gssapi |
43 |
GSSAPI_HEIMDAL_USES= gssapi:heimdal |
43 |
GSSAPI_HEIMDAL_USES= gssapi:heimdal |
44 |
GSSAPI_MIT_USES= gssapi:mit |
44 |
GSSAPI_MIT_USES= gssapi:mit |
45 |
GSSAPI_NONE_CONFIGURE_OFF= ${GSSAPI_CONFIGURE_ARGS} |
45 |
GSSAPI_NONE_CONFIGURE_OFF= ${GSSAPI_CONFIGURE_ARGS} |
46 |
BUILD_FAIL_MESSAGE= Ensure that ${PORTNAME}'s GSSAPI backend is the same as dovecot2 (make config). |
46 |
BUILD_FAIL_MESSAGE= Ensure that ${PORTNAME}'s GSSAPI backend is the same as dovecot2 (make config). |
47 |
|
47 |
|
48 |
MANAGESIEVE_DESC= ManageSieve support |
48 |
MANAGESIEVE_DESC= ManageSieve support |
49 |
MANAGESIEVE_CONFIGURE_WITH= managesieve |
49 |
MANAGESIEVE_CONFIGURE_WITH= managesieve |
50 |
|
50 |
|
51 |
LDAP_CONFIGURE_WITH= ldap |
51 |
LDAP_CONFIGURE_WITH= ldap |
52 |
LDAP_CPPFLAGS= -I${LOCALBASE}/include |
52 |
LDAP_CPPFLAGS= -I${LOCALBASE}/include |
53 |
LDAP_LDFLAGS= -L${LOCALBASE}/lib |
53 |
LDAP_LDFLAGS= -L${LOCALBASE}/lib |
54 |
LDAP_USE= OPENLDAP=yes |
54 |
LDAP_USE= OPENLDAP=yes |
55 |
|
55 |
|
56 |
PORTDOCS= sieve/extensions/* sieve/plugins/* sieve/locations/* |
56 |
PORTDOCS= sieve/extensions/* sieve/plugins/* sieve/locations/* |
57 |
|
57 |
|
58 |
post-patch: |
58 |
post-patch: |
59 |
@${REINPLACE_CMD} -E '\ |
59 |
@${REINPLACE_CMD} -E '\ |
60 |
s!^(install-data-am:) install-sieve_docDATA!\1!; \ |
60 |
s!^(install-data-am:) install-sieve_docDATA!\1!; \ |
61 |
s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \ |
61 |
s!^(uninstall-am:) uninstall-sieve_docDATA!\1!;' \ |
62 |
${WRKSRC}/doc/Makefile.in |
62 |
${WRKSRC}/doc/Makefile.in |
63 |
|
63 |
|
64 |
.include <bsd.port.mk> |
64 |
.include <bsd.port.mk> |