openbsd-ports/mail/postfix/snapshot/Makefile

26 lines
517 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.130 2006/05/25 16:36:49 jakob Exp $
VERSION= 2.3-20060518
2001-09-14 19:48:45 -04:00
2002-05-15 02:20:04 -04:00
MASTER_SITES= ${MASTER_SITE_POSTFIX:=experimental/}
2005-12-25 02:13:45 -05:00
MAKE_CCARGS+= -DUSE_SASL_AUTH
FLAVORS+= dovecot
2005-12-25 02:13:45 -05:00
FLAVOR?=
.if ${FLAVOR:L:Msasl2} && ${FLAVOR:L:Mdovecot}
ERRORS+= "Fatal: Choose only one flavor: sasl2 or dovecot"
.endif
.if ${FLAVOR:L:Mdovecot}
RUN_DEPENDS+= ::mail/dovecot
MAKE_CCARGS+= -DUSE_SASL_AUTH -DDEF_SASL_SERVER="dovecot"
.endif
2005-12-25 02:13:45 -05:00
.if ${FLAVOR:L:Msasl2}
MAKE_CCARGS+= -DUSE_CYRUS_SASL
.endif
.include <bsd.port.mk>