summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-08-28 14:43:16 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-08-28 14:43:16 +0800
commitb8a0ac0b4590d372bd58b14fc91864fa4e77b0c1 (patch)
tree04f471f55aa1ae4e2f7d5db8b4a84fd09868b3eb /graphics
parentf6cd71f53747c51628e7704e475bce27127c4836 (diff)
downloadmarcuscom-ports-b8a0ac0b4590d372bd58b14fc91864fa4e77b0c1.tar
marcuscom-ports-b8a0ac0b4590d372bd58b14fc91864fa4e77b0c1.tar.gz
marcuscom-ports-b8a0ac0b4590d372bd58b14fc91864fa4e77b0c1.tar.bz2
marcuscom-ports-b8a0ac0b4590d372bd58b14fc91864fa4e77b0c1.tar.lz
marcuscom-ports-b8a0ac0b4590d372bd58b14fc91864fa4e77b0c1.tar.xz
marcuscom-ports-b8a0ac0b4590d372bd58b14fc91864fa4e77b0c1.tar.zst
marcuscom-ports-b8a0ac0b4590d372bd58b14fc91864fa4e77b0c1.zip
Add a missing WANT_GNOME, and adjust the plist for exif and exempi
support. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12750 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/eog/Makefile23
-rw-r--r--graphics/eog/pkg-plist4
2 files changed, 24 insertions, 3 deletions
diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile
index 1d0418ab7..873e69f17 100644
--- a/graphics/eog/Makefile
+++ b/graphics/eog/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/eog/Makefile,v 1.100 2009/08/16 05:32:34 marcus Exp $
+# $MCom: ports/graphics/eog/Makefile,v 1.101 2009/08/25 08:07:56 kwm Exp $
#
PORTNAME= eog
PORTVERSION= 2.27.91
+PORTREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -22,6 +23,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack intlhack librsvg2 desktopfileutils \
gnomedesktop
+WANT_GNOME= yes
INSTALLS_ICONS= yes
USE_GETTEXT= yes
INSTALLS_OMF= yes
@@ -34,9 +36,28 @@ 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:Mpygnome2}!=""
diff --git a/graphics/eog/pkg-plist b/graphics/eog/pkg-plist
index a845f8862..474ab9f1b 100644
--- a/graphics/eog/pkg-plist
+++ b/graphics/eog/pkg-plist
@@ -4,8 +4,8 @@ include/eog-2.20/eog/eog-debug.h
include/eog-2.20/eog/eog-dialog.h
include/eog-2.20/eog/eog-enums.h
include/eog-2.20/eog/eog-error-message-area.h
-include/eog-2.20/eog/eog-exif-details.h
-include/eog-2.20/eog/eog-exif-util.h
+%%EXIFEXEMPI%%include/eog-2.20/eog/eog-exif-details.h
+%%EXIF%%include/eog-2.20/eog/eog-exif-util.h
include/eog-2.20/eog/eog-file-chooser.h
include/eog-2.20/eog/eog-image-save-info.h
include/eog-2.20/eog/eog-image.h