summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-06-18 01:00:40 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-06-18 01:00:40 +0800
commitce0f7350ec1538022126be86369fc738fa973b41 (patch)
treeb89db1ad4b0c34adb6a0741979683f02729bbb82
parent3e42f71127c1dd30339c8dc6a0d6373db4ce2874 (diff)
downloadmarcuscom-ports-ce0f7350ec1538022126be86369fc738fa973b41.tar
marcuscom-ports-ce0f7350ec1538022126be86369fc738fa973b41.tar.gz
marcuscom-ports-ce0f7350ec1538022126be86369fc738fa973b41.tar.bz2
marcuscom-ports-ce0f7350ec1538022126be86369fc738fa973b41.tar.lz
marcuscom-ports-ce0f7350ec1538022126be86369fc738fa973b41.tar.xz
marcuscom-ports-ce0f7350ec1538022126be86369fc738fa973b41.tar.zst
marcuscom-ports-ce0f7350ec1538022126be86369fc738fa973b41.zip
Sync evince from ports-stable and keep a extra PORTREVISION ahead. Because of
gnome-desktop shared library has been bumped, so I am just guessing that it's probably best to keep in here. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11073 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/evince/Makefile16
-rw-r--r--graphics/evince/distinfo6
-rw-r--r--graphics/evince/pkg-plist8
3 files changed, 19 insertions, 11 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 9fd163964..1c217909d 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -3,11 +3,11 @@
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/evince/Makefile,v 1.103 2008/04/21 00:00:31 marcus Exp $
+# $MCom$
#
PORTNAME= evince
-PORTVERSION= 2.22.1.1
+PORTVERSION= 2.22.2
PORTREVISION= 3
CATEGORIES= graphics print gnome
MASTER_SITES= GNOME
@@ -17,8 +17,7 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 2 multi-format document viewer
LIB_DEPENDS= poppler-glib.3:${PORTSDIR}/graphics/poppler-gtk \
- spectre.1:${PORTSDIR}/print/libspectre \
- dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+ spectre.1:${PORTSDIR}/print/libspectre
USE_LDCONFIG= yes
USE_BZIP2= yes
@@ -41,12 +40,17 @@ MAN1= evince.1
OPTIONS= DVI "Enable DVI viewer support" off \
T1LIB "Enable T1LIB for TYPE1 fonts to DVI (Enables DVI)" off \
NAUTILUS "Enable Nautilus plugin" on \
+ DBUS "Enable D-BUS support" on \
COMICS "Enable comic book archives support" on \
IMPRESS "Enable Impress presentations support" off \
DJVU "Enable DJVU support" off
.include <bsd.port.pre.mk>
+.if defined(PACKAGE_BUILDING) || exists(${LOCALBASE}/lib/libdbus-glib-1.so)
+WITH_DBUS= yes
+.endif
+
.if defined(WITH_DVI) || defined(WITH_T1LIB) || exists(${LOCALBASE}/lib/libkpathsea.a)
BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX-base
RUN_DEPENDS+= tex:${PORTSDIR}/print/teTeX-base
@@ -96,6 +100,10 @@ CONFIGURE_ARGS+= --disable-djvu
PLIST_SUB+= DJVU="@comment "
.endif
+.if !defined(WITHOUT_DBUS)
+LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+.endif
+
.if !defined(WITHOUT_COMICS)
RUN_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
CONFIGURE_ARGS+= --enable-comics
diff --git a/graphics/evince/distinfo b/graphics/evince/distinfo
index 59b25cc75..efb9e420a 100644
--- a/graphics/evince/distinfo
+++ b/graphics/evince/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome2/evince-2.22.1.1.tar.bz2) = 568ff7211a185d71d0e9de15a07f4987
-SHA256 (gnome2/evince-2.22.1.1.tar.bz2) = e87b258c8b49b5b059b473558eb5b2d05797a3425b6a154e4cbfa0a58ccb851c
-SIZE (gnome2/evince-2.22.1.1.tar.bz2) = 1648635
+MD5 (gnome2/evince-2.22.2.tar.bz2) = 3661f901ab40cee44d5350a045a8bdb1
+SHA256 (gnome2/evince-2.22.2.tar.bz2) = 4dcbdbd253b1978dcd70452780d7804ade912f4ede90f122f30d5322f53c5c3e
+SIZE (gnome2/evince-2.22.2.tar.bz2) = 1629323
diff --git a/graphics/evince/pkg-plist b/graphics/evince/pkg-plist
index 84a7613a2..6f1c5f072 100644
--- a/graphics/evince/pkg-plist
+++ b/graphics/evince/pkg-plist
@@ -219,8 +219,8 @@ share/locale/id/LC_MESSAGES/evince.mo
share/locale/it/LC_MESSAGES/evince.mo
share/locale/ja/LC_MESSAGES/evince.mo
share/locale/ka/LC_MESSAGES/evince.mo
-share/locale/ko/LC_MESSAGES/evince.mo
share/locale/kn/LC_MESSAGES/evince.mo
+share/locale/ko/LC_MESSAGES/evince.mo
share/locale/ku/LC_MESSAGES/evince.mo
share/locale/lt/LC_MESSAGES/evince.mo
share/locale/lv/LC_MESSAGES/evince.mo
@@ -241,9 +241,9 @@ share/locale/pt_BR/LC_MESSAGES/evince.mo
share/locale/ro/LC_MESSAGES/evince.mo
share/locale/ru/LC_MESSAGES/evince.mo
share/locale/rw/LC_MESSAGES/evince.mo
+share/locale/si/LC_MESSAGES/evince.mo
share/locale/sk/LC_MESSAGES/evince.mo
share/locale/sl/LC_MESSAGES/evince.mo
-share/locale/si/LC_MESSAGES/evince.mo
share/locale/sq/LC_MESSAGES/evince.mo
share/locale/sr/LC_MESSAGES/evince.mo
share/locale/sr@Latn/LC_MESSAGES/evince.mo
@@ -328,13 +328,13 @@ share/omf/evince/evince-zh_CN.omf
@dirrm %%DATADIR%%/icons
@dirrm %%DATADIR%%
@dirrm %%DOCSDIR%%
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrmtry share/applications
@dirrm lib/evince/backends
@dirrm lib/evince
@dirrm include/evince-2.20/evince
@dirrm include/evince-2.20
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@dirrmtry share/locale/zh_HK/LC_MESSAGES
@dirrmtry share/locale/zh_HK
@dirrmtry share/locale/te/LC_MESSAGES