aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamprobe/Makefile
blob: e074c04839d4a428a7f5d5dab4caed892d0edcb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    spamprobe
# Whom:                                 Matthew N. Dodd <mdodd@FreeBSD.org>
# Date created:                         05 September 2002
#
# $FreeBSD$
#

PORTNAME=   spamprobe
PORTVERSION=    1.2
CATEGORIES= mail
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Spam detector using Bayesian analysis of word counts

LIB_DEPENDS=    db4:${PORTSDIR}/databases/db4

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-default-8bit --enable-cdb

MAN1=       spamprobe.1
PLIST_FILES=    bin/spamprobe
USE_OPENSSL=    yes

CPPFLAGS=   -I${LOCALBASE}/include/db4 -I${OPENSSLINC}
LDFLAGS=    -L${LOCALBASE}/lib -ldb4 -lcrypto

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>