fix graphics/gimageview: make package fail

Submitted by:	TATEISHI Katsuyuki <katsu@iec.hiroshima-u.ac.jp> (maintainer)
Pointed out by:	bento via kris
This commit is contained in:
Daichi GOTO 2003-07-27 08:21:25 +00:00
parent b19b5498fe
commit 5273200ea1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85658
2 changed files with 21 additions and 4 deletions

View file

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

View file

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