blob: e866c3566552993eec82574466f77cd6bb4afc66 (
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
64
65
|
# 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.10 2011/10/20 17:26:42 kwm Exp $
#
PORTNAME= eog-plugins
PORTVERSION= 3.2.2
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>=3.2.0:${PORTSDIR}/graphics/eog3
LIB_DEPENDS= gdata.13:${PORTSDIR}/devel/libgdata \
exif.12:${PORTSDIR}/graphics/libexif \
peas-1.0.0:${PORTSDIR}/devel/libpeas
RUN_DEPENDS= eog>=3.2.0:${PORTSDIR}/graphics/eog3
CONFLICTS= eog-plugins-2.[0-9]*
LATEST_LINK= eog-plugins3
USE_XZ= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack gtk30
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GLIB_SCHEMAS= org.gnome.eog.plugins.exif-display.gschema.xml
OPTIONS= CHAMPLAIN "Build champlain map plugin" off \
PYTHON "Build python based plugins" on
.include <bsd.port.options.mk>
.if defined(WITH_CHAMPLAIN)
LIB_DEPENDS+= champlain-0.12.0:${PORTSDIR}/graphics/libchamplain
PLIST_SUB+= CHAMPLAIN=""
.else
PLIST_SUB+= CHAMPLAIN="@comment "
.endif
.if defined(WITH_PYTHON)
CONFIGURE_ARGS+=--enable-python
PLIST_SUB+= PYTHON=""
.else
CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON="@comment "
.endif
.if defined(WITHOUT_CHAMPLAIN)
post-patch:
@${REINPLACE_CMD} -e 's|champlain-gtk|disabled-champlain-gtk|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} '/^DEFAULT_PLUGINS=/,/^$$/ s/map//' \
${WRKSRC}/configure
.endif
.include <bsd.port.mk>
|