opnsense-ports/textproc/py-docutils/Makefile
Franco Fichtner a5e07d9c45 textproc/py-docutils: sync with upstream
Taken from: FreeBSD
2017-06-06 07:03:21 +02:00

34 lines
785 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= docutils
PORTVERSION= 0.13.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Python Documentation Utilities
LICENSE= BSD2CLAUSE GPLv3+ PD PSFL
LICENSE_COMB= multi
PORTSCOUT= limit:^[0-9.]*$
NO_ARCH= yes
USE_PYTHON= autoplist concurrent distutils
USES?= python
OPTIONS_DEFINE= PYGMENTS
PYGMENTS_DESC= Syntax highlighting
PYGMENTS_RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments
SCRIPTS= rst2html rst2latex rst2man rst2odt rst2odt_prepstyles \
rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
post-install:
.for script in ${SCRIPTS}
${LN} -s ${script}.py ${STAGEDIR}${PREFIX}/bin/${script}
.endfor
.include <bsd.port.mk>