aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2017-06-01 15:25:44 +0800
committerkwm <kwm@FreeBSD.org>2017-06-01 15:25:44 +0800
commitebc89a169f632d1a846990f3940bf2a68185c56b (patch)
tree1fd4b891575d4553f590eb4f6ba8b5aaaccea8c1 /graphics
parentc18c1184eb080b78e75e4ace7d292e4268c7282d (diff)
downloadfreebsd-ports-gnome-ebc89a169f632d1a846990f3940bf2a68185c56b.tar.gz
freebsd-ports-gnome-ebc89a169f632d1a846990f3940bf2a68185c56b.tar.zst
freebsd-ports-gnome-ebc89a169f632d1a846990f3940bf2a68185c56b.zip
Update eog to 3.24.1.
* Add license * Review dependancies * Use USES=localbase * Convert to Option helpers * Eog is a GNOME 3 application not GNOME 2. Obtained from: gnome devel repo
Diffstat (limited to 'graphics')
-rw-r--r--graphics/eog/Makefile43
-rw-r--r--graphics/eog/distinfo6
-rw-r--r--graphics/eog/pkg-descr2
3 files changed, 19 insertions, 32 deletions
diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile
index fc204a8bd22b..b8b98e33855a 100644
--- a/graphics/eog/Makefile
+++ b/graphics/eog/Makefile
@@ -2,13 +2,16 @@
# $FreeBSD$
PORTNAME= eog
-PORTVERSION= 3.18.3
+PORTVERSION= 3.24.1
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
-COMMENT= The Eye Of Gnome image viewer
+COMMENT= Eye Of Gnome image viewer
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool:textproc/itstool \
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
@@ -18,14 +21,12 @@ RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
PORTSCOUT= limitw:1,even
-USES= desktop-file-utils gettext gmake gnome jpeg libtool pathfix \
- pkgconfig tar:xz
+USES= desktop-file-utils gettext gmake gnome jpeg libtool localbase \
+ pathfix pkgconfig tar:xz
USE_GNOME= cairo intltool librsvg2 gtk30 gnomedesktop3 introspection
USE_XORG= x11
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.eog.enums.xml \
@@ -33,35 +34,21 @@ GLIB_SCHEMAS= org.gnome.eog.enums.xml \
PLIST_SUB+= VERSION=3.0
+OPTIONS_SUB= yes
OPTIONS_DEFINE= EXIF EXEMPI
OPTIONS_DEFAULT=EXIF EXEMPI
+
EXIF_DESC= Digital camera file meta-data support
+EXIF_CONFIGURE_WITH= libexif
+EXIF_LIB_DEPENDS= libexif.so:graphics/libexif
+
EXEMPI_DESC= XMP support
+EXEMPI_CONFIGURE_WITH= xmp
+EXEMPI_LIB_DEPENDS= libexempi.so:textproc/exempi
.include <bsd.port.options.mk>
-_WITH_EXIF= no
-_WITH_EXEMPI= no
-
-.if ${PORT_OPTIONS:MEXIF}
-CONFIGURE_ARGS+=--with-libexif
-LIB_DEPENDS+= libexif.so:graphics/libexif
-PLIST_SUB+= EXIF=""
-_WITH_EXIF= yes
-.else
-CONFIGURE_ARGS+=--without-libexif
-PLIST_SUB+= EXIF="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MEXEMPI}
-CONFIGURE_ARGS+=--with-xmp
-LIB_DEPENDS+= libexempi.so:textproc/exempi
-_WITH_EXEMPI= yes
-.else
-CONFIGURE_ARGS+=--without-xmp
-.endif
-
-.if ${_WITH_EXIF}=="yes" || ${_WITH_EXEMPI}=="yes"
+.if ${PORT_OPTIONS:MEXIF} != "" || ${PORT_OPTIONS:MEXEMPI} != ""
PLIST_SUB+= EXIFEXEMPI=""
.else
PLIST_SUB+= EXIFEXEMPI="@comment "
diff --git a/graphics/eog/distinfo b/graphics/eog/distinfo
index 34442c7064b4..c285a6b1be7e 100644
--- a/graphics/eog/distinfo
+++ b/graphics/eog/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471883741
-SHA256 (gnome3/eog-3.18.3.tar.xz) = fb534bab125f28445fe7d17ea04817ba17e2a9a0d94ba6bc6408a3aadab43563
-SIZE (gnome3/eog-3.18.3.tar.xz) = 4334460
+TIMESTAMP = 1496238448
+SHA256 (gnome3/eog-3.24.1.tar.xz) = f51ee116e2c159fac1719e003a32e1cb6cbff51914fd1f6409f461a790ff27e7
+SIZE (gnome3/eog-3.24.1.tar.xz) = 4632496
diff --git a/graphics/eog/pkg-descr b/graphics/eog/pkg-descr
index 920f1863aa88..5960c9243489 100644
--- a/graphics/eog/pkg-descr
+++ b/graphics/eog/pkg-descr
@@ -1,4 +1,4 @@
-This is the Eye of Gnome, a GNOME 2 image viewer and cataloging
+This is the Eye of Gnome, a GNOME 3 image viewer and cataloging
application. It provides inline image viewing support for
nautilus.