summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-05-18 07:05:59 +0000
committerpat <pat@FreeBSD.org>2002-05-18 07:05:59 +0000
commit1456ee10eca6bd12dff8955edb20761714ec0c1d (patch)
tree86e75fbcefde93112d509c4576223843f7a8d546
parentc75530720866d820eaaa7b658da7bf99ed8c9692 (diff)
downloadFreeBSD-ports-1456ee10eca6bd12dff8955edb20761714ec0c1d.zip
FreeBSD-ports-1456ee10eca6bd12dff8955edb20761714ec0c1d.tar.gz
Update to 0.2.1
PR: 38146 Submitted by: maintainer
-rw-r--r--graphics/gimageview/Makefile21
-rw-r--r--graphics/gimageview/distinfo2
-rw-r--r--graphics/gimageview/pkg-plist3
3 files changed, 22 insertions, 4 deletions
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile
index 976d5c0..d867f1f 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 <bsd.port.pre.mk>
+
+.if defined(HAVE_IMLIB)
+USE_IMLIB= yes
+.endif
+
post-patch:
@${PERL} -pi -e 's/DATADIRNAME=lib/DATADIRNAME=share/g' \
${WRKSRC}/configure
-.include <bsd.port.mk>
+post-configure:
+.if !defined(USE_IMLIB)
+ @${FIND} ${WRKSRC} -name 'Makefile' | ${XARGS} ${PERL} -pi.orig -e \
+ 's/^(GDK_IMLIB_(CFLAGS|LIBS) =).*$$/$${1}/'
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/graphics/gimageview/distinfo b/graphics/gimageview/distinfo
index 53a4cb5..71458fe 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 311de4a..69eca57 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
OpenPOWER on IntegriCloud