ports/www/py-django-reversion/Makefile
Sunpoet Po-Chuan Hsieh e6e2f1a8e1 Update to 2.0.13
- Add LICENSE_FILE
- Update RUN_DEPENDS: use newer django
- Relax USES=python
- Use USE_PYTHON=autoplist instead of PLIST
- Allow concurrent installation (USE_PYTHON=concurrent)
- Add NO_ARCH
- Add DOCS option
- Remove pkg-message

Changes:	https://github.com/etianen/django-reversion/blob/master/CHANGELOG.rst
PR:		228128
Submitted by:	Kai <freebsd_ports@k-worx.org>
Approved by:	Matthew X. Economou <xenophon+fbsdports@irtnog.org> (maintainer)
2018-05-11 16:54:38 +00:00

32 lines
919 B
Makefile

# Created by: Matthew X. Economou <xenophon+fbsdports@irtnog.org>
# $FreeBSD$
PORTNAME= django-reversion
PORTVERSION= 2.0.13
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= xenophon+fbsdports@irtnog.org
COMMENT= Provides comprehensive version control facilities to Django apps
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv")
.include <bsd.port.mk>