summaryrefslogtreecommitdiff
path: root/graphics/eog-plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/eog-plugins/Makefile')
-rw-r--r--graphics/eog-plugins/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/graphics/eog-plugins/Makefile b/graphics/eog-plugins/Makefile
new file mode 100644
index 000000000000..aec0aa46cdca
--- /dev/null
+++ b/graphics/eog-plugins/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: eog-plugins
+# Date created: 28 August 2009
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/graphics/eog-plugins/Makefile,v 1.5 2009/10/20 12:03:34 avl Exp $
+#
+
+PORTNAME= eog-plugins
+PORTVERSION= 2.28.1
+CATEGORIES= graphics gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Plug-ins for the Eye of GNOME image viewer application
+
+BUILD_DEPENDS= eog:${PORTSDIR}/graphics/eog
+RUN_DEPENDS= eog:${PORTSDIR}/graphics/eog
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack gtk20
+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.4.so)) || defined(WITH_CHAMPLIAN)
+LIB_DEPENDS+= champlain-0.4.1:${PORTSDIR}/graphics/libchamplain
+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=""
+.else
+PLIST_SUB+= EXIF="@comment "
+.endif
+
+.if ${HAVE_GNOME:Mpygnome2}!=""
+USE_GNOME+= pygnome2
+CONFIGURE_ARGS+=--enable-python
+PLIST_SUB+= PYTHON=""
+.else
+CONFIGURE_ARGS+=--disable-python
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+.include <bsd.port.post.mk>