2012-12-26 10:13:23 +01:00
|
|
|
# Created by: ijliao
|
2002-09-16 13:06:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= docutils
|
2017-08-04 22:08:57 +02:00
|
|
|
PORTVERSION= 0.14
|
2017-12-03 09:29:35 +01:00
|
|
|
PORTREVISION= 1
|
2002-09-16 13:06:23 +02:00
|
|
|
CATEGORIES= textproc python
|
2017-03-27 21:12:20 +02:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2002-09-16 13:06:23 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2017-03-19 17:11:40 +01:00
|
|
|
MAINTAINER= python@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Python Documentation Utilities
|
2002-09-16 13:06:23 +02:00
|
|
|
|
2016-11-14 18:17:37 +01:00
|
|
|
LICENSE= BSD2CLAUSE GPLv3+ PD PSFL
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
|
2017-11-30 16:50:30 +01:00
|
|
|
PORTSCOUT= limit:^[0-9\.]*$$
|
2017-05-27 21:30:28 +02:00
|
|
|
|
2016-12-10 14:11:34 +01:00
|
|
|
NO_ARCH= yes
|
2017-03-27 21:12:20 +02:00
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
2017-11-30 16:50:30 +01:00
|
|
|
USES= python
|
2002-09-16 13:06:23 +02:00
|
|
|
|
2013-07-24 19:42:09 +02:00
|
|
|
OPTIONS_DEFINE= PYGMENTS
|
|
|
|
PYGMENTS_DESC= Syntax highlighting
|
2017-11-30 16:50:30 +01:00
|
|
|
PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${FLAVOR}
|
2013-07-24 19:42:09 +02:00
|
|
|
|
2017-03-27 21:12:20 +02:00
|
|
|
SCRIPTS= rst2html rst2latex rst2man rst2odt rst2odt_prepstyles \
|
|
|
|
rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
|
2012-08-09 22:11:50 +02:00
|
|
|
|
|
|
|
post-install:
|
2017-03-27 21:12:20 +02:00
|
|
|
.for script in ${SCRIPTS}
|
2017-12-03 09:29:35 +01:00
|
|
|
${LN} -s ${script}.py-${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/${script}
|
2012-08-09 22:11:50 +02:00
|
|
|
.endfor
|
|
|
|
|
2014-01-24 14:34:31 +01:00
|
|
|
.include <bsd.port.mk>
|