# Created by: Dru Lavigne # $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= ${PKGNAMEPREFIX}sphinx>=1.3.1:textproc/py-sphinx USES= python 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