blob: 252a5102e9a41fd4362d5035dfffa74cd1be1616 (
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
32
33
34
35
36
37
38
39
40
41
42
|
# $FreeBSD$
PORTNAME= django-annotations
PORTVERSION= 0.0.0.2016041401
PORTREVISION= 2
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= Django implementation of annotatorjs Storage
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-cors-headers>=1.1.0:www/py-django-cors-headers@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}djangorestframework36>=3.3.2:www/py-djangorestframework36@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-rq>0:devel/py-django-rq@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django-rq-dashboard>0:devel/py-django-rq-dashboard@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${FLAVOR}
USES= python:2.7
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils
GH_ACCOUNT= TheDataShed
GH_TAGNAME= cdb04b4
NO_ARCH= yes
PLIST_FILES= "@sample etc/annotations/default/__init__.py.sample"
.include <bsd.port.pre.mk>
post-extract:
@${MV} ${WRKSRC}/manage.py ${WRKSRC}/annotations.py
@${MV} ${WRKSRC}/templates ${WRKSRC}/annotation
post-patch:
@${REINPLACE_CMD} -i '' -e 's|%%PREFIX%%|${PREFIX}|' \
${WRKSRC}/annotations.py
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/annotations/default
${INSTALL_DATA} ${WRKSRC}/annotator/settings/base.py ${STAGEDIR}${PREFIX}/etc/annotations/default/__init__.py.sample
.include <bsd.port.post.mk>
|