openbsd-ports/mail/postfix/snapshot/Makefile
2001-09-28 19:06:29 +00:00

34 lines
795 B
Makefile

# $OpenBSD: Makefile,v 1.24 2001/09/28 19:06:29 jakob Exp $
DISTNAME= snapshot-20010808
PKGNAME= postfix-${DISTNAME}
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
MASTER_SITE_SUBDIR= experimental
FLAVORS= pcre sasl ldap
FLAVOR?=
.if ${FLAVOR:L:Mpcre}
LIB_DEPENDS+= pcre::devel/pcre
MAKE_CCARGS+= -I${LOCALBASE}/include -DHAS_PCRE
MAKE_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
.endif
.if ${FLAVOR:L:Msasl}
LIB_DEPENDS+= sasl::security/cyrus-sasl
MAKE_CCARGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/sasl -DUSE_SASL_AUTH
MAKE_AUXLIBS+= -L${LOCALBASE}/lib -lsasl -lkrb
.endif
.if ${FLAVOR:L:Mldap}
LIB_DEPENDS+= ldap.2:openldap-client-2.*:databases/openldap
MAKE_CCARGS+= -I${LOCALBASE}/include -DHAS_LDAP
MAKE_AUXLIBS+= -L${LOCALBASE}/lib -lldap -llber
.endif
.include <bsd.port.mk>