diff options
author | fhajny <fhajny@pkgsrc.org> | 2009-11-20 13:14:13 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2009-11-20 13:14:13 +0000 |
commit | d0a8fe0885766ef02b8b5c9640bf91545d94fa0c (patch) | |
tree | 9f9fd73dd364fbe0cd5a346f131f6866dcff6954 /mail/pfqueue/options.mk | |
parent | 971c0a0a1062b41158b8911fc151bf32a739fda4 (diff) | |
download | pkgsrc-d0a8fe0885766ef02b8b5c9640bf91545d94fa0c.tar.gz |
Update pfqueue to 0.56
pkgsrc changes:
- Pick backends using options framework
Upstream changes:
Too many changes, please see HOMEPAGE.
Diffstat (limited to 'mail/pfqueue/options.mk')
-rw-r--r-- | mail/pfqueue/options.mk | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mail/pfqueue/options.mk b/mail/pfqueue/options.mk new file mode 100644 index 00000000000..86a069ec7bb --- /dev/null +++ b/mail/pfqueue/options.mk @@ -0,0 +1,40 @@ +# $NetBSD: options.mk,v 1.1 2009/11/20 13:14:13 fhajny 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= post-patch +SUBST_MESSAGE.backends= Enabling backends +SUBST_FILES.backends= backends/Makefile.in +SUBST_SED.backends= -e 's|@PFQ_BACKENDS@|${PFQ_BACKENDS:Q}|' |