openbsd-ports/mail/py-spf/Makefile
2011-09-16 10:31:20 +00:00

34 lines
718 B
Makefile

# $OpenBSD: Makefile,v 1.10 2011/09/16 10:31:22 espie Exp $
COMMENT= Sender-Policy-Framework queries in Python
MODPY_EGG_VERSION=2.0.5
DISTNAME= pyspf-${MODPY_EGG_VERSION}
PKGNAME= py-spf-${MODPY_EGG_VERSION}
REVISION = 5
CATEGORIES= mail
HOMEPAGE= http://bmsi.com/python/milter.html
MAINTAINER= Pierre-Emmanuel Andre <pea@raveland.org>
# Python
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymilter/}
MODULES= lang/python
BUILD_DEPENDS= net/py-dns
REGRESS_DEPENDS=${FULLPKGNAME}:${BUILD_PKGPATH} \
textproc/py-yaml
do-regress:
@cd ${WRKSRC}/test && ${MODPY_BIN} testspf.py
.include <bsd.port.mk>