2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
|
2012-04-11 05:38:17 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= django-openid-auth
|
|
|
|
PORTVERSION= 0.4
|
2016-02-12 22:53:57 +01:00
|
|
|
PORTREVISION= 2
|
2012-04-11 05:38:17 +02:00
|
|
|
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
|
|
|
|
|
2014-07-02 06:11:40 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
2012-04-11 05:38:17 +02:00
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=1.3.1:www/py-django18 \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}python-openid>=2.2.5:security/py-python-openid
|
2012-04-11 05:38:17 +02:00
|
|
|
|
2015-01-03 09:41:20 +01:00
|
|
|
USES= python
|
|
|
|
USE_PYTHON= distutils
|
2012-04-11 05:38:17 +02:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
PORTDOCS= *.txt *.html
|
|
|
|
PORTEXAMPLES= example_consumer
|
2014-07-02 06:11:40 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2012-04-11 05:38:17 +02:00
|
|
|
|
|
|
|
post-install:
|
2014-07-02 06:11:40 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/TODO.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/openid.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/openid.txt ${STAGEDIR}${DOCSDIR}
|
2012-04-11 05:38:17 +02:00
|
|
|
.endif
|
2014-07-02 06:11:40 +02:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/example_consumer
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/example_consumer/* ${STAGEDIR}${EXAMPLESDIR}/example_consumer
|
2012-04-11 05:38:17 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|