summaryrefslogtreecommitdiff
path: root/mail/avenger/Makefile
blob: 87464c0974adf89d3f99158dd4b32f954a71f801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.12 2012/09/09 18:30:18 cheusov Exp $

DISTNAME=	avenger-0.8.2
PKGREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://www.mailavenger.org/dist/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.mailavenger.org/
COMMENT=	SMTP server with filtering capabilities
LICENSE=	gnu-gpl-v2 OR gnu-gpl-v3

PKG_DESTDIR_SUPPORT=	user-destdir

CONFLICTS=		deliver-[0-9]*

BDB_ACCEPTED=		db4 db5
USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
USE_TOOLS+=		perl
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-db=${BDBBASE}
CONFIGURE_ARGS+=	--with-etcdir=${PKG_SYSCONFDIR}
CONFIGURE_ENV+=		BDB_TYPE="${BDB_TYPE}"
PKG_SYSCONFSUBDIR=	avenger

LDFLAGS.SunOS+=		-lsocket -lnsl
CFLAGS.SunOS+=		-DDBM_RDONLY=O_RDONLY

.include "options.mk"

.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"