aboutsummaryrefslogtreecommitdiff
path: root/devel/py-akismet/Makefile
blob: 3156b5d3a6babbd7bb85e8a624b904b21dd5e44e (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: py-akismet
# Date created: Thu 29 Oct 2009
# Whom: Jacob Myers (jacob@whotookspaz.org)
#
# $FreeBSD$
#

PORTNAME=	akismet
PORTVERSION=	0.2.0
CATEGORIES=	devel python
MASTER_SITES=	http://www.voidspace.org.uk/downloads/ \
		http://whotookspaz.org/misc/freebsd/py-akismet/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}-${PORTVERSION}

MAINTAINER=	jacob@whotookspaz.org
COMMENT=	A Python interface to the Akismet API

USE_PYTHON=	yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=	akismet

USE_ZIP=	yes

DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	@(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif

.include <bsd.port.mk>