Makefile 698 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.18 2015/11/16 11:30:21 giovanni Exp $
  2. COMMENT= Sender-Policy-Framework queries in Python
  3. MODPY_EGG_VERSION=2.0.12
  4. DISTNAME= pyspf-${MODPY_EGG_VERSION}
  5. REVISION= 0
  6. PKGNAME= py-spf-${MODPY_EGG_VERSION}
  7. CATEGORIES= mail
  8. HOMEPAGE= http://bmsi.com/python/milter.html
  9. MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
  10. # Python
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pymilter/}
  13. MODULES= lang/python
  14. BUILD_DEPENDS= net/py-dns
  15. RUN_DEPENDS= mail/py-authres \
  16. net/py-dns
  17. TEST_DEPENDS=${FULLPKGNAME}:${BUILD_PKGPATH} \
  18. textproc/py-yaml \
  19. net/py-ipaddr
  20. do-test:
  21. @cd ${WRKSRC}/test && ${MODPY_BIN} testspf.py
  22. .include <bsd.port.mk>