svn commit: r387486 - head/graphics/rubygem-mini_magick
Ryan Steinmetz
zi at FreeBSD.org
Tue May 26 15:53:08 UTC 2015
Author: zi
Date: Tue May 26 15:53:07 2015
New Revision: 387486
URL: https://svnweb.freebsd.org/changeset/ports/387486
Log:
- Make X11 optional
- Bump PORTREVISION
Modified:
head/graphics/rubygem-mini_magick/Makefile
Modified: head/graphics/rubygem-mini_magick/Makefile
==============================================================================
--- head/graphics/rubygem-mini_magick/Makefile Tue May 26 15:35:13 2015 (r387485)
+++ head/graphics/rubygem-mini_magick/Makefile Tue May 26 15:53:07 2015 (r387486)
@@ -3,16 +3,26 @@
PORTNAME= mini_magick
PORTVERSION= 4.2.4
+PORTREVISION= 1
CATEGORIES= graphics rubygems
MASTER_SITES= RG
MAINTAINER= ruby at 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>
More information about the svn-ports-all
mailing list