summaryrefslogtreecommitdiffstats
path: root/mail/pyzor/Makefile
blob: 056978ad58b6b694112fa25ea8c0697cf2c185d7 (plain)
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
# ex:ts=8
# Ports collection makefile for:	pyzor
# Date created:			Aug 1, 2002
# Whom:                 	ijliao
#
# $FreeBSD$
#

PORTNAME=	pyzor
PORTVERSION=	0.4.0
PORTREVISION=	4
CATEGORIES=	mail python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A collaborative, networked system to detect and block spam

USE_BZIP2=	yes
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

post-patch:
	${REINPLACE_CMD} -e "s,/usr/bin/python2,${PYTHON_CMD}," \
		${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord

post-install:
	${CHMOD} ${SHAREMODE} ${DOCSDIR}/usage.html
	${CHMOD} ${BINMODE} ${PREFIX}/bin/pyzor ${PREFIX}/bin/pyzord

.include <bsd.port.mk>
OpenPOWER on IntegriCloud