diff options
author | daichi <daichi@FreeBSD.org> | 2003-07-27 16:21:25 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-07-27 16:21:25 +0800 |
commit | 39ddc6a5d419f7e5ae2fdf60728617c2d1469ffc (patch) | |
tree | 6f7e99a62287c3e4db2c6f0900677fafb3735807 /graphics | |
parent | 7a1cd464b3a8eb8c7ff0b31cb81bb8ac7814f2f5 (diff) | |
download | freebsd-ports-gnome-39ddc6a5d419f7e5ae2fdf60728617c2d1469ffc.tar.gz freebsd-ports-gnome-39ddc6a5d419f7e5ae2fdf60728617c2d1469ffc.tar.zst freebsd-ports-gnome-39ddc6a5d419f7e5ae2fdf60728617c2d1469ffc.zip |
fix graphics/gimageview: make package fail
Submitted by: TATEISHI Katsuyuki <katsu@iec.hiroshima-u.ac.jp> (maintainer)
Pointed out by: bento via kris
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gimageview/Makefile | 15 | ||||
-rw-r--r-- | graphics/gimageview/pkg-plist | 10 |
2 files changed, 21 insertions, 4 deletions
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile index bb9e0112ea6f..385cd4358c35 100644 --- a/graphics/gimageview/Makefile +++ b/graphics/gimageview/Makefile @@ -49,24 +49,39 @@ WITH_MPLAYER= yes .if defined(WITH_LIBMNG) LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng +PLIST_SUB+= WITH_LIBMNG="" +.else +PLIST_SUB+= WITH_LIBMNG="@comment " .endif .if defined(WITH_LIBWMF) LIB_DEPENDS+= wmf.2:${PORTSDIR}/graphics/libwmf +PLIST_SUB+= WITH_LIBWMF="" +.else +PLIST_SUB+= WITH_LIBWMF="@comment " .endif .if defined(WITH_LIBRSVG) LIB_DEPENDS+= rsvg.1:${PORTSDIR}/graphics/librsvg +PLIST_SUB+= WITH_LIBRSVG="" +.else +PLIST_SUB+= WITH_LIBRSVG="@comment " .endif .if defined(WITH_MPLAYER) RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer CONFIGURE_ARGS+= --enable-mplayer +PLIST_SUB+= WITH_LIBMPLAYER="" +.else +PLIST_SUB+= WITH_LIBMPLAYER="@comment " .endif .if defined(WITH_LIBXINE) LIB_DEPENDS+= xine.3:${PORTSDIR}/graphics/libxine CONFIGURE_ARGS+= --with-xine +PLIST_SUB+= WITH_LIBXINE="" +.else +PLIST_SUB+= WITH_LIBXINE="@comment " .endif post-patch: diff --git a/graphics/gimageview/pkg-plist b/graphics/gimageview/pkg-plist index 73644b8c463f..c0c4f60bfb37 100644 --- a/graphics/gimageview/pkg-plist +++ b/graphics/gimageview/pkg-plist @@ -6,19 +6,21 @@ lib/gimageview/archiver/libgimv_zip_extarc.so lib/gimageview/image_loader/libgimv_bmp_loader.so lib/gimageview/image_loader/libgimv_jpeg_loader.so lib/gimageview/image_loader/libgimv_mag_loader.so -lib/gimageview/image_loader/libgimv_mng_loader.so +%%WITH_LIBMNG%%lib/gimageview/image_loader/libgimv_mng_loader.so lib/gimageview/image_loader/libgimv_pcx_loader.so lib/gimageview/image_loader/libgimv_pixbuf_loader.so lib/gimageview/image_loader/libgimv_png_loader.so +%%WITH_LIBRSVG%%lib/gimageview/image_loader/libgimv_rsvg_loader.la lib/gimageview/image_loader/libgimv_tga_loader.so -lib/gimageview/image_loader/libgimv_wmf_loader.so +%%WITH_LIBWMF%%lib/gimageview/image_loader/libgimv_wmf_loader.so lib/gimageview/image_loader/libgimv_xbm_loader.so lib/gimageview/image_loader/libgimv_xcf_loader.so lib/gimageview/image_loader/libgimv_xvpics_loader.so lib/gimageview/image_saver/libgimv_png_saver.so lib/gimageview/image_saver/libgimv_pnm_saver.so lib/gimageview/image_saver/libgimv_xvpics_saver.so -lib/gimageview/image_view/libgimv_mplayer.so +%%WITH_LIBMPLAYER%%lib/gimageview/image_view/libgimv_mplayer.so +%%WITH_LIBXINE%%lib/gimageview/image_view/libgimv_xine.so lib/gimageview/io_stream/libgimv_bz_io.so lib/gimageview/io_stream/libgimv_gzip_io.so lib/gimageview/thumbnail/libgimv_ee_thumb.so @@ -121,7 +123,7 @@ share/pixmaps/gimv.png @dirrm lib/gimageview/archiver @dirrm lib/gimageview/image_loader @dirrm lib/gimageview/image_saver -@dirrm lib/gimageview/image_view +@unexec rmdir %D/lib/gimageview/image_view 2>/dev/null || true @dirrm lib/gimageview/io_stream @dirrm lib/gimageview/thumbnail @dirrm lib/gimageview/thumbnail_view |