1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Add empty directories to package, so deinstalling of package does not throw

warnings about nonexisting directories

Approved by:	maintainer
This commit is contained in:
Pav Lucistnik 2004-05-31 21:24:33 +00:00
parent d7b47d8803
commit 2de67f6591
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110558
2 changed files with 13 additions and 0 deletions

View File

@ -245,4 +245,13 @@ post-patch:
@${PERL} -pi -e 's|timestamp: %ld|timestamp: %d|g' \
${WRKSRC}/magick/xwindow.c
post-install:
.if defined(WITHOUT_IMAGEMAGICK_16BIT_PIXEL)
@${TOUCH} ${PREFIX}/lib/ImageMagick/modules-Q8/coders/.keep
@${TOUCH} ${PREFIX}/lib/ImageMagick/modules-Q8/filters/.keep
.else
@${TOUCH} ${PREFIX}/lib/ImageMagick/modules-Q16/coders/.keep
@${TOUCH} ${PREFIX}/lib/ImageMagick/modules-Q16/filters/.keep
.endif
.include <bsd.port.mk>

View File

@ -102,6 +102,7 @@ lib/ImageMagick/config/type.mgk
lib/ImageMagick/config/type-ghostscript.mgk
lib/ImageMagick/config/type-solaris.mgk
lib/ImageMagick/config/type-windows.mgk
%%Q8%%lib/ImageMagick/modules-Q8/coders/.keep
%%Q8%%%%MODULES%%lib/ImageMagick/modules-Q8/coders/art.la
%%Q8%%%%MODULES%%lib/ImageMagick/modules-Q8/coders/art.so
%%Q8%%%%MODULES%%lib/ImageMagick/modules-Q8/coders/avi.la
@ -280,8 +281,10 @@ lib/ImageMagick/config/type-windows.mgk
%%Q8%%%%MODULES%%lib/ImageMagick/modules-Q8/coders/xwd.so
%%Q8%%%%MODULES%%lib/ImageMagick/modules-Q8/coders/yuv.la
%%Q8%%%%MODULES%%lib/ImageMagick/modules-Q8/coders/yuv.so
%%Q8%%lib/ImageMagick/modules-Q8/filters/.keep
%%Q8%%%%MODULES%%lib/ImageMagick/modules-Q8/filters/analyze.la
%%Q8%%%%MODULES%%lib/ImageMagick/modules-Q8/filters/analyze.so
%%Q16%%lib/ImageMagick/modules-Q16/coders/.keep
%%Q16%%%%MODULES%%lib/ImageMagick/modules-Q16/coders/art.la
%%Q16%%%%MODULES%%lib/ImageMagick/modules-Q16/coders/art.so
%%Q16%%%%MODULES%%lib/ImageMagick/modules-Q16/coders/avi.la
@ -460,6 +463,7 @@ lib/ImageMagick/config/type-windows.mgk
%%Q16%%%%MODULES%%lib/ImageMagick/modules-Q16/coders/xwd.so
%%Q16%%%%MODULES%%lib/ImageMagick/modules-Q16/coders/yuv.la
%%Q16%%%%MODULES%%lib/ImageMagick/modules-Q16/coders/yuv.so
%%Q16%%lib/ImageMagick/modules-Q16/filters/.keep
%%Q16%%%%MODULES%%lib/ImageMagick/modules-Q16/filters/analyze.la
%%Q16%%%%MODULES%%lib/ImageMagick/modules-Q16/filters/analyze.so
lib/libMagick++.a