summaryrefslogtreecommitdiffstats
path: root/graphics/eog-plugins3/Makefile
blob: f87faef7c42ca6b4a9eaa8811706dd975299b06e (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
58
59
60
61
62
63
# New ports collection makefile for:    eog-plugins
# Date created:     28 August 2009
# Whom:         Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/graphics/eog-plugins3/Makefile,v 1.4 2011/04/22 16:10:57 mezz Exp $
#

PORTNAME=   eog-plugins
PORTVERSION=    3.0.0
CATEGORIES= graphics gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Plug-ins for the Eye of GNOME image viewer application

BUILD_DEPENDS=  eog>=2.91.0:${PORTSDIR}/graphics/eog3
LIB_DEPENDS=    gdata.11:${PORTSDIR}/devel/libgdata08 \
        peas-1.0.0:${PORTSDIR}/devel/libpeas
RUN_DEPENDS=    eog>=2.91.0:${PORTSDIR}/graphics/eog3

CONFLICTS=  eog-plugins-2.[0-9]*

LATEST_LINK=    eog-plugins3
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack intlhack gtk30
WANT_GNOME= yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_CHAMPLAIN) || \
    (exists(${LOCALBASE}/lib/libchamplain-0.10.so)) || defined(WITH_CHAMPLIAN)
LIB_DEPENDS+=   champlain-0.10.0:${PORTSDIR}/graphics/libchamplain010
PLIST_SUB+= CHAMPLAIN=""
.else
PLUST_SUB+= CHAMPLAIN="@comment "
.endif

.if !defined(WITHOUT_EXIF) || (exists(${LOCALBASE}/lib/libexif.so.12) || \
    defined(WITH_EXIF))
LIB_DEPENDS+=   exif.12:${PORTSDIR}/graphics/libexif
PLIST_SUB+= EXIF=""
GLIB_SCHEMAS=   org.gnome.eog.plugins.exif-display.gschema.xml
.else
PLIST_SUB+= EXIF="@comment "
.endif

#.if ${HAVE_GNOME:Mpygtk2}!=""
#USE_GNOME+=    pygtk2
#CONFIGURE_ARGS+=--enable-python
#PLIST_SUB+=    PYTHON=""
#.else
CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON="@comment "
#.endif

.include <bsd.port.post.mk>