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