aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-docutils/Makefile
blob: 634d5c29eb2eccc7591e8c586f95c02925233513 (plain) (blame)
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
32
33
34
# Created by: ijliao
# $FreeBSD$

PORTNAME=   docutils
PORTVERSION=    0.14
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>