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

PORTNAME=   pyzor
PORTVERSION=    0.5.0
PORTREVISION=   1
CATEGORIES= mail python
MASTER_SITES=   SF

MAINTAINER= chalpin@cs.wisc.edu
COMMENT=    A collaborative, networked system to detect and block spam

USE_BZIP2=  yes
USE_PYTHON= yes
USE_PYDISTUTILS=    yes

MAN1=       pyzor.1 pyzord.1

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
    ${INSTALL_MAN} ${WRKSRC}/docs/pyzor.1 ${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/docs/pyzord.1 ${MAN1PREFIX}/man/man1

.include <bsd.port.mk>