# Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= mini_magick PORTVERSION= 4.9.2 PORTREVISION= 1 CATEGORIES= graphics rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Manipulate images with minimal use of memory via ImageMagick LICENSE= MIT LICENSE_FILE= ${WRKSRC}/MIT-LICENSE OPTIONS_DEFINE= X11 OPTIONS_SINGLE= IMAGEMAGICK OPTIONS_SINGLE_IMAGEMAGICK= IMAGEMAGICK6 IMAGEMAGICK7 OPTIONS_DEFAULT=IMAGEMAGICK6 X11 IMAGEMAGICK6_DESC= Use ImageMagick 6.x (graphics/ImageMagick6) IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7) USES= gem USE_RUBY= yes NO_ARCH= yes .include .if ${PORT_OPTIONS:MX11} .if ${PORT_OPTIONS:MIMAGEMAGICK6} RUN_DEPENDS+= convert:graphics/ImageMagick6 .else RUN_DEPENDS+= convert:graphics/ImageMagick7 .endif .else .if ${PORT_OPTIONS:MIMAGEMAGICK6} RUN_DEPENDS+= convert:graphics/ImageMagick6-nox11 .else RUN_DEPENDS+= convert:graphics/ImageMagick7-nox11 .endif .endif .include