ports/textproc/py-sphinx-notfound-page/Makefile
Nicola Vitale 96fae7c50d
textproc/py-sphinx-notfound-page: Add new port
Sphinx-notfound-page is a Sphinx extension to create custom 404 pages and help
you to generate proper resource links (js, css, images, etc) to render the page
properly.

This extension was originally developed to be used on Read the Docs but it can
be used in other hosting services as well.

https://sphinx-notfound-page.readthedocs.io/
2024-11-01 17:41:26 +01:00

23 lines
629 B
Makefile

PORTNAME= sphinx-notfound-page
DISTVERSION= 1.0.4
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSIONFULL}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Generate 404 Not Found Pages Automatically for Sphinx Docs
WWW= https://sphinx-notfound-page.readthedocs.io/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.9.0:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=5:textproc/py-sphinx@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
NO_ARCH= yes
.include <bsd.port.mk>