summaryrefslogtreecommitdiff
path: root/graphics/gimageview
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-05-18 07:05:59 +0000
committerPatrick Li <pat@FreeBSD.org>2002-05-18 07:05:59 +0000
commitaba66c0fb1cc64a5daae67595fb43c0360eb1e81 (patch)
tree12bc64ce68be3db75aacd37112954adef1d20c51 /graphics/gimageview
parentChase gmime shlib version bump. (diff)
Update to 0.2.1
PR: 38146 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=59412
Diffstat (limited to 'graphics/gimageview')
-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 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 <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 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