mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
f12567a3b7
- Allow graphics/ImageMagick{6,7}* - Change the default ImageMagick from 6 to 7 Changes: https://github.com/emcconville/wand/releases
42 lines
997 B
Makefile
42 lines
997 B
Makefile
PORTNAME= Wand
|
|
PORTVERSION= 0.6.7
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= MagickWand Python binding
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= X11
|
|
OPTIONS_SINGLE= IMAGEMAGICK
|
|
OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7
|
|
OPTIONS_DEFAULT=IMAGEMAGICK7 X11
|
|
IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick6*)
|
|
IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7*)
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MX11}
|
|
.if ${PORT_OPTIONS:MIMAGEMAGICK7}
|
|
LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7
|
|
.else
|
|
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6
|
|
.endif
|
|
.else
|
|
.if ${PORT_OPTIONS:MIMAGEMAGICK7}
|
|
LIB_DEPENDS= libMagickWand-7.so:graphics/ImageMagick7-nox11
|
|
.else
|
|
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick6-nox11
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|