Lines 4-41
CATEGORIES= graphics python
Link Here
|
4 |
MASTER_SITES= CHEESESHOP |
4 |
MASTER_SITES= CHEESESHOP |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
|
6 |
|
7 |
MAINTAINER= python@FreeBSD.org |
7 |
MAINTAINER= rsmith@xs4all.nl |
8 |
COMMENT= MagickWand Python binding |
8 |
COMMENT= MagickWand Python binding |
9 |
|
9 |
|
10 |
LICENSE= MIT |
10 |
LICENSE= MIT |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
12 |
|
|
|
13 |
LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7 |
14 |
|
13 |
USES= python:3.6+ |
15 |
USES= python:3.6+ |
14 |
USE_PYTHON= autoplist concurrent distutils |
16 |
USE_PYTHON= autoplist concurrent distutils |
15 |
|
17 |
|
16 |
NO_ARCH= yes |
18 |
NO_ARCH= yes |
|
|
19 |
PORTDOCS= * |
17 |
|
20 |
|
18 |
OPTIONS_DEFINE= X11 |
21 |
OPTIONS_DEFINE= DOCS |
19 |
OPTIONS_SINGLE= IMAGEMAGICK |
22 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=3:textproc/py-sphinx@${PY_FLAVOR} |
20 |
OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7 |
23 |
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" |
21 |
OPTIONS_DEFAULT=IMAGEMAGICK7 X11 |
|
|
22 |
IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick6*) |
23 |
IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7*) |
24 |
|
24 |
|
25 |
.include <bsd.port.options.mk> |
25 |
post-install-DOCS-on: |
26 |
|
26 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
27 |
.if ${PORT_OPTIONS:MX11} |
27 |
(cd ${WRKSRC}/build/sphinx/html && \ |
28 |
.if ${PORT_OPTIONS:MIMAGEMAGICK7} |
28 |
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ |
29 |
LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7 |
29 |
"! -name .buildinfo -and ! -name objects.inv") |
30 |
.else |
|
|
31 |
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6 |
32 |
.endif |
33 |
.else |
34 |
.if ${PORT_OPTIONS:MIMAGEMAGICK7} |
35 |
LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7-nox11 |
36 |
.else |
37 |
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6-nox11 |
38 |
.endif |
39 |
.endif |
40 |
|
30 |
|
41 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.mk> |