Do not touch .keep files if not using WITH_IMAGEMAGICK_MODULES

PR:		ports/168323
Reported by:	Adam Weinberger <adamw@freebsd.org>
This commit is contained in:
Martin Matuska 2012-05-25 22:13:11 +00:00
parent d547e43fd7
commit 582a95ec10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297460
2 changed files with 6 additions and 4 deletions

View File

@ -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:

View File

@ -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