diff options
Diffstat (limited to 'graphics/eog/Makefile')
-rw-r--r-- | graphics/eog/Makefile | 64 |
1 files changed, 33 insertions, 31 deletions
diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile index e8ad853..73ef23a 100644 --- a/graphics/eog/Makefile +++ b/graphics/eog/Makefile @@ -1,52 +1,65 @@ # Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/graphics/eog/Makefile,v 1.123 2010/11/16 10:11:41 kwm Exp $ +# $MCom: ports/trunk/graphics/eog/Makefile 19975 2014-10-16 10:47:01Z gusi $ PORTNAME= eog -PORTVERSION= 2.32.1 -PORTREVISION= 6 +PORTVERSION= 3.14.1 CATEGORIES= graphics gnome MASTER_SITES= GNOME -DIST_SUBDIR= gnome2 +DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= The Eye Of Gnome image viewer -BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme -RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme +BUILD_DEPENDS= gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme \ + itstool:${PORTSDIR}/textproc/itstool \ + gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas +LIB_DEPENDS= libpeas-gtk-1.0.so:${PORTSDIR}/devel/libpeas \ + liblcms.so:${PORTSDIR}/graphics/lcms +RUN_DEPENDS= gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme \ + gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas -USES= desktop-file-utils gettext gmake libtool:keepla pathfix \ - pkgconfig tar:bzip2 -USE_GNOME= gnomeprefix intlhack librsvg2 gconf2 gnomedesktop -WANT_GNOME= yes +USES= desktop-file-utils gettext gmake libtool pathfix \ + pkgconfig tar:xz +USE_GNOME= gnomeprefix intlhack librsvg2 gtk30 gnomedesktop3 \ + introspection:build INSTALLS_ICONS= yes -INSTALLS_OMF= yes GNU_CONFIGURE= yes -GNOME_DESKTOP_VERSION=2 CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip -GCONF_SCHEMAS= eog.schemas +GLIB_SCHEMAS= org.gnome.eog.enums.xml \ + org.gnome.eog.gschema.xml -.include <bsd.port.pre.mk> +PLIST_SUB+= VERSION=3.0 + +OPTIONS_DEFINE= EXIF EXEMPI +OPTIONS_DEFAULT=EXIF EXEMPI +EXIF_DESC= Digital camera file meta-data support +EXEMPI_DESC= XMP support + +.include <bsd.port.options.mk> _WITH_EXIF= no _WITH_EXEMPI= no -.if !defined(WITHOUT_EXIF) || (exists(${LOCALBASE}/lib/libexif.so.12) || \ - defined(WITH_EXIF)) +.if ${PORT_OPTIONS:MEXIF} +CONFIGURE_ARGS+=--with-libexif LIB_DEPENDS+= libexif.so:${PORTSDIR}/graphics/libexif PLIST_SUB+= EXIF="" _WITH_EXIF= yes .else +CONFIGURE_ARGS+=--without-libexif PLIST_SUB+= EXIF="@comment " .endif -.if !defined(WITHOUT_EXEMPI) || (exists(${LOCALBASE}/lib/libexempi.so)) || \ - defined(WITH_EXEMPI) +.if ${PORT_OPTIONS:MEXEMPI} +CONFIGURE_ARGS+=--with-xmp LIB_DEPENDS+= libexempi.so:${PORTSDIR}/textproc/exempi _WITH_EXEMPI= yes +.else +CONFIGURE_ARGS+=--without-xmp .endif .if ${_WITH_EXIF}=="yes" || ${_WITH_EXEMPI}=="yes" @@ -55,15 +68,4 @@ PLIST_SUB+= EXIFEXEMPI="" PLIST_SUB+= EXIFEXEMPI="@comment " .endif -.if ${HAVE_GNOME:Mpygtk2}!="" -USE_GNOME+= pygtk2 -CONFIGURE_ARGS+=--enable-python -.else -CONFIGURE_ARGS+=--disable-python -.endif - -post-patch: - @${REINPLACE_CMD} '/^EOG_MODULES=/s/"/"gmodule-2.0 /' \ - ${WRKSRC}/configure - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |