From 1456ee10eca6bd12dff8955edb20761714ec0c1d Mon Sep 17 00:00:00 2001 From: pat Date: Sat, 18 May 2002 07:05:59 +0000 Subject: Update to 0.2.1 PR: 38146 Submitted by: maintainer --- graphics/gimageview/Makefile | 21 ++++++++++++++++++--- graphics/gimageview/distinfo | 2 +- graphics/gimageview/pkg-plist | 3 +++ 3 files changed, 22 insertions(+), 4 deletions(-) (limited to 'graphics/gimageview') diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile index 976d5c0cb98d..d867f1f2b5ee 100644 --- a/graphics/gimageview/Makefile +++ b/graphics/gimageview/Makefile @@ -6,22 +6,37 @@ # PORTNAME= gimageview -PORTVERSION= 0.1.100 +PORTVERSION= 0.2.1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gtkmmviewer MAINTAINER= katsu@iec.hiroshima-u.ac.jp +LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf + USE_X_PREFIX= yes USE_GMAKE= yes -USE_IMLIB= yes +USE_GTK= yes GNU_CONFIGURE= yes +WANT_IMLIB= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" +.include + +.if defined(HAVE_IMLIB) +USE_IMLIB= yes +.endif + post-patch: @${PERL} -pi -e 's/DATADIRNAME=lib/DATADIRNAME=share/g' \ ${WRKSRC}/configure -.include +post-configure: +.if !defined(USE_IMLIB) + @${FIND} ${WRKSRC} -name 'Makefile' | ${XARGS} ${PERL} -pi.orig -e \ + 's/^(GDK_IMLIB_(CFLAGS|LIBS) =).*$$/$${1}/' +.endif + +.include diff --git a/graphics/gimageview/distinfo b/graphics/gimageview/distinfo index 53a4cb52923b..71458fe72e25 100644 --- a/graphics/gimageview/distinfo +++ b/graphics/gimageview/distinfo @@ -1 +1 @@ -MD5 (gimageview-0.1.100.tar.gz) = 25f9a887850b3ba589546aaef3b9cfa9 +MD5 (gimageview-0.2.1.tar.gz) = d3294b7d485f311e237d9dc72924199c diff --git a/graphics/gimageview/pkg-plist b/graphics/gimageview/pkg-plist index 311de4aa6517..69eca57569e3 100644 --- a/graphics/gimageview/pkg-plist +++ b/graphics/gimageview/pkg-plist @@ -34,6 +34,7 @@ share/gimageview/doc/text/ja/INSTALL.jp share/gimageview/doc/text/ja/README.jp share/gimageview/doc/text/ja/TIPS.jp share/gimageview/doc/text/ja/gimageview.txt +share/gimageview/gtkrc share/gimageview/pixmaps/default/alert.xpm share/gimageview/pixmaps/default/archive.xpm share/gimageview/pixmaps/default/back.xpm @@ -51,9 +52,11 @@ share/gimageview/pixmaps/default/folder48.xpm share/gimageview/pixmaps/default/forward.xpm share/gimageview/pixmaps/default/fullscreen.xpm share/gimageview/pixmaps/default/gimageview.xpm +share/gimageview/pixmaps/default/gimv_icon.xpm share/gimageview/pixmaps/default/home.xpm share/gimageview/pixmaps/default/image.xpm share/gimageview/pixmaps/default/leftarrow.xpm +share/gimageview/pixmaps/default/nav_button.xpm share/gimageview/pixmaps/default/next_t.xpm share/gimageview/pixmaps/default/nfolder.xpm share/gimageview/pixmaps/default/no_zoom.xpm -- cgit