Lines 6-22
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= bogofilter |
8 |
PORTNAME= bogofilter |
9 |
PORTVERSION= 1.1.7 |
9 |
PORTVERSION= 1.2.0 |
10 |
PORTREVISION?= 2 |
10 |
PORTREVISION?= 0 |
11 |
CATEGORIES?= mail |
11 |
CATEGORIES?= mail |
12 |
MASTER_SITES= SF |
12 |
MASTER_SITES= SF |
13 |
|
13 |
|
14 |
MAINTAINER?= matthias.andree@gmx.de |
14 |
MAINTAINER?= matthias.andree@gmx.de |
15 |
COMMENT= Fast, teachable, learning spam detector |
15 |
COMMENT= Fast, teachable, learning spam detector |
16 |
|
16 |
|
17 |
# cannot switch to USE_BDB here, as we want slave ports |
17 |
.if !defined(MASTERDIR) || ${MASTERDIR} == ${.CURDIR} |
18 |
# to override this easily |
18 |
# building master port |
19 |
LIB_DEPENDS?= db-4.3:${PORTSDIR}/databases/db43 |
19 |
USE_BDB= 41+ |
|
|
20 |
.endif |
20 |
|
21 |
|
21 |
OPTIONS= GSL "Link with system-wide GSL dynamically (recommended)" on |
22 |
OPTIONS= GSL "Link with system-wide GSL dynamically (recommended)" on |
22 |
OPTIONS+= UNICODE "Normalize tokens to Unicode (UTF-8)" on |
23 |
OPTIONS+= UNICODE "Normalize tokens to Unicode (UTF-8)" on |
Lines 27-41
Link Here
|
27 |
USE_PERL5_RUN= yes |
28 |
USE_PERL5_RUN= yes |
28 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
29 |
PATCH_STRIP= -p1 |
30 |
PATCH_STRIP= -p1 |
|
|
31 |
MAKE_JOBS_SAFE= yes |
30 |
|
32 |
|
31 |
.include <bsd.port.pre.mk> |
33 |
.include <bsd.port.pre.mk> |
32 |
|
34 |
|
33 |
.if ${ARCH} == "sparc64" |
35 |
BF_LIBS?= -l${BDB_LIB_NAME} |
34 |
BROKEN= Fails to install on sparc64 |
36 |
BF_CPPFLAGS?= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include |
35 |
.endif |
|
|
36 |
|
37 |
BF_LIBS?= -ldb-4.3 |
38 |
BF_CPPFLAGS?= -I${LOCALBASE}/include/db43 -I${LOCALBASE}/include |
39 |
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc |
37 |
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc |
40 |
.if !defined(WITHOUT_UNICODE) |
38 |
.if !defined(WITHOUT_UNICODE) |
41 |
CONFIGURE_ARGS+= --enable-unicode |
39 |
CONFIGURE_ARGS+= --enable-unicode |