# Created by: Yasuhiro KIMURA <yasu@utahime.org>
# $FreeBSD: branches/RELENG_9_2_0/mail/py-authres/Makefile 324615 2013-08-12 07:55:13Z culot $

PORTNAME=	authres
PORTVERSION=	0.602
CATEGORIES=	mail python
MASTER_SITES=	http://launchpad.net/authentication-results-python/trunk/0.602/+download/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yasu@utahime.org
COMMENT=	Python module for RFC 5451 Authentication-Results headers

LICENSE=	AL2

USE_PYTHON=	2.6+
USE_PYDISTUTILS=	yes

PLIST_SUB+=	PORTNAME=${PORTNAME}

FETCH_ARGS=	-pRr

PORTDOCS=	CHANGES README

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}/
	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.mk>
