blob: ef2b5aceb7d4ba6387de17ad75847be072d93a51 (
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
|
# Created by: Carlo Strub
PORTNAME= django-markdownx
PORTVERSION= 3.0.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= cs@FreeBSD.org
COMMENT= Django Markdown editor with image uploads and live preview
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>0:www/py-django22@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \
${PY_PILLOW}
USES= python:3.5+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30700
# Force an UTF-8 environment to avoid failures in the configuration phase for
# Python versions <= 3.6. Since Python 3.7 the UTF-8 mode is enabled by
# default when the locale is C.
USE_LOCALE= en_US.UTF-8
.endif
.include <bsd.port.post.mk>
|