freebsd-ports/graphics/eog/Makefile
Koop Mast d129587b5d The FreeBSD GNOME team proudly presents GNOME 3.16 for FreeBSD.
The offical GNOME 3.16 release notes can be found at https://help.gnome.org/misc/release-notes/3.16/

Upgrade instructions for port users:

Delete the old tracker package with:
# pkg delete -f tracker
And user port upgrade tool of choice to upgrade.

Thanks to Antoine Brodin for running the exp-runs.

This release was made possible by the following people:
  Gustau Perez
  Ting-Wei_Lan

PR:		201980
2015-08-05 19:13:24 +00:00

71 lines
1.8 KiB
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= eog
PORTVERSION= 3.16.2
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= The Eye Of Gnome image viewer
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
PORTSCOUT= limitw:1,even
USES= desktop-file-utils gettext gmake libtool pathfix \
pkgconfig tar:xz
USE_GNOME= intlhack librsvg2 gtk30 gnomedesktop3 introspection:build
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
GLIB_SCHEMAS= org.gnome.eog.enums.xml \
org.gnome.eog.gschema.xml
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 ${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 ${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"
PLIST_SUB+= EXIFEXEMPI=""
.else
PLIST_SUB+= EXIFEXEMPI="@comment "
.endif
.include <bsd.port.mk>