openbsd-ports/mail/py-spf/Makefile

34 lines
721 B
Makefile

# $OpenBSD: Makefile,v 1.8 2011/03/09 06:23:35 ajacoutot 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 = 3
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>