summaryrefslogtreecommitdiffstats
path: root/graphics/eog/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-23 00:10:57 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-23 00:10:57 +0800
commit1636ef8c5f43391b2a7a0ab36b14035d6abe2ba9 (patch)
tree0054147ac8e60376d53dfcfa44dfb43ab646ff80 /graphics/eog/Makefile
parentaa38fd79d50d28525d24738b71ef7cf9172847cb (diff)
downloadmarcuscom-ports-1636ef8c5f43391b2a7a0ab36b14035d6abe2ba9.tar
marcuscom-ports-1636ef8c5f43391b2a7a0ab36b14035d6abe2ba9.tar.gz
marcuscom-ports-1636ef8c5f43391b2a7a0ab36b14035d6abe2ba9.tar.bz2
marcuscom-ports-1636ef8c5f43391b2a7a0ab36b14035d6abe2ba9.tar.lz
marcuscom-ports-1636ef8c5f43391b2a7a0ab36b14035d6abe2ba9.tar.xz
marcuscom-ports-1636ef8c5f43391b2a7a0ab36b14035d6abe2ba9.tar.zst
marcuscom-ports-1636ef8c5f43391b2a7a0ab36b14035d6abe2ba9.zip
Add CONFLICTS with the each others.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15852 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/eog/Makefile')
-rw-r--r--graphics/eog/Makefile77
1 files changed, 77 insertions, 0 deletions
diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile
new file mode 100644
index 000000000..67d4126cb
--- /dev/null
+++ b/graphics/eog/Makefile
@@ -0,0 +1,77 @@
+# New ports collection makefile for: eog2
+# Date created: 21 May 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/graphics/eog/Makefile,v 1.81 2011/03/05 12:05:28 miwi Exp $
+# $MCom: ports/graphics/eog/Makefile,v 1.123 2010/11/16 10:11:41 kwm Exp $
+#
+
+PORTNAME= eog
+PORTVERSION= 2.32.1
+PORTREVISION= 2
+CATEGORIES= graphics gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= The Eye Of Gnome image viewer
+
+BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
+ update-mime-database:${PORTSDIR}/misc/shared-mime-info
+RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
+ update-mime-database:${PORTSDIR}/misc/shared-mime-info
+
+CONFLICTS= eog-3.[0-9]*
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack librsvg2 desktopfileutils \
+ gconf2 gnomedesktop
+WANT_GNOME= yes
+INSTALLS_ICONS= yes
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+GNU_CONFIGURE= yes
+GNOME_DESKTOP_VERSION=2
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= eog.schemas
+
+.include <bsd.port.pre.mk>
+
+_WITH_EXIF= no
+_WITH_EXEMPI= no
+
+.if !defined(WITHOUT_EXIF) || (exists(${LOCALBASE}/lib/libexif.so.12) || \
+ defined(WITH_EXIF))
+LIB_DEPENDS+= exif.12:${PORTSDIR}/graphics/libexif
+PLIST_SUB+= EXIF=""
+_WITH_EXIF= yes
+.else
+PLIST_SUB+= EXIF="@comment "
+.endif
+
+.if !defined(WITHOUT_EXEMPI) || (exists(${LOCALBASE}/lib/libexempi.so)) || \
+ defined(WITH_EXEMPI)
+LIB_DEPENDS+= exempi.3:${PORTSDIR}/textproc/exempi
+_WITH_EXEMPI= yes
+.endif
+
+.if ${_WITH_EXIF}=="yes" || ${_WITH_EXEMPI}=="yes"
+PLIST_SUB+= EXIFEXEMPI=""
+.else
+PLIST_SUB+= EXIFEXEMPI="@comment "
+.endif
+
+.if ${HAVE_GNOME:Mpygtk2}!=""
+USE_GNOME+= pygtk2
+CONFIGURE_ARGS+=--enable-python
+.else
+CONFIGURE_ARGS+=--disable-python
+.endif
+
+post-install:
+ @-update-desktop-database > /dev/null
+
+.include <bsd.port.post.mk>