diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2018-05-22 06:24:09 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2018-05-22 06:24:09 +0000 |
commit | 4ff714fc639738fd3ea44e60a51ae97a0211e105 (patch) | |
tree | 59a5305872d6325e28af88e6ed5c54c422350be0 /textproc | |
parent | 078458911a7c8f257639fcf81403f87da364f01a (diff) |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-docutils/Makefile | 25 | ||||
-rw-r--r-- | textproc/py-docutils/pkg-plist | 10 |
2 files changed, 21 insertions, 14 deletions
diff --git a/textproc/py-docutils/Makefile b/textproc/py-docutils/Makefile index 1aa44ac1add5..11c0da648343 100644 --- a/textproc/py-docutils/Makefile +++ b/textproc/py-docutils/Makefile @@ -3,7 +3,7 @@ PORTNAME= docutils PORTVERSION= 0.14 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,22 +17,19 @@ LICENSE_COMB= multi PORTSCOUT= limit:^[0-9\.]*$$ NO_ARCH= yes - -USES= python 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@${FLAVOR} -PYGMENTS_DESC= Syntax highlighting -PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR} - -.include <bsd.port.pre.mk> +SCRIPTS= rst2html rst2latex rst2man rst2odt rst2odt_prepstyles \ + rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html -do-test: -.if ${PYTHON_VER} < 3 - @cd ${WRKSRC}/test && ${PYTHON_CMD} alltests.py -.else - @cd ${WRKSRC}/test3 && ${PYTHON_CMD} alltests.py -.endif +post-install: +.for script in ${SCRIPTS} + ${LN} -s ${script}.py-${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/${script} +.endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/textproc/py-docutils/pkg-plist b/textproc/py-docutils/pkg-plist new file mode 100644 index 000000000000..7d1eed03382e --- /dev/null +++ b/textproc/py-docutils/pkg-plist @@ -0,0 +1,10 @@ +bin/rst2html +bin/rst2latex +bin/rst2man +bin/rst2odt +bin/rst2odt_prepstyles +bin/rst2pseudoxml +bin/rst2s5 +bin/rst2xetex +bin/rst2xml +bin/rstpep2html |