freebsd-ports/www/py-django-openid-auth/Makefile
Alexey Dokuchaev ba3009ac25 - Convert to option helpers, fix a minor whitespace bug, mute MKDIRs
- Do not abuse INSTALL_MAN for installing documentation and examples
2018-01-10 15:28:39 +00:00

42 lines
1.2 KiB
Makefile

# Created by: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
# $FreeBSD$
PORTNAME= django-openid-auth
PORTVERSION= 0.4
PORTREVISION= 2
CATEGORIES= www security python
MASTER_SITES= http://launchpadlibrarian.net/80020365/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= xenophon+fbsdports@irtnog.org
COMMENT= OpenID integration for django.contrib.auth
LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=1.3.1:www/py-django18@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-openid>=2.2.5:security/py-python-openid@${FLAVOR}
USES= python:2.7
USE_PYTHON= distutils
NO_WRKSUBDIR= yes
PORTDOCS= *.txt *.html
PORTEXAMPLES= example_consumer
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/openid.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/openid.txt ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/example_consumer
${INSTALL_DATA} ${WRKSRC}/example_consumer/* \
${STAGEDIR}${EXAMPLESDIR}/example_consumer
.include <bsd.port.mk>