aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/eom/Makefile
blob: 0880a0ec0700e18c685e946dacb4920516d0e48b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=   eom
PORTVERSION=    1.18.2
CATEGORIES= graphics mate
MASTER_SITES=   MATE
DIST_SUBDIR=    mate

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Eye of MATE image viewer

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  itstool:textproc/itstool
LIB_DEPENDS=    libstartup-notification-1.so:x11/startup-notification \
        libdbus-1.so:devel/dbus \
        libdbus-glib-1.so:devel/dbus-glib \
        libpeas-gtk-1.0.so:devel/libpeas

PORTSCOUT=  limitw:1,even

USES=       desktop-file-utils gettext gmake jpeg libtool localbase \
        pathfix pkgconfig tar:xz
USE_MATE=   desktop icontheme
USE_XORG=   x11
USE_GNOME=  cairo gnomeprefix gtk30 intltool introspection \
        librsvg2 libxml2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-cms
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip

GLIB_SCHEMAS=   org.mate.eom.gschema.xml \
        org.mate.eom.enums.xml

OPTIONS_DEFINE= EXIF EXEMPI
OPTIONS_DEFAULT=EXIF EXEMPI

EXEMPI_DESC=        XMP support
EXEMPI_CONFIGURE_WITH=  xmp
EXEMPI_LIB_DEPENDS= libexempi.so:textproc/exempi

EXIF_DESC=      Digital camera file meta-data support
EXIF_CONFIGURE_WITH=    libexif
EXIF_LIB_DEPENDS=   libexif.so:graphics/libexif

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEXIF} || ${PORT_OPTIONS:MEXEMPI}
PLIST_SUB+= EXIFEXEMPI=""
.else
PLIST_SUB+= EXIFEXEMPI="@comment "
.endif

.include <bsd.port.mk>