File:  [cvs.NetBSD.org] / pkgsrc / mail / avenger / Makefile
Revision 1.14: download - view: text, annotated - select for diffs
Mon Oct 8 12:19:02 2012 UTC (12 years, 1 month ago) by asau
Branches: MAIN
CVS tags: HEAD
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.14 2012/10/08 12:19:02 asau Exp $

DISTNAME=	avenger-0.8.2
PKGREVISION=	2
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

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"

CVSweb <webmaster@jp.NetBSD.org>