summaryrefslogtreecommitdiff
path: root/mail/dcc/options.mk
blob: 82921c6e8202cc84532e783aa642c1674873a903 (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
# $NetBSD: options.mk,v 1.1.1.1 2010/10/27 12:26:37 gdt Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.dcc
PKG_SUPPORTED_OPTIONS=	dccm
PKG_SUGGESTED_OPTIONS=

.include "../../mk/bsd.options.mk"

PLIST_VARS+=		dccm
#
#
#	Enable dccm, the DCC milter interface.
#
#
.if empty(PKG_OPTIONS:Mdccm)
CONFIGURE_ARGS+=	--disable-dccm
.else
RCD_SCRIPTS+=		dccm
PLIST.dccm=		yes
do-install: dccm-install
dccm-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dccm/dccm ${DESTDIR}${PREFIX}/libexec/
.include "../../mail/libmilter/buildlink3.mk"
.endif