summaryrefslogtreecommitdiffstats
path: root/graphics/eog-plugins3/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-09-22 22:40:32 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-09-22 22:40:32 +0800
commit0c216d896f4325eef506ee0e486a216a2efdaa77 (patch)
tree7272477d71752946ce34c9128cf0e18bd3b69cc5 /graphics/eog-plugins3/Makefile
parentf0fbe63fb6b7225126351103ff9a6fd1a98b98bf (diff)
downloadmarcuscom-ports-0c216d896f4325eef506ee0e486a216a2efdaa77.tar
marcuscom-ports-0c216d896f4325eef506ee0e486a216a2efdaa77.tar.gz
marcuscom-ports-0c216d896f4325eef506ee0e486a216a2efdaa77.tar.bz2
marcuscom-ports-0c216d896f4325eef506ee0e486a216a2efdaa77.tar.lz
marcuscom-ports-0c216d896f4325eef506ee0e486a216a2efdaa77.tar.xz
marcuscom-ports-0c216d896f4325eef506ee0e486a216a2efdaa77.tar.zst
marcuscom-ports-0c216d896f4325eef506ee0e486a216a2efdaa77.zip
Update to 3.1.3.
Add configure hack to workaround a configure issue when champlain is disabled. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16319 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/eog-plugins3/Makefile')
-rw-r--r--graphics/eog-plugins3/Makefile58
1 files changed, 29 insertions, 29 deletions
diff --git a/graphics/eog-plugins3/Makefile b/graphics/eog-plugins3/Makefile
index 631faf040..7a54204ad 100644
--- a/graphics/eog-plugins3/Makefile
+++ b/graphics/eog-plugins3/Makefile
@@ -3,11 +3,11 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/eog-plugins3/Makefile,v 1.6 2011/08/24 13:49:30 kwm Exp $
+# $MCom: ports/graphics/eog-plugins3/Makefile,v 1.7 2011/08/24 16:05:56 kwm Exp $
#
PORTNAME= eog-plugins
-PORTVERSION= 3.0.0
+PORTVERSION= 3.1.3
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -15,49 +15,49 @@ 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/libgdata \
+BUILD_DEPENDS= eog>=3.1.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>=2.91.0:${PORTSDIR}/graphics/eog3
+RUN_DEPENDS= eog>=3.1.0:${PORTSDIR}/graphics/eog3
CONFLICTS= eog-plugins-2.[0-9]*
LATEST_LINK= eog-plugins3
-USE_BZIP2= yes
+USE_XZ= 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"
+CPPFLAGS= -I${LOCALBASE}/include
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.pre.mk>
+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(WITHOUT_CHAMPLAIN) || \
- (exists(${LOCALBASE}/lib/libchamplain-0.10.so)) || defined(WITH_CHAMPLIAN)
-LIB_DEPENDS+= champlain-0.10.0:${PORTSDIR}/graphics/libchamplain
+.if defined(WITH_CHAMPLAIN)
+LIB_DEPENDS+= champlain-0.12.0:${PORTSDIR}/graphics/libchamplain
PLIST_SUB+= CHAMPLAIN=""
.else
-PLUST_SUB+= CHAMPLAIN="@comment "
+PLIST_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
+.if defined(WITH_PYTHON)
+CONFIGURE_ARGS+=--enable-python
+PLIST_SUB+= PYTHON=""
.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
+.endif
+
+.if defined(WITHOUT_CHAMPLAIN)
+post-patch:
+ @${REINPLACE_CMD} -e 's|champlain-gtk|disabled-champlain-gtk|g' \
+ ${WRKSRC}/configure
+.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>