freebsd-ports/mail/pyzor/Makefile
Dmitry Marakasov 016ce425b5 - Install manpages
PR:		134490
Submitted by:	kkobb@skylincorp.com
Approved by:	Corey Halpin <chalpin@cs.wisc.edu> (maintainer)
2009-05-13 23:22:09 +00:00

35 lines
793 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= 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>