aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/retext/Makefile
blob: 4bf9051aba4930a5ffcc91d0a97f56b3a649585e (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
# $FreeBSD$

PORTNAME=   retext
PORTVERSION=    7.0.0
PORTREVISION=   1
CATEGORIES= textproc

MAINTAINER= arved@FreeBSD.org
COMMENT=    Markdown editor

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/LICENSE_GPL

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}markdown>=2.0.3:textproc/py-markdown@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}Markups>=3.0.0:textproc/py-markups@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}markdown-math>=0.6:textproc/py-markdown-math@${PY_FLAVOR}

USES=       python:3.2+ desktop-file-utils pyqt:5
USE_GITHUB= yes
GH_ACCOUNT= retext-project
GH_PROJECT= retext
USE_PYTHON= distutils noflavors
USE_PYQT=   core_run sip_run gui_run widgets_run printsupport_run \
        network_run

post-stage: # https://github.com/retext-project/retext/issues/422
    @${RMDIR} ${STAGEDIR}${DATADIR}/locale

.include <bsd.port.mk>