blob: a08a21048a5508f8e4f0ba7a5f5ae06e481d9b99 (
plain)
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
|
# $NetBSD: options.mk,v 1.2 2018/07/04 13:40:24 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pfqueue
PKG_SUPPORTED_OPTIONS= exim postfix socket
PKG_SUGGESTED_OPTIONS= postfix socket
.include "../../mk/bsd.options.mk"
PLIST_VARS+= exim postfix socket
###
### Enable Exim support
###
.if !empty(PKG_OPTIONS:Mexim)
PFQ_BACKENDS+= libpfq_exim.la
PLIST.exim= yes
.endif
###
### Enable Postfix support
###
.if !empty(PKG_OPTIONS:Mpostfix)
PFQ_BACKENDS+= libpfq_postfix2.la
PLIST.postfix= yes
.endif
###
### Enable socket support
###
.if !empty(PKG_OPTIONS:Msocket)
PFQ_BACKENDS+= libpfq_socket.la
PLIST.socket= yes
.endif
SUBST_CLASSES+= backends
SUBST_STAGE.backends= pre-configure
SUBST_MESSAGE.backends= Enabling backends
SUBST_FILES.backends= backends/Makefile.in
SUBST_SED.backends= -e 's|@PFQ_BACKENDS@|${PFQ_BACKENDS:Q}|'
|