openbsd-ports/mail/py-spf/Makefile
2009-03-24 18:14:09 +00:00

33 lines
716 B
Makefile

# $OpenBSD: Makefile,v 1.5 2009/03/24 18:14:10 jasper 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}p2
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= :py-dns-*:net/py-dns
REGRESS_DEPENDS=:${PKGNAME}:${BUILD_PKGPATH} \
::textproc/py-yaml
do-regress:
@cd ${WRKSRC}/test && ${MODPY_BIN} testspf.py
.include <bsd.port.mk>