freebsd-ports/mail/py-spf/Makefile
Pav Lucistnik 6e58cbf790 Add py-spf, a python implementation of SPF.
PR:		ports/75521
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2004-12-28 15:00:15 +00:00

38 lines
875 B
Makefile

# New ports collection makefile for: py-spf
# Date created: 26 Dec 2004
# Whom: Marcus Grando <marcus@corp.grupos.com.br>
#
# $FreeBSD$
#
PORTNAME= spf
PORTVERSION= 1.6
CATEGORIES= mail python
MASTER_SITES= http://www.wayforward.net/spf/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= marcus@corp.grupos.com.br
COMMENT= Python implementation of SPF
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/DNS/__init__.py:${PORTSDIR}/dns/py-dns
DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME}
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${CHMOD} 755 ${PYTHONPREFIX_SITELIBDIR}/spf.py
@${LN} -s ${PYTHONPREFIX_SITELIBDIR}/spf.py ${PREFIX}/bin
.include <bsd.port.mk>