diff options
author | zi <zi@FreeBSD.org> | 2015-05-26 23:53:07 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2015-05-26 23:53:07 +0800 |
commit | 00f18f298f70862c23b64a28ee16d725ea72836b (patch) | |
tree | 803f004aac169c7aeea704f8fa07bd7a2a5da056 /graphics | |
parent | 9dd939d539d02d975450cd29279bab50deb6ca1e (diff) | |
download | freebsd-ports-gnome-00f18f298f70862c23b64a28ee16d725ea72836b.tar.gz freebsd-ports-gnome-00f18f298f70862c23b64a28ee16d725ea72836b.tar.zst freebsd-ports-gnome-00f18f298f70862c23b64a28ee16d725ea72836b.zip |
- Make X11 optional
- Bump PORTREVISION
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/rubygem-mini_magick/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/graphics/rubygem-mini_magick/Makefile b/graphics/rubygem-mini_magick/Makefile index c090a173b4df..c6076d2af20e 100644 --- a/graphics/rubygem-mini_magick/Makefile +++ b/graphics/rubygem-mini_magick/Makefile @@ -3,16 +3,26 @@ PORTNAME= mini_magick PORTVERSION= 4.2.4 +PORTREVISION= 1 CATEGORIES= graphics rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Manipulate images with minimal use of memory via ImageMagick -RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick - USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes +OPTIONS_DEFINE= X11 +OPTIONS_DEFAULT=X11 + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MX11} +RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick +.else +RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick-nox11 +.endif + .include <bsd.port.mk> |