1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/mail/pyzor/Makefile
Chris Rees c9633df3f6 Small changes to ignore deprecation Python warnings
PR:		ports/171607
Submitted by:	Thomas Vogt <thomas@bsdunix.ch> (based on)
Approved by:	maintainer (Corey Halpin <chalpin@cs.wisc.edu>)

While here, anchor and optimise regex
2012-09-13 19:33:38 +00:00

35 lines
835 B
Makefile

# ex:ts=8
# Ports collection makefile for: pyzor
# Date created: Aug 1, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pyzor
PORTVERSION= 0.5.0
PORTREVISION= 2
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 '1s,^#!/usr/bin/python,#!/usr/bin/env -S python -Wignore::DeprecationWarning,' \
${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>