openbsd-ports/mail/bmf/Makefile

48 lines
1002 B
Makefile
Raw Normal View History

2011-12-02 09:36:13 -05:00
# $OpenBSD: Makefile,v 1.15 2011/12/02 14:36:15 espie Exp $
COMMENT= easy to use Bayesian spam filter
DISTNAME= bmf-0.9.4
2010-11-19 02:23:05 -05:00
REVISION = 2
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
2010-11-19 02:23:05 -05:00
USE_GROFF = Yes
FLAVORS= mysql
FLAVOR?=
2011-12-02 09:36:13 -05:00
.if ${FLAVOR:Mmysql}
2010-11-19 02:23:05 -05:00
LIB_DEPENDS+= databases/mysql
WANTLIB += lib/mysql/mysqclient>=10
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
2002-10-27 12:21:39 -05:00
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bmf
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bmf
.include <bsd.port.mk>