openbsd-ports/mail/bmf/Makefile

50 lines
1.0 KiB
Makefile
Raw Normal View History

2004-12-29 04:08:08 -05:00
# $OpenBSD: Makefile,v 1.9 2004/12/29 09:08:08 alek Exp $
2003-03-09 09:54:04 -05:00
COMMENT= "easy to use Bayesian spam filter"
DISTNAME= bmf-0.9.4
CATEGORIES= mail
HOMEPAGE= http://sourceforge.net/projects/bmf
2004-02-02 18:11:28 -05:00
MAINTAINER= Jim Razmus <jim@bonetruck.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-29 04:08:08 -05:00
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bmf/}
CONFIGURE_STYLE= simple
FLAVORS= mysql
FLAVOR?=
.if ${FLAVOR:L:Mmysql}
2004-12-29 04:08:08 -05:00
LIB_DEPENDS+= lib/mysql/mysqlclient.10:mysql-client-*:databases/mysql
CONFIGURE_ARGS= --without-libdb --with-mysql="${LOCALBASE}"
CFLAGS+= "-I${LOCALBASE}/include/mysql"
.else
CONFIGURE_ARGS= --without-mysql --with-libdb
.endif
MAKE_ENV= CC="${CC}"
INSTALL_TARGET= MANDIR=${PREFIX}/man \
BINDIR=${PREFIX}/bin \
install
DOCS= README ${FILESDIR}/OpenBSD-bmf-mini-howto.html
2002-10-27 12:21:39 -05:00
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bmf
${INSTALL_DATA} ${WRKSRC}/${DOCS} ${PREFIX}/share/doc/bmf
.include <bsd.port.mk>