aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-django-simple-history/Makefile
blob: f21ba5549acefe7a93660e0f4414ab4653676b25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Carlo Strub
# $FreeBSD$

PORTNAME=   django-simple-history
PORTVERSION=    2.0
PORTREVISION=   1
CATEGORIES= www python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= cs@FreeBSD.org
COMMENT=    Store model history and view/revert changes from admin site

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR}

USES=       python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH=    yes
PORTDOCS=   *.rst

OPTIONS_DEFINE= DOCS

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/CHANGES.rst ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/*.rst ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>