f2efdc2df2
- Update MASTER_SITES - Add LICENSE_FILE - Use USE_PYTHON=autoplist instead of PLIST - Allow concurrent installation (USE_PYTHON=concurrent) - Add NO_ARCH - Remove EXAMPLES option - Remove pkg-message PR: 228118 Submitted by: Kai <freebsd_ports@k-worx.org> Approved by: Matthew X. Economou <xenophon+fbsdports@irtnog.org> (maintainer)
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= django-openid-auth
|
|
PORTVERSION= 0.14
|
|
CATEGORIES= www security python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= xenophon+fbsdports@irtnog.org
|
|
COMMENT= OpenID integration for django.contrib.auth
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.6:www/py-django111@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= README.txt TODO.txt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/TODO.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} < 3000
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}python-openid>=2.2.0:security/py-python-openid@${PY_FLAVOR}
|
|
.else
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}python3-openid>=0:security/py-python3-openid@${PY_FLAVOR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|