summaryrefslogtreecommitdiff
path: root/mail/py-pyspf/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-12-29 19:03:25 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-12-29 19:03:25 +0000
commit2328bfb8fe2f673218a3283f4491605e94116b41 (patch)
tree47483b0715961d6afad48ecae245dabdf3cc88b8 /mail/py-pyspf/Makefile
parent- Update to 3.1.0 (diff)
- Move mail/py-spf to mail/py-pyspf
- Update MASTER_SITES: change from SF to CHEESESHOP - Update RUN_DEPENDS: always use dns/py-py3dns - Bump PORTREVISION for dependency change - Bump PORTREVISION for dependent ports
Notes
Notes: svn path=/head/; revision=404778
Diffstat (limited to 'mail/py-pyspf/Makefile')
-rw-r--r--mail/py-pyspf/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/mail/py-pyspf/Makefile b/mail/py-pyspf/Makefile
new file mode 100644
index 000000000000..afff7f8f7092
--- /dev/null
+++ b/mail/py-pyspf/Makefile
@@ -0,0 +1,32 @@
+# Created by: Marcus Alves Grando <mnag@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pyspf
+PORTVERSION= 2.0.12
+DISTVERSIONSUFFIX= t
+PORTREVISION= 3
+CATEGORIES= mail python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python implementation of the RFC 4408 SPF protocol
+
+LICENSE= PSFL
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py3dns>=0:${PORTSDIR}/dns/py-py3dns
+
+NO_ARCH= yes
+USE_PYTHON= autoplist concurrent distutils
+USES= python shebangfix
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+PLIST_FILES= bin/spf.py
+
+SHEBANG_FILES= spf.py
+
+post-install:
+ ${CHMOD} ${BINMODE} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/spf.py
+ ${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>