forked from Lainports/freebsd-ports
- Normalize the ImageMagick library name so it stays the same regardless of what the 16-bit and HDRI option are set to [1]. Teach cmake to look for the new name. Bump ports that link to the libraries due to this. - As a result do away with the "HALFSUPPORTED" option block, and list 16-bit and HDRI with the other options. - ImageMagick ships a basic SVG plugin when not using librsvg2 for SVG support. This basic SVG plugin needs libxml2 to work [2]. Make libxml2 a mandatory dependency (instead of only when the SVG option was selected). - Don't touch .keep files in the modules directory, there files there so it useless. PR: 194949 [1] PR: 195227 [2] Requested by: many [1] Submitted by: software-freebsd@interfasys.ch [2]
28 lines
538 B
Makefile
28 lines
538 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rmagick
|
|
PORTVERSION= 2.13.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Ruby binding for ImageMagick
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBYGEMS= yes
|
|
RUBYGEM_AUTOPLIST= yes
|
|
|
|
OPTIONS_DEFINE= X11
|
|
OPTIONS_DEFAULT= X11
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
USES= pkgconfig
|
|
.if ${PORT_OPTIONS:MX11}
|
|
LIB_DEPENDS= libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick
|
|
.else
|
|
LIB_DEPENDS= libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick-nox11
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|