mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
f5935e17fe
It promises to be almost 100% effective at catching comment spam. They say that currently 81% of all comments submitted to them are spam. It's designed to work with the Wordpress Blog Tool, but it's not restricted to that - so this is a Python interface to the Akismet API. You'll need a Wordpress Key to use it. This script will allow you to plug akismet into any CGI script or web application, and there are full docs in the code. It's extremely easy to use, because the folks at akismet have implemented a nice and straightforward REST API. WWW: http://www.voidspace.org.uk/python/akismet_python.html PR: ports/140094 Submitted by: Jacob Myers (jacob at whotookspaz.org)
34 lines
740 B
Makefile
34 lines
740 B
Makefile
# 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>
|