43 lines
940 B
Makefile
43 lines
940 B
Makefile
# $OpenBSD: Makefile,v 1.5 2009/03/16 11:40:24 espie Exp $
|
|
|
|
COMMENT= anti-spam SMTP server
|
|
DISTNAME= avenger-0.7.4
|
|
PKGNAME= ${DISTNAME}p1
|
|
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
|
|
LIB_DEPENDS= lib/db4/db.>=4:db->=4,<5:databases/db/v4
|
|
|
|
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>
|