33 lines
661 B
Makefile
33 lines
661 B
Makefile
# $OpenBSD: Makefile,v 1.13 2013/03/11 11:23:53 espie Exp $
|
|
|
|
COMMENT= Sender-Policy-Framework queries in Python
|
|
|
|
MODPY_EGG_VERSION=2.0.7
|
|
DISTNAME= pyspf-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-spf-${MODPY_EGG_VERSION}
|
|
REVISION= 0
|
|
CATEGORIES= mail
|
|
|
|
HOMEPAGE= http://bmsi.com/python/milter.html
|
|
|
|
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
|
|
|
|
# Python
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymilter/}
|
|
|
|
MODULES= lang/python
|
|
|
|
BUILD_DEPENDS= net/py-dns
|
|
|
|
RUN_DEPENDS= mail/py-authres
|
|
|
|
TEST_DEPENDS=${FULLPKGNAME}:${BUILD_PKGPATH} \
|
|
textproc/py-yaml
|
|
|
|
do-test:
|
|
@cd ${WRKSRC}/test && ${MODPY_BIN} testspf.py
|
|
|
|
.include <bsd.port.mk>
|