aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-05-25 22:13:11 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-05-25 22:13:11 +0000
commit582a95ec1049fa26233101f5731d70dfecb65418 (patch)
tree746f0868b74eb49956ae2b0932954f2f70d9aadf /graphics
parentd547e43fd7b87272e3a55c2c096129a4acb4183f (diff)
downloadports-582a95ec1049fa26233101f5731d70dfecb65418.tar.gz
ports-582a95ec1049fa26233101f5731d70dfecb65418.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile6
-rw-r--r--graphics/ImageMagick/pkg-plist4
2 files changed, 6 insertions, 4 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 8bf61cd4db56..72f0ea60cc10 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -445,12 +445,14 @@ post-install:
.if !defined(WITHOUT_IMAGEMAGICK_PERL)
@${RM} -f ${PREFIX}/lib/perl5/${PERL_VERSION}/mach/perllocal.pod
.endif
-.if defined(WITHOUT_IMAGEMAGICK_16BIT_PIXEL)
+.if !defined(WITHOUT_IMAGEMAGICK_MODULES)
+. if defined(WITHOUT_IMAGEMAGICK_16BIT_PIXEL)
@${TOUCH} ${PREFIX}/lib/ImageMagick-${PORTVERSION:R}/modules-Q8/coders/.keep
@${TOUCH} ${PREFIX}/lib/ImageMagick-${PORTVERSION:R}/modules-Q8/filters/.keep
-.else
+. else
@${TOUCH} ${PREFIX}/lib/ImageMagick-${PORTVERSION:R}/modules-Q16/coders/.keep
@${TOUCH} ${PREFIX}/lib/ImageMagick-${PORTVERSION:R}/modules-Q16/filters/.keep
+. endif
.endif
test check:
diff --git a/graphics/ImageMagick/pkg-plist b/graphics/ImageMagick/pkg-plist
index e9159a4972b6..808743cfa19f 100644
--- a/graphics/ImageMagick/pkg-plist
+++ b/graphics/ImageMagick/pkg-plist
@@ -155,7 +155,7 @@ include/ImageMagick/wand/pixel-wand.h
include/ImageMagick/wand/stream.h
include/ImageMagick/wand/wand-view.h
lib/ImageMagick-%%PORTVERSION%%/config/configure.xml
-lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/.keep
+%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/.keep
%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/aai.la
%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/aai.so
%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/art.la
@@ -388,7 +388,7 @@ lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/.keep
%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/ycbcr.so
%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/yuv.la
%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/yuv.so
-lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/filters/.keep
+%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/filters/.keep
%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/filters/analyze.la
%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/filters/analyze.so
lib/libMagick++.a