freebsd-ports/www/py-django-openid-auth/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

44 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 \
${PYTHON_PKGNAMEPREFIX}python-openid>=2.2.5:security/py-python-openid
USES= python
USE_PYTHON= distutils
NO_WRKSUBDIR= yes
PORTDOCS= *.txt *.html
PORTEXAMPLES= example_consumer
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-install:
.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}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/example_consumer
${INSTALL_MAN} ${WRKSRC}/example_consumer/* ${STAGEDIR}${EXAMPLESDIR}/example_consumer
.endif
.include <bsd.port.mk>