blob: 8e464ea423c87d438954cff4c9330bf29a5e3849 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
# Makefile.features
# Author: Hirohisa Yamaguchi <umq@ueo.co.jp>
#
# This file is used to tune build time options.
# Please refer FEATURES file distributed with the source for details.
#
# $FreeBSD$
#
.if defined(WITH_ADSP_LISTS) && !defined(WITHOUT_ADSP_LISTS)
CONFIGURE_ARGS+= --enable-adsp_lists
.endif
.if defined(WITH_ALLSYMBOLS) && !defined(WITHOUT_ALLSYMBOLS)
CONFIGURE_ARGS+= --enable-allsymbols
.endif
.if defined(WITH_BODYLENGTH_DB) && !defined(WITHOUT_BODYLENGTH_DB)
CONFIGURE_ARGS+= --enable-bodylength_db
.endif
.if defined(WITH_CAPTURE_UNKNOWN_ERRORS) && !defined(WITHOUT_CAPTURE_UNKNOWN_ERRORS)
CONFIGURE_ARGS+= --enable-capture_unknown_errors
.endif
.if defined(WITH_CODECOVERAGE) && !defined(WITHOUT_CODECOVERAGE)
CONFIGURE_ARGS+= --enable-codecoverage
.endif
.if defined(WITH_DEFAULT_SENDER) && !defined(WITHOUT_DEFAULT_SENDER)
CONFIGURE_ARGS+= --enable-default_sender
.endif
.if defined(WITH_DIFFHEADERS) && !defined(WITHOUT_DIFFHEADERS)
CONFIGURE_ARGS+= --enable-diffheaders
LIB_DEPENDS+= tre:${PORTSDIR}/textproc/libtre
.endif
.if defined(WITH_DKIM_REPUTATION) && !defined(WITHOUT_DKIM_REPUTATION)
CONFIGURE_ARGS+= --enable-dkim_reputation
.endif
.if defined(WITH_IDENTITY_HEADER) && !defined(WITHOUT_IDENTITY_HEADER)
CONFIGURE_ARGS+= --enable-identity_header
.endif
.if defined(WITH_LDAP_CACHING) && !defined(WITHOUT_LDAP_CACHING)
WITH_OPENLDAP= yes
CONFIGURE_ARGS+= --enable-ldap_caching
.endif
.if defined(WITH_PARSE_TIME) && !defined(WITHOUT_PARSE_TIME)
BROKEN= The feature ``_FFR_PARSE_TIME'' is incomplete, does not work
CONFIGURE_ARGS+= --enable-parsetime
.endif
.if defined(WITH_REDIRECT) && !defined(WITHOUT_REDIRECT)
CONFIGURE_ARGS+= --enable-redirect
.endif
.if defined(WITH_REPLACE_RULES) && !defined(WITHOUT_REPLACE_RULES)
CONFIGURE_ARGS+= --enable-replace_rules
.endif
.if defined(WITH_REPORT_INTERVALS) && !defined(WITHOUT_REPORT_INTERVALS)
CONFIGURE_ARGS+= --enable-report_intervals
.endif
.if defined(WITH_RESIGN) && !defined(WITHOUT_RESIGN)
CONFIGURE_ARGS+= --enable-resign
.endif
.if defined(WITH_SELECT_CANONICALIZATION) && !defined(WITHOUT_SELECT_CANONICALIZATION)
CONFIGURE_ARGS+= --enable-select_canonicalization
.endif
.if defined(WITH_SELECTOR_HEADER) && !defined(WITHOUT_SELECTOR_HEADER)
CONFIGURE_ARGS+= --enable-selector_header
.endif
.if defined(WITH_SENDER_MACRO) && !defined(WITHOUT_SENDER_MACRO)
CONFIGURE_ARGS+= --enable-sender_macro
.endif
.if defined(WITH_STATS) || defined(WITH_STATS_I) || defined(WITH_STATSEXT)
CONFIGURE_ARGS+= --enable-stats
MAN8+= opendkim-stats.8
PLIST_SUB+= STATS=""
.else
PLIST_SUB+= STATS="@comment "
.endif
.if defined(WITH_STATS_I) && !defined(WITHOUT_STATS_I)
CONFIGURE_ARGS+= --enable-stats_i
.endif
.if defined(WITH_STATSEXT) && !defined(WITHOUT_STATSEXT)
CONFIGURE_ARGS+= --enable-statsext
.endif
.if defined(WITH_VBR) && !defined(WITHOUT_VBR)
CONFIGURE_ARGS+= --enable-vbr
.endif
|