freebsd-ports/mail/py-spf/Makefile
Sunpoet Po-Chuan Hsieh b42ac860b6 - Allow concurrent installation (USE_PYTHON=concurrent)
- Bump PORTREVISION for package change
2015-09-02 17:04:10 +00:00

37 lines
908 B
Makefile

# Created by: Marcus Alves Grando <mnag@FreeBSD.org>
# $FreeBSD$
PORTNAME= spf
PORTVERSION= 2.0.12
PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= SF/pymilter/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python implementation of the RFC 4408 SPF protocol
LICENSE= PSFL
NO_ARCH= yes
USE_PYTHON= autoplist concurrent distutils
USES= python shebangfix
PLIST_FILES= bin/spf.py
SHEBANG_FILES= spf.py
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dns>=0:${PORTSDIR}/dns/py-dns
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dns3>=0:${PORTSDIR}/dns/py-dns3
.endif
post-install:
${CHMOD} ${BINMODE} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/spf.py
${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.post.mk>