43 lines
973 B
Makefile
43 lines
973 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mini_magick
|
|
PORTVERSION= 4.9.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/ImageMagick)
|
|
IMAGEMAGICK7_DESC= Use ImageMagick 7.x (graphics/ImageMagick7)
|
|
|
|
USES= gem
|
|
USE_RUBY= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MX11}
|
|
.if ${PORT_OPTIONS:MIMAGEMAGICK6}
|
|
RUN_DEPENDS+= convert:graphics/ImageMagick
|
|
.else
|
|
RUN_DEPENDS+= convert:graphics/ImageMagick7
|
|
.endif
|
|
.else
|
|
.if ${PORT_OPTIONS:MIMAGEMAGICK6}
|
|
RUN_DEPENDS+= convert:graphics/ImageMagick-nox11
|
|
.else
|
|
RUN_DEPENDS+= convert:graphics/ImageMagick7-nox11
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|