summaryrefslogtreecommitdiff
path: root/textproc/py-sphinx_numfig/Makefile
blob: d761f57b4ab7de360fe6e5733a7951934543aed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Dru Lavigne <dru@FreeBSD.org>
# $FreeBSD$

PORTNAME=	sphinx_numfig
PORTVERSION=	r13
CATEGORIES=	textproc
MASTER_SITES=	http://sourceforge.net/projects/numfig/files/latest/download/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	kris@FreeBSD.org
COMMENT=	Autonumbering figures in Sphinx

LICENSE=	BSD3CLAUSE

DEPRECATED=	Uses deprecated version of python
EXPIRATION_DATE=	2020-08-15

RUN_DEPENDS=	${PY_SPHINX}

USES=		python:2.7 tar:tgz
USE_PYTHON=	flavors
NO_BUILD=	yes
SPHINXDIR=	${PYTHON_LIBDIR}/site-packages/sphinx
PLIST_FILES=	${SPHINXDIR}/ext/numfig.py ${SPHINXDIR}/ext/numfig.pyc

do-install:
	cd ${WRKDIR}/sphinx_numfig-r13 && \
		${MKDIR} ${STAGEDIR}${SPHINXDIR}/ext && \
		${PYTHON_CMD} setup.py install ${STAGEDIR}${SPHINXDIR} ${SPHINXDIR}/ext

.include <bsd.port.mk>