diff options
author | pav <pav@FreeBSD.org> | 2004-06-01 05:24:33 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-06-01 05:24:33 +0800 |
commit | 0993e9256e729f7da599d297214f747d7fbe0cbb (patch) | |
tree | 51802db253bf77a1e606fc196e59d5782a0c55fa /graphics/ImageMagick | |
parent | 32e34fbb6ce12b5176f6e5df922a9b49d169f57a (diff) | |
download | freebsd-ports-gnome-0993e9256e729f7da599d297214f747d7fbe0cbb.tar.gz freebsd-ports-gnome-0993e9256e729f7da599d297214f747d7fbe0cbb.tar.zst freebsd-ports-gnome-0993e9256e729f7da599d297214f747d7fbe0cbb.zip |
- Add empty directories to package, so deinstalling of package does not throw
warnings about nonexisting directories
Approved by: maintainer
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r-- | graphics/ImageMagick/Makefile | 9 | ||||
-rw-r--r-- | graphics/ImageMagick/pkg-plist | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index e3d6cf5d5ffd..16676693f6a2 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -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> diff --git a/graphics/ImageMagick/pkg-plist b/graphics/ImageMagick/pkg-plist index 534d2ae79a89..24537ca7fea2 100644 --- a/graphics/ImageMagick/pkg-plist +++ b/graphics/ImageMagick/pkg-plist @@ -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 |