1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/py-sphinx_wikipedia/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

31 lines
766 B
Makefile

# Created by: Dru Lavigne <dru@FreeBSD.org>
# $FreeBSD$
PORTNAME= sphinx_wikipedia
PORTVERSION= 20150903
CATEGORIES= textproc
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kris@FreeBSD.org
COMMENT= Sphinx extension which adds role to create links to Wikipedia articles
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.3.1:textproc/py-sphinx@${PY_FLAVOR}
USES= python
USE_PYTHON= flavors
NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= quiver
GH_PROJECT= sphinx-ext-wikipedia
GH_TAGNAME= f6b2f6
PLIST_FILES= ${PYTHON_SITELIBDIR}/sphinx/ext/wikipedia.py
do-install:
${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinx/ext
${CP} ${WRKSRC}/sphinx-ext/wikipedia.py \
${STAGEDIR}${PYTHON_SITELIBDIR}/sphinx/ext/wikipedia.py
.include <bsd.port.mk>