openbsd-ports/mail/py-spf/Makefile
jasper a742d37b8a - resolve conflict by not stripping the .py suffix from py-spf
discussed with naddy@ espie@ and ajacoutot@
2008-10-27 20:17:40 +00:00

33 lines
716 B
Makefile

# $OpenBSD: Makefile,v 1.4 2008/10/27 20:17:40 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}p1
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>