2013-03-21 04:45:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2013/03/21 08:46:32 ajacoutot Exp $
|
2005-11-27 12:42:48 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= anti-spam SMTP server
|
2012-11-14 07:57:34 -05:00
|
|
|
DISTNAME= avenger-0.8.3
|
2005-11-27 12:42:48 -05:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.mailavenger.org/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
WANTLIB= c crypto m pcap ssl stdc++ lib/db4/db>=4
|
2005-11-27 12:42:48 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/dist/
|
|
|
|
|
2010-11-26 09:50:09 -05:00
|
|
|
LIB_DEPENDS= databases/db/v4
|
2005-11-27 12:42:48 -05:00
|
|
|
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
2005-11-27 12:42:48 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --with-db=${LOCALBASE} \
|
|
|
|
--with-etcdir=${SYSCONFDIR}/avenger
|
2012-03-08 07:13:00 -05:00
|
|
|
CONFIGURE_ENV+= WFLAGS="-Wall"
|
2005-11-27 12:42:48 -05:00
|
|
|
|
2010-07-09 02:01:07 -04:00
|
|
|
MAKE_FLAGS+= CFLAGS+=-DHAVE_GETPEEREID \
|
|
|
|
CXXFLAGS+=-DHAVE_GETPEEREID
|
|
|
|
|
2005-11-27 12:42:48 -05:00
|
|
|
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
|
2005-11-27 12:42:48 -05:00
|
|
|
.else
|
2010-11-09 15:13:25 -05:00
|
|
|
CONFIGURE_ARGS += --disable-sasl
|
2005-11-27 12:42:48 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|