Lines 3-9
Link Here
|
3 |
# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> |
3 |
# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/mail/dspam-devel/Makefile,v 1.49 2006/02/27 15:47:41 garga Exp $ |
5 |
# $FreeBSD: ports/mail/dspam-devel/Makefile,v 1.49 2006/02/27 15:47:41 garga Exp $ |
6 |
# $Tecnik: ports/mail/dspam-devel/Makefile,v 1.36 2006/02/26 02:23:16 itetcu Exp $ |
6 |
# $Tecnik: ports/mail/dspam-devel/Makefile,v 1.38 2006/03/15 17:55:09 itetcu Exp $ |
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
# Note to commiters: If don't commit a maintainer patch and as a result PKGNAME |
9 |
# Note to commiters: If don't commit a maintainer patch and as a result PKGNAME |
Lines 13-19
Link Here
|
13 |
|
13 |
|
14 |
PORTNAME= dspam-devel |
14 |
PORTNAME= dspam-devel |
15 |
PORTVERSION= ${PORTVER_MAJ}${SNAP_DATE} |
15 |
PORTVERSION= ${PORTVER_MAJ}${SNAP_DATE} |
16 |
PORTREVISION= 1 |
|
|
17 |
CATEGORIES= mail |
16 |
CATEGORIES= mail |
18 |
MASTER_SITES= # set later |
17 |
MASTER_SITES= # set later |
19 |
|
18 |
|
Lines 21-30
Link Here
|
21 |
COMMENT= Bayesian spam filter - development version |
20 |
COMMENT= Bayesian spam filter - development version |
22 |
|
21 |
|
23 |
PORTVER_MAJ= 3.6.4 |
22 |
PORTVER_MAJ= 3.6.4 |
24 |
#SNAP_DATE= .20060211.0037 |
23 |
SNAP_DATE= .20060315.1518 |
25 |
_UPD_LINE_NO= 7 |
24 |
_UPD_LINE_NO= 17 |
26 |
|
25 |
|
27 |
MIN_OPTIONS_VER= ${PORTNAME}-3.6.3.20060203.1409 |
26 |
MIN_OPTIONS_VER= ${PORTNAME}-3.6.4.20060315.1518 |
28 |
|
27 |
|
29 |
.ifdef(SNAP_DATE) |
28 |
.ifdef(SNAP_DATE) |
30 |
MASTER_SITES= http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/ |
29 |
MASTER_SITES= http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/ |
Lines 39-45
Link Here
|
39 |
.endif |
38 |
.endif |
40 |
|
39 |
|
41 |
## debug / log / admin options |
40 |
## debug / log / admin options |
42 |
OPTIONS= DEBUG "Enable debugging logging" on |
41 |
OPTIONS= SYSLOG "Logs via syslog" on |
|
|
42 |
OPTIONS+= DEBUG "Enable debugging logging" on |
43 |
OPTIONS+= VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off |
43 |
OPTIONS+= VERBOSE_DEBUG "Enable debug in LOGDIR/dspam.debug" off |
44 |
OPTIONS+= BNR_DEBUG "Enable debug for BNR" off |
44 |
OPTIONS+= BNR_DEBUG "Enable debug for BNR" off |
45 |
OPTIONS+= PREF_EXT "Preferences in database not in files" off |
45 |
OPTIONS+= PREF_EXT "Preferences in database not in files" off |
Lines 114-119
Link Here
|
114 |
|
114 |
|
115 |
_VAR_DIR= /var |
115 |
_VAR_DIR= /var |
116 |
LOG_DIR?= ${_VAR_DIR}/log/dspam |
116 |
LOG_DIR?= ${_VAR_DIR}/log/dspam |
|
|
117 |
LOGFILE?= ${LOG_DIR}/dspam.log |
117 |
|
118 |
|
118 |
DSPAM_MODE?= 4510 |
119 |
DSPAM_MODE?= 4510 |
119 |
DSPAM_OWNER?= root |
120 |
DSPAM_OWNER?= root |
Lines 147-152
Link Here
|
147 |
-e '/^%%FreeBSD/D' \ |
148 |
-e '/^%%FreeBSD/D' \ |
148 |
-e '/^%%Tecnik%%/D' |
149 |
-e '/^%%Tecnik%%/D' |
149 |
|
150 |
|
|
|
151 |
.ifdef(WITH_SYSLOG) |
152 |
CONFIGURE_ARGS+= --enable-syslog |
153 |
.else |
154 |
CONFIGURE_ARGS+= --disable-syslog |
155 |
CONFIGURE_ARGS+= --with-logfile=${LOGFILE} |
156 |
.endif |
157 |
|
150 |
.ifdef(WITH_DEBUG) |
158 |
.ifdef(WITH_DEBUG) |
151 |
CONFIGURE_ARGS+= --enable-debug |
159 |
CONFIGURE_ARGS+= --enable-debug |
152 |
.endif |
160 |
.endif |
Lines 460-465
Link Here
|
460 |
@${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}" |
468 |
@${ECHO_CMD} "DSPAM_HOME_GROUP=${DSPAM_HOME_GROUP}" |
461 |
@${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)" |
469 |
@${ECHO_CMD} "DSPAM_HOME_MODE=${DSPAM_HOME_MODE} (default: 0770)" |
462 |
@${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)" |
470 |
@${ECHO_CMD} "LOG_DIR=${LOG_DIR} (default: ${_VAR_DIR}/log/dspam)" |
|
|
471 |
. ifndef(WITH_SYSLOG) |
472 |
@${ECHO_CMD} "LOGFILE=${LOGFILE} (default: ${_VAR_DIR}/log/dspam/dspam.log)" |
473 |
. endif |
463 |
. ifdef(WITH_CGI) |
474 |
. ifdef(WITH_CGI) |
464 |
@${ECHO_CMD} "Define CGI_PATH before make-ing if you need the CGI files" |
475 |
@${ECHO_CMD} "Define CGI_PATH before make-ing if you need the CGI files" |
465 |
@${ECHO_CMD} "installed in other place that this installation's default" |
476 |
@${ECHO_CMD} "installed in other place that this installation's default" |
Lines 529-535
Link Here
|
529 |
@${FALSE} |
540 |
@${FALSE} |
530 |
.endif |
541 |
.endif |
531 |
.ifdef(SNAP_DATE) |
542 |
.ifdef(SNAP_DATE) |
|
|
543 |
@${ECHO_CMD} |
532 |
@${ECHO_CMD} "You can safely ignore the following auto* errors" |
544 |
@${ECHO_CMD} "You can safely ignore the following auto* errors" |
|
|
545 |
@${ECHO_CMD} |
533 |
@(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) |
546 |
@(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) |
534 |
.endif |
547 |
.endif |
535 |
|
548 |
|