pkgsrc/mail/bogofilter/Makefile
2010-09-16 08:04:14 +00:00

31 lines
827 B
Makefile

# $NetBSD: Makefile,v 1.42 2010/09/16 08:04:14 adam Exp $
DISTNAME= bogofilter-1.2.2
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bogofilter/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bogofilter.sourceforge.net/
COMMENT= Bayesian spam filter written in C
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/bogofilter
EGDIR= ${PREFIX}/share/examples/bogofilter
CONF_FILES= ${EGDIR}/bogofilter.cf.example ${PKG_SYSCONFDIR}/bogofilter.cf
USE_TOOLS+= perl:run
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"