freebsd-ports/www/py-django-openid-auth/Makefile
Martin Wilke 6fa7546cc0 A library that can be used to add OpenID support to Django
applications.  The library integrates with Django's builtin
authentication system, so most applications require minimal changes to
support OpenID login.

The library also includes the following features:
 * Basic user details are transfered from the OpenID server via the
   Simple Registration extension.
 * It can be configured to use a fixed OpenID server URL, for use in
   single sign on deployments.
 * It supports the Launchpad teams extension to request team
   membership information.

WWW: https://launchpad.net/django-openid-auth

PR:		ports/164670
Submitted by:	Matthew X. Economou <xenophon+fbsdports@irtnog.org>
2012-04-11 03:38:17 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: py-django-openid-auth
# Date created: 31 Jan 2012
# Whom: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
#
# $FreeBSD$
#
PORTNAME= django-openid-auth
PORTVERSION= 0.4
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= BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=1.3.1:${PORTSDIR}/www/py-django \
${PYTHON_PKGNAMEPREFIX}openid>=2.2.5:${PORTSDIR}/security/py-openid
USE_PYTHON= yes
USE_PYDISTUTILS= yes
NO_WRKSUBDIR= yes
PORTDOCS= *.txt *.html
PORTEXAMPLES= example_consumer
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.txt ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/TODO.txt ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/openid.html ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/openid.txt ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}/example_consumer
${INSTALL_MAN} ${WRKSRC}/example_consumer/* ${EXAMPLESDIR}/example_consumer
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>