forked from Lainports/freebsd-ports
RTFDE is a python3 library for extracting encapsulated HTML & plain text content from the RTF bodies of .msg files. De-encapsulation enables previously encapsulated HTML and plain text content to be extracted and rendered as HTML and plain text instead of the encapsulating RTF content. After de-encapsulation, the HTML and plain text should differ only minimally from the original HTML or plain text content. WWW: https://github.com/seamustuohy/RTFDE PR: 265764
25 lines
679 B
Makefile
25 lines
679 B
Makefile
PORTNAME= RTFDE
|
|
PORTVERSION= 0.0.2
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= DtxdF@disroot.org
|
|
COMMENT= Library for extracting HTML content from RTF encapsulated HTML
|
|
WWW= https://github.com/seamustuohy/RTFDE
|
|
|
|
LICENSE= LGPL3
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lark>=0.11:devel/py-lark@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}oletools>=0.56:devel/py-oletools@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
OPTIONS_DEFINE= LXML
|
|
|
|
LXML_DESC= Pythonic binding for the libxml2 and libxslt libraries
|
|
|
|
LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.6:devel/py-lxml@${PY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|