1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/textproc/py-urlscan/Makefile
Nicola Vitale 97f4659b8c
textproc/py-urlscan: Add new port
Urlscan parses an email message or file and scans it for URLs and email
addresses. It then displays the URLs and their context within the message,
and allows you to choose one or more URLs to send to your Web browser.
Alternatively, it send a list of all URLs to stdout.

https://github.com/firecat53/urlscan
2024-09-13 10:53:50 +02:00

32 lines
807 B
Makefile

PORTNAME= urlscan
DISTVERSION= 1.0.3
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Mutt and terminal url selector (similar to urlview)
WWW= https://github.com/firecat53/urlscan
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.4.0:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.25:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urwid>=1.2.1:devel/py-urwid@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} \
-e '/^LICENSE =/d' ${WRKSRC}/pyproject.toml
post-patch-DOCS-off:
${REINPLACE_CMD} \
-e '/^"README.md" =/d' ${WRKSRC}/pyproject.toml
.include <bsd.port.mk>