View | Details | Raw Unified | Return to bug 247771 | Differences between
and this patch

Collapse All | Expand All

(-)mail/filtermail/Makefile (-5 / +14 lines)
Lines 1-22 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	filtermail
3
PORTNAME=	filtermail
4
PORTVERSION=	0.8.3
4
PORTVERSION=	0.8.6
5
PORTREVISION=	1
6
CATEGORIES=	mail
5
CATEGORIES=	mail
7
MASTER_SITES=	http://sourceforge.net/projects/mailfilter/files/Mailfilter/
6
MASTER_SITES=	http://sourceforge.net/projects/mailfilter/files/Mailfilter/
8
DISTNAME=	mailfilter-${PORTVERSION}
7
DISTNAME=	mailfilter-${PORTVERSION}
9
8
10
MAINTAINER=	jmc-filtermail@milibyte.co.uk
9
MAINTAINER=	jmc-freebsd2@milibyte.co.uk
11
COMMENT=	Filter mail on a POP3 server: saves downloading spam
10
COMMENT=	Filter mail on a POP3 server: saves downloading spam
12
11
13
LICENSE=	GPLv3
12
LICENSE=	GPLv3
14
13
14
.include <bsd.port.options.mk>
15
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000
16
BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex
17
.endif
18
19
USES=		bison gmake ssl
20
15
# This port is filtermail, but the author called it mailfilter. To avoid a
21
# This port is filtermail, but the author called it mailfilter. To avoid a
16
#  clash with another port called mailfilter, we change all files
22
#  clash with another port called mailfilter, we change all files
17
#  installed by this port from the form *mailfilter* to the form
23
#  installed by this port from the form *mailfilter* to the form
18
#  *filtermail*, and similarly the names in the man pages.
24
#  *filtermail*, and similarly the names in the man pages.
19
#
25
20
EXTRACT_CMD=	${GZIP_CMD}
26
EXTRACT_CMD=	${GZIP_CMD}
21
EXTRACT_BEFORE_ARGS=	-dc
27
EXTRACT_BEFORE_ARGS=	-dc
22
EXTRACT_AFTER_ARGS=	| ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' | ${TAR} -xf -
28
EXTRACT_AFTER_ARGS=	| ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filtermail/g' | ${TAR} -xf -
Lines 23-33 Link Here
23
29
24
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
30
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
25
31
26
USES=		bison gmake ssl
27
GNU_CONFIGURE=	yes
32
GNU_CONFIGURE=	yes
28
MAKE_JOBS_UNSAFE=	yes
33
MAKE_JOBS_UNSAFE=	yes
29
34
30
CPPFLAGS+=	-I${LOCALBASE}/include
35
CPPFLAGS+=	-I${LOCALBASE}/include
36
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000
37
CPPFLAGS+=	-I${LOCALBASE}/include/flex
38
FLEX=${LOCALBASE}/bin/flex
39
.endif
31
LDFLAGS+=	-L${LOCALBASE}/lib
40
LDFLAGS+=	-L${LOCALBASE}/lib
32
41
33
PLIST_FILES=	bin/${PORTNAME} \
42
PLIST_FILES=	bin/${PORTNAME} \
(-)mail/filtermail/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (mailfilter-0.8.3.tar.gz) = 60a40e1d35148fd50a2627fc4bbe47626b886614db50f88c0a21d934df63cb7a
1
TIMESTAMP = 1593601356
2
SIZE (mailfilter-0.8.3.tar.gz) = 425337
2
SHA256 (mailfilter-0.8.6.tar.gz) = f4e6b94996e95b7d45cec9fadee8fc99a6832c42dcfd86e2a1fd821deaf3069c
3
SIZE (mailfilter-0.8.6.tar.gz) = 471479
(-)mail/filtermail/pkg-descr (-1 / +1 lines)
Lines 1-5 Link Here
1
This is mail/filtermail, a port of mailfilter, renamed because another
1
This is mail/filtermail, a port of mailfilter, renamed because another
2
mailfilter exists in the ports tree.
2
mailfilter previously existed in the ports tree.
3
3
4
It filters mail on a pop3 server, allowing junk to be deleted on the
4
It filters mail on a pop3 server, allowing junk to be deleted on the
5
server rather than after it has been downloaded, and integrates with other
5
server rather than after it has been downloaded, and integrates with other

Return to bug 247771