openbsd-ports/mail/avenger/Makefile

43 lines
880 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.21 2012/11/14 12:57:34 gonzalo Exp $
COMMENT= anti-spam SMTP server
DISTNAME= avenger-0.8.3
CATEGORIES= mail
HOMEPAGE= http://www.mailavenger.org/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-19 02:23:05 -05:00
WANTLIB= c crypto m pcap ssl stdc++ lib/db4/db>=4
MASTER_SITES= ${HOMEPAGE}/dist/
USE_LIBTOOL= Yes
LIB_DEPENDS= databases/db/v4
SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-db=${LOCALBASE} \
--with-etcdir=${SYSCONFDIR}/avenger
CONFIGURE_ENV+= WFLAGS="-Wall"
MAKE_FLAGS+= CFLAGS+=-DHAVE_GETPEEREID \
CXXFLAGS+=-DHAVE_GETPEEREID
FLAVORS= sasl2
FLAVOR?=
2011-12-02 09:36:13 -05:00
.if ${FLAVOR:Msasl2}
2010-11-09 15:13:25 -05:00
CONFIGURE_ARGS += --enable-sasl
2010-11-19 02:23:05 -05:00
LIB_DEPENDS += security/cyrus-sasl2
2010-11-09 15:13:25 -05:00
WANTLIB += sasl2
.else
2010-11-09 15:13:25 -05:00
CONFIGURE_ARGS += --disable-sasl
.endif
.include <bsd.port.mk>