mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Allow concurrent
- Bump PORTREVISION While I'm here, - Add LICENSE - Switch to options helper PR: 214307 Submitted by: Matthieu Volat
This commit is contained in:
parent
d80cc28447
commit
e3ae1432b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426126
1 changed files with 6 additions and 7 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= docutils
|
||||
PORTVERSION= 0.12
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= SF \
|
||||
CHEESESHOP
|
||||
|
@ -11,22 +12,20 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|||
MAINTAINER= olivierd@FreeBSD.org
|
||||
COMMENT= Python Documentation Utilities
|
||||
|
||||
LICENSE= BSD2CLAUSE GPLv3+ PD PSFL
|
||||
LICENSE_COMB= multi
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
USE_PYTHON= distutils concurrent autoplist
|
||||
|
||||
OPTIONS_DEFINE= PYGMENTS
|
||||
PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments
|
||||
PYGMENTS_DESC= Syntax highlighting
|
||||
|
||||
BIN_SCRIPTS= rst2html.py rst2s5.py rst2latex.py rst2xetex.py \
|
||||
rst2man.py rst2xml.py rst2pseudoxml.py rstpep2html.py \
|
||||
rst2odt.py rst2odt_prepstyles.py
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MPYGMENTS}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.for script in ${BIN_SCRIPTS}
|
||||
@cd ${STAGEDIR}${PREFIX}/bin && ${LN} -sf ${script} ${script:C/\.py//}
|
||||
|
|
Loading…
Add table
Reference in a new issue