aboutsummaryrefslogtreecommitdiffstats
path: root/mail/py-pyspf/Makefile
blob: afff7f8f70922c7598702e2a6ec0f57632ec77e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>