diff --git a/graphics/Makefile b/graphics/Makefile index 4fe98e66be6a..6421b8622baa 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -46,6 +46,7 @@ SUBDIR += enjoympeg SUBDIR += entice SUBDIR += eog + SUBDIR += eog2 SUBDIR += eps2png SUBDIR += epstool SUBDIR += eterm-bg diff --git a/graphics/eog2/Makefile b/graphics/eog2/Makefile index d27ca3aace24..19db167dde15 100644 --- a/graphics/eog2/Makefile +++ b/graphics/eog2/Makefile @@ -1,31 +1,39 @@ -# New ports collection makefile for: eog -# Date created: 5th October 1999 -# Whom: Ade Lovett +# New ports collection makefile for: eog2 +# Date created: 21 May 2002 +# Whom: Joe Marcus Clarke # # $FreeBSD$ # -PORTNAME= eog -PORTVERSION= 0.6 -PORTREVISION= 1 +PORTNAME= eog2 +PORTVERSION= 0.117.0 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= unstable/sources/eog +MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-beta5 +DISTNAME= eog-${PORTVERSION} +DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org +LIB_DEPENDS= gnomeui-2.0:${PORTSDIR}/x11-toolkits/libgnomeui \ + gnomeprint-2.0:${PORTSDIR}/print/libgnomeprint + +USE_BZIP2= yes USE_GMAKE= yes USE_X_PREFIX= yes -USE_GNOME= yes USE_LIBTOOL= yes +CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ + --datadir=${PREFIX}/share/gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(libdir\)/bonobo/servers|\$\(prefix\)/libdata/bonobo/servers|g ; \ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' .include diff --git a/graphics/eog2/distinfo b/graphics/eog2/distinfo index 208516b5eaa5..eff35a3d4143 100644 --- a/graphics/eog2/distinfo +++ b/graphics/eog2/distinfo @@ -1 +1 @@ -MD5 (eog-0.6.tar.gz) = e843959ff17f847e27a3219ac6cafcc7 +MD5 (gnome2/eog-0.117.0.tar.bz2) = c2ba1375e542eee624209d9c029a3da6 diff --git a/graphics/eog2/pkg-descr b/graphics/eog2/pkg-descr index 7bb40bc679db..958b6353bdb1 100644 --- a/graphics/eog2/pkg-descr +++ b/graphics/eog2/pkg-descr @@ -2,7 +2,6 @@ This is the Eye of Gnome, an image viewer program. It is meant to be a fast and functional image viewer as well as an image cataloging program. -This package requires the stable gnome-libs package and the -development gdk-pixbuf library. +This package requires the GNOME 2.0 development API. WWW: http://www.gnome.org/ diff --git a/graphics/eog2/pkg-plist b/graphics/eog2/pkg-plist index 93bd93526064..f81439729df2 100644 --- a/graphics/eog2/pkg-plist +++ b/graphics/eog2/pkg-plist @@ -1,32 +1,29 @@ bin/eog bin/eog-image-viewer -etc/gconf/gconf.xml.defaults/%gconf.xml -etc/gconf/gconf.xml.defaults/apps/%gconf.xml etc/gconf/gconf.xml.defaults/apps/eog/%gconf.xml etc/gconf/gconf.xml.defaults/apps/eog/full_screen/%gconf.xml etc/gconf/gconf.xml.defaults/apps/eog/view/%gconf.xml etc/gconf/gconf.xml.defaults/apps/eog/window/%gconf.xml -etc/gconf/gconf.xml.defaults/schemas/%gconf.xml -etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml etc/gconf/gconf.xml.defaults/schemas/apps/eog/%gconf.xml etc/gconf/gconf.xml.defaults/schemas/apps/eog/full_screen/%gconf.xml etc/gconf/gconf.xml.defaults/schemas/apps/eog/view/%gconf.xml etc/gconf/gconf.xml.defaults/schemas/apps/eog/window/%gconf.xml etc/gconf/schemas/eog.schemas -share/gnome/apps/Graphics/eog.desktop -share/gnome/eog/glade/preferences-dialog.glade -share/gnome/help/eog/C/fig/image-window-toolbar.png -share/gnome/help/eog/C/fig/image-window.png -share/gnome/help/eog/C/fig/prefs-display.png -share/gnome/help/eog/C/fig/prefs-viewers.png +libdata/bonobo/servers/GNOME_EOG.server +share/gnome/applications/eog.desktop +share/gnome/gnome-2.0/ui/eog-image-view-ctrl-ui.xml +share/gnome/gnome-2.0/ui/eog-image-view-ui.xml +share/gnome/gnome-2.0/ui/eog-shell-ui.xml +share/gnome/help/eog/C/eog.xml +share/gnome/help/eog/C/figures/eog_start_window.png +share/gnome/help/eog/C/legal.xml share/gnome/idl/Eog.idl -share/gnome/oaf/GNOME_EOG.oaf -share/gnome/pixmaps/eog/stock-zoom-1.xpm -share/gnome/pixmaps/eog/stock-zoom-fit.xpm -share/gnome/pixmaps/eog/stock-zoom-in.xpm -share/gnome/pixmaps/eog/stock-zoom-out.xpm +share/gnome/omf/eog/eog-C.omf +share/gnome/pixmaps/eog/down-right.png +share/gnome/pixmaps/eog/orient-horizontal.png +share/gnome/pixmaps/eog/orient-vertical.png +share/gnome/pixmaps/eog/right-down.png share/gnome/pixmaps/gnome-eog.png -share/gnome/ui/eog-image-view-ui.xml share/locale/az/LC_MESSAGES/eog.mo share/locale/ca/LC_MESSAGES/eog.mo share/locale/cs/LC_MESSAGES/eog.mo @@ -44,25 +41,28 @@ share/locale/it/LC_MESSAGES/eog.mo share/locale/ja/LC_MESSAGES/eog.mo share/locale/ko/LC_MESSAGES/eog.mo share/locale/lt/LC_MESSAGES/eog.mo +share/locale/ms/LC_MESSAGES/eog.mo share/locale/nl/LC_MESSAGES/eog.mo +share/locale/nn/LC_MESSAGES/eog.mo share/locale/no/LC_MESSAGES/eog.mo share/locale/pl/LC_MESSAGES/eog.mo +share/locale/pt/LC_MESSAGES/eog.mo share/locale/pt_BR/LC_MESSAGES/eog.mo share/locale/ro/LC_MESSAGES/eog.mo share/locale/ru/LC_MESSAGES/eog.mo +share/locale/sk/LC_MESSAGES/eog.mo share/locale/sl/LC_MESSAGES/eog.mo share/locale/sv/LC_MESSAGES/eog.mo +share/locale/ta/LC_MESSAGES/eog.mo share/locale/tr/LC_MESSAGES/eog.mo share/locale/uk/LC_MESSAGES/eog.mo -share/locale/zh_CN.GB2312/LC_MESSAGES/eog.mo -share/locale/zh_TW.Big5/LC_MESSAGES/eog.mo +share/locale/zh_CN/LC_MESSAGES/eog.mo +share/locale/zh_TW/LC_MESSAGES/eog.mo @dirrm share/gnome/pixmaps/eog -@dirrm share/gnome/help/eog/C/stylesheet-images -@dirrm share/gnome/help/eog/C/fig +@dirrm share/gnome/omf/eog +@dirrm share/gnome/help/eog/C/figures @dirrm share/gnome/help/eog/C -@dirrm share/gnome/help/eog -@dirrm share/gnome/eog/glade -@dirrm share/gnome/eog +@dirrm share/gnome/help/eog @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/eog/window @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/eog/view @dirrm etc/gconf/gconf.xml.defaults/schemas/apps/eog/full_screen