Lines 1-5
Link Here
|
1 |
PORTNAME= sphinxcontrib-svg2pdfconverter |
1 |
PORTNAME= sphinxcontrib-svg2pdfconverter |
2 |
PORTVERSION= 1.2.1 |
2 |
PORTVERSION= 1.2.1 |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= textproc python |
4 |
CATEGORIES= textproc python |
4 |
MASTER_SITES= PYPI |
5 |
MASTER_SITES= PYPI |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 13-32
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
Link Here
|
13 |
|
14 |
|
14 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} |
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} |
15 |
|
16 |
|
16 |
USES= python:3.8+ |
17 |
USES= gnome python:3.8+ |
|
|
18 |
USE_GNOME= librsvg2 |
17 |
USE_PYTHON= autoplist concurrent distutils flavors |
19 |
USE_PYTHON= autoplist concurrent distutils flavors |
18 |
|
20 |
|
19 |
NO_ARCH= yes |
21 |
NO_ARCH= yes |
20 |
|
22 |
|
21 |
OPTIONS_DEFINE= RSVGIMPL |
|
|
22 |
RSVGIMPL_DESC= Depend on the Rust implementation of rsvg-convert |
23 |
|
24 |
.include <bsd.port.options.mk> |
25 |
|
26 |
.if ${PORT_OPTIONS:MRSVGIMPL} |
27 |
RUN_DEPENDS+= rsvg-convert:graphics/librsvg2-rust |
28 |
.else |
29 |
RUN_DEPENDS+= rsvg-convert:graphics/librsvg2 |
30 |
.endif |
31 |
|
32 |
.include <bsd.port.mk> |
23 |
.include <bsd.port.mk> |
33 |
- |
|
|