aboutsummaryrefslogtreecommitdiff
path: root/mail/py-spambayes/Makefile
blob: 48736eb8fd8df4def4f6f1f45c7189c4b340be31 (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
# New ports collection makefile for:	spambayes
# Date created:				Sat Feb 1 17:23:02 UTC 2003
# Whom:			Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	spambayes
PORTVERSION=	1.0.a.2
CATEGORIES=	mail python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}-${PORTVERSION:C/(.)\.(.)\.(.)$/\1\2\3/}

MAINTAINER=	lioux@FreeBSD.org

USE_PYTHON=		yes
USE_PYDISTUTILS=	yes

DOC_FILES=	HAMMIE.txt INTEGRATION.txt LICENSE.txt README.txt \
		TESTING.txt contrib/BULK.txt \
		contrib/muttrc contrib/procmailrc contrib/spambayes.el

post-install:
.ifndef(PORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>