2007-10-25 17:05:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2007/10/25 21:05:33 steven Exp $
|
2005-11-27 12:42:48 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= anti-spam SMTP server
|
2006-02-20 16:10:40 -05:00
|
|
|
DISTNAME= avenger-0.7.4
|
2007-10-25 17:05:33 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2005-11-27 12:42:48 -05:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.mailavenger.org/
|
|
|
|
|
|
|
|
MAINTAINER= David Mazieres (http://www.scs.stanford.edu/~dm/addr/)
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WANTLIB= c crypto m pcap ssl stdc++
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/dist/
|
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
2007-10-25 17:05:33 -04:00
|
|
|
LIB_DEPENDS= lib/db4/db.>=4:db-4.*:databases/db/v4
|
2005-11-27 12:42:48 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --with-db=${LOCALBASE} \
|
|
|
|
--with-etcdir=${SYSCONFDIR}/avenger
|
|
|
|
CONFIGURE_ENV+= WFLAGS="-Wall" \
|
|
|
|
sfs_cv_dev_random="/dev/arandom"
|
|
|
|
|
|
|
|
FLAVORS= sasl2
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Msasl2}
|
|
|
|
CONFIGURE_ARGS+= --enable-sasl
|
|
|
|
LIB_DEPENDS+= sasl2::security/cyrus-sasl2
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-sasl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|