pkgsrc/mail/bogofilter/Makefile

31 lines
815 B
Makefile

# $NetBSD: Makefile,v 1.52 2014/04/09 07:27:09 obache Exp $
DISTNAME= bogofilter-1.2.3
PKGREVISION= 5
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
LICENSE= gnu-gpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
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"