diff options
Diffstat (limited to 'graphics/evince')
-rw-r--r-- | graphics/evince/Makefile | 106 | ||||
-rw-r--r-- | graphics/evince/distinfo | 3 | ||||
-rw-r--r-- | graphics/evince/files/patch-configure | 29 | ||||
-rw-r--r-- | graphics/evince/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/evince/pkg-plist | 290 |
5 files changed, 433 insertions, 0 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile new file mode 100644 index 000000000..0f6dbbe2c --- /dev/null +++ b/graphics/evince/Makefile @@ -0,0 +1,106 @@ +# New ports collection makefile for: evince +# Date created: 09 January 2005 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports-stable/graphics/evince/Makefile,v 1.1 2007/12/01 19:16:37 marcus Exp $ +# + +PORTNAME= evince +PORTVERSION= 2.21.1 +CATEGORIES= graphics print gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2 multi-format document viewer + +LIB_DEPENDS= poppler-glib.2:${PORTSDIR}/graphics/poppler-gtk +RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip + +USE_LDCONFIG= yes +USE_BZIP2= yes +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes +USE_GETTEXT= yes +USE_XLIB= yes +USE_GMAKE= yes +USE_GHOSTSCRIPT=yes +INSTALLS_OMF= yes +USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui libgnomeprintui \ + desktopfileutils gnomedocutils +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= evince.schemas evince-thumbnailer.schemas \ + evince-thumbnailer-ps.schemas evince-thumbnailer-comics.schemas + +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 \ + 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 + +CONFIGURE_ARGS+= --enable-dvi +GCONF_SCHEMAS+= evince-thumbnailer-dvi.schemas +. if defined(WITH_T1LIB) +LIB_DEPENDS+= t1.5:${PORTSDIR}/devel/t1lib + +CONFIGURE_ARGS+= --enable-t1lib +. endif +.endif + +.if !defined(WITHOUT_NAUTILUS) +USE_GNOME+= nautilus2 +CONFIGURE_ARGS+= --enable-nautilus +PLIST_SUB+= NAUTILUS="" +.else +CONFIGURE_ARGS+= --disable-nautilus +PLIST_SUB+= NAUTILUS="@comment " +.endif + +.if defined(WITH_IMPRESS) +CONFIGURE_ARGS+= --enable-impress +.else +CONFIGURE_ARGS+= --disable-impress +.endif + +.if exists(${LOCALBASE}/bin/djview) +DJVU_DIR?= # empty +.else +DJVU_DIR?= -nox11 +.endif + +.if defined(WITH_DJVU) +LIB_DEPENDS+= djvulibre.19:${PORTSDIR}/graphics/djvulibre${DJVU_DIR} +CONFIGURE_ARGS+= --enable-djvu +GCONF_SCHEMAS+= evince-thumbnailer-djvu.schemas +.else +CONFIGURE_ARGS+= --disable-djvu +.endif + +.if !defined(WITHOUT_DBUS) +LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|execinfo.h|#|g' \ + ${WRKSRC}/configure + +post-install: + @-update-desktop-database + +.include <bsd.port.post.mk> diff --git a/graphics/evince/distinfo b/graphics/evince/distinfo new file mode 100644 index 000000000..7907ecd65 --- /dev/null +++ b/graphics/evince/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/evince-2.21.1.tar.bz2) = 24fb73444987357373098e57c8361ebb +SHA256 (gnome2/evince-2.21.1.tar.bz2) = 8c3c1a4a55b0fee684a19561eef2a788530f6417c3f455316e1dd24aa21a141d +SIZE (gnome2/evince-2.21.1.tar.bz2) = 1604582 diff --git a/graphics/evince/files/patch-configure b/graphics/evince/files/patch-configure new file mode 100644 index 000000000..9ca1314d6 --- /dev/null +++ b/graphics/evince/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig 2007-08-27 23:27:26.000000000 -0400 ++++ configure 2007-08-27 23:29:35.000000000 -0400 +@@ -25411,7 +25411,7 @@ fi + + + +-for ac_header in execinfo.h ++for ac_header in # + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` + if eval "test \"\${$as_ac_Header+set}\" = set"; then +@@ -26204,7 +26204,7 @@ else + echo "${ECHO_T}yes" >&6 + enable_cairo_pdf=yes + fi +- if test x$enable_cairo_pdf == xyes; then ++ if test x$enable_cairo_pdf = xyes; then + + cat >>confdefs.h <<\_ACEOF + #define HAVE_CAIRO_PDF 1 +@@ -26283,7 +26283,7 @@ else + echo "${ECHO_T}yes" >&6 + enable_cairo_ps=yes + fi +- if test x$enable_cairo_ps == xyes; then ++ if test x$enable_cairo_ps = xyes; then + + cat >>confdefs.h <<\_ACEOF + #define HAVE_CAIRO_PS 1 diff --git a/graphics/evince/pkg-descr b/graphics/evince/pkg-descr new file mode 100644 index 000000000..800f6fcd3 --- /dev/null +++ b/graphics/evince/pkg-descr @@ -0,0 +1,5 @@ +Evince is a document viewer for multiple document formats including PDF and +Postscript. The goal of evince is to replace document viewers such as ggv and +gpdf with a single, simple application. + +WWW: http://www.gnome.org/projects/evince/ diff --git a/graphics/evince/pkg-plist b/graphics/evince/pkg-plist new file mode 100644 index 000000000..2014c40f8 --- /dev/null +++ b/graphics/evince/pkg-plist @@ -0,0 +1,290 @@ +bin/evince +bin/evince-thumbnailer +%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.a +%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.la +%%NAUTILUS%%lib/nautilus/extensions-1.0/libevince-properties-page.so +share/applications/evince.desktop +%%DOCSDIR%%/EvAttachment.html +%%DOCSDIR%%/EvJobPrint.html +%%DOCSDIR%%/EvNavigationAction.html +%%DOCSDIR%%/EvNavigationActionWidget.html +%%DOCSDIR%%/EvPageAction.html +%%DOCSDIR%%/EvPageActionWidget.html +%%DOCSDIR%%/EvWindow.html +%%DOCSDIR%%/evince-EvHistory.html +%%DOCSDIR%%/evince-EvImage.html +%%DOCSDIR%%/evince-EvPasswordDialog.html +%%DOCSDIR%%/evince-EvPasswordView.html +%%DOCSDIR%%/evince-EvRenderContext.html +%%DOCSDIR%%/evince-EvSidebar.html +%%DOCSDIR%%/evince-EvSidebarAttachments.html +%%DOCSDIR%%/evince-EvSidebarLinks.html +%%DOCSDIR%%/evince-EvSidebarThumbnails.html +%%DOCSDIR%%/evince-EvTooltip.html +%%DOCSDIR%%/evince-ev-async-renderer.html +%%DOCSDIR%%/evince-ev-document-factory.html +%%DOCSDIR%%/evince-ev-document-find.html +%%DOCSDIR%%/evince-ev-document-fonts.html +%%DOCSDIR%%/evince-ev-document-images.html +%%DOCSDIR%%/evince-ev-document-info.html +%%DOCSDIR%%/evince-ev-document-links.html +%%DOCSDIR%%/evince-ev-document-misc.html +%%DOCSDIR%%/evince-ev-document-security.html +%%DOCSDIR%%/evince-ev-document-thumbnails.html +%%DOCSDIR%%/evince-ev-document-transition.html +%%DOCSDIR%%/evince-ev-document.html +%%DOCSDIR%%/evince-ev-file-exporter.html +%%DOCSDIR%%/evince-ev-file-helpers.html +%%DOCSDIR%%/evince-ev-job-queue.html +%%DOCSDIR%%/evince-ev-link-action.html +%%DOCSDIR%%/evince-ev-link-dest.html +%%DOCSDIR%%/evince-ev-link.html +%%DOCSDIR%%/evince-ev-metadata-manager.html +%%DOCSDIR%%/evince-ev-page-cache.html +%%DOCSDIR%%/evince-ev-pixbuf-cache.html +%%DOCSDIR%%/evince-ev-print-job.html +%%DOCSDIR%%/evince-ev-properties-dialog.html +%%DOCSDIR%%/evince-ev-properties-fonts.html +%%DOCSDIR%%/evince-ev-selection.html +%%DOCSDIR%%/evince-ev-sidebar-page.html +%%DOCSDIR%%/evince-ev-stock-icons.html +%%DOCSDIR%%/evince-ev-utils.html +%%DOCSDIR%%/evince-ev-view-accessible.html +%%DOCSDIR%%/evince-ev-view.html +%%DOCSDIR%%/evince-ev-window-title.html +%%DOCSDIR%%/evince.devhelp +%%DOCSDIR%%/evince.devhelp2 +%%DOCSDIR%%/home.png +%%DOCSDIR%%/index.html +%%DOCSDIR%%/index.sgml +%%DOCSDIR%%/ix01.html +%%DOCSDIR%%/left.png +%%DOCSDIR%%/pt01.html +%%DOCSDIR%%/pt02.html +%%DOCSDIR%%/pt03.html +%%DOCSDIR%%/pt04.html +%%DOCSDIR%%/right.png +%%DOCSDIR%%/style.css +%%DOCSDIR%%/up.png +%%DATADIR%%/evince-password.glade +%%DATADIR%%/evince-properties.glade +%%DATADIR%%/evince-toolbar.xml +%%DATADIR%%/evince-ui.xml +%%DATADIR%%/hand-open.png +%%DATADIR%%/icons/hicolor/16x16/actions/view-page-continuous.png +%%DATADIR%%/icons/hicolor/16x16/actions/view-page-facing.png +%%DATADIR%%/icons/hicolor/16x16/actions/zoom-fit-page.png +%%DATADIR%%/icons/hicolor/16x16/actions/zoom-fit-width.png +%%DATADIR%%/icons/hicolor/16x16/actions/zoom.png +%%DATADIR%%/icons/hicolor/22x22/actions/view-page-continuous.png +%%DATADIR%%/icons/hicolor/22x22/actions/view-page-facing.png +%%DATADIR%%/icons/hicolor/22x22/actions/zoom-fit-page.png +%%DATADIR%%/icons/hicolor/22x22/actions/zoom-fit-width.png +%%DATADIR%%/icons/hicolor/22x22/actions/zoom.png +%%DATADIR%%/icons/hicolor/24x24/actions/view-page-continuous.png +%%DATADIR%%/icons/hicolor/24x24/actions/view-page-facing.png +%%DATADIR%%/icons/hicolor/24x24/actions/zoom-fit-page.png +%%DATADIR%%/icons/hicolor/24x24/actions/zoom-fit-width.png +%%DATADIR%%/icons/hicolor/24x24/actions/zoom.png +%%DATADIR%%/icons/hicolor/32x32/actions/view-page-continuous.png +%%DATADIR%%/icons/hicolor/32x32/actions/view-page-facing.png +%%DATADIR%%/icons/hicolor/48x48/actions/view-page-continuous.png +%%DATADIR%%/icons/hicolor/48x48/actions/view-page-facing.png +share/gnome/help/evince/C/evince.xml +share/gnome/help/evince/C/figures/evince_start_window.png +share/gnome/help/evince/C/legal.xml +share/gnome/help/evince/bg/evince.xml +share/gnome/help/evince/bg/figures/evince_start_window.png +share/gnome/help/evince/ca/evince.xml +share/gnome/help/evince/ca/figures/evince_start_window.png +share/gnome/help/evince/el/evince.xml +share/gnome/help/evince/el/figures/evince_start_window.png +share/gnome/help/evince/en_GB/evince.xml +share/gnome/help/evince/en_GB/figures/evince_start_window.png +share/gnome/help/evince/es/evince.xml +share/gnome/help/evince/es/figures/evince_start_window.png +share/gnome/help/evince/fi/evince.xml +share/gnome/help/evince/fi/figures/evince_start_window.png +share/gnome/help/evince/fr/evince.xml +share/gnome/help/evince/fr/figures/evince_start_window.png +share/gnome/help/evince/it/evince.xml +share/gnome/help/evince/it/figures/evince_start_window.png +share/gnome/help/evince/ja/evince.xml +share/gnome/help/evince/ja/figures/evince_start_window.png +share/gnome/help/evince/nl/evince.xml +share/gnome/help/evince/nl/figures/evince_start_window.png +share/gnome/help/evince/oc/evince.xml +share/gnome/help/evince/oc/figures/evince_start_window.png +share/gnome/help/evince/pt_BR/evince.xml +share/gnome/help/evince/pt_BR/figures/evince_start_window.png +share/gnome/help/evince/ru/evince.xml +share/gnome/help/evince/ru/figures/evince_start_window.png +share/gnome/help/evince/sr/evince.xml +share/gnome/help/evince/sr/figures/evince_start_window.png +share/gnome/help/evince/sv/evince.xml +share/gnome/help/evince/sv/figures/evince_start_window.png +share/gnome/help/evince/uk/evince.xml +share/gnome/help/evince/uk/figures/evince_start_window.png +share/icons/hicolor/16x16/apps/evince.png +share/icons/hicolor/22x22/apps/evince.png +share/icons/hicolor/24x24/apps/evince.png +share/icons/hicolor/48x48/apps/evince.png +share/icons/hicolor/scalable/apps/evince.svg +share/locale/ar/LC_MESSAGES/evince.mo +share/locale/be/LC_MESSAGES/evince.mo +share/locale/be@latin/LC_MESSAGES/evince.mo +share/locale/bg/LC_MESSAGES/evince.mo +share/locale/bn/LC_MESSAGES/evince.mo +share/locale/bn_IN/LC_MESSAGES/evince.mo +share/locale/br/LC_MESSAGES/evince.mo +share/locale/ca/LC_MESSAGES/evince.mo +share/locale/cs/LC_MESSAGES/evince.mo +share/locale/cy/LC_MESSAGES/evince.mo +share/locale/da/LC_MESSAGES/evince.mo +share/locale/de/LC_MESSAGES/evince.mo +share/locale/dz/LC_MESSAGES/evince.mo +share/locale/el/LC_MESSAGES/evince.mo +share/locale/en_CA/LC_MESSAGES/evince.mo +share/locale/en_GB/LC_MESSAGES/evince.mo +share/locale/es/LC_MESSAGES/evince.mo +share/locale/et/LC_MESSAGES/evince.mo +share/locale/eu/LC_MESSAGES/evince.mo +share/locale/fa/LC_MESSAGES/evince.mo +share/locale/fi/LC_MESSAGES/evince.mo +share/locale/fr/LC_MESSAGES/evince.mo +share/locale/gl/LC_MESSAGES/evince.mo +share/locale/gu/LC_MESSAGES/evince.mo +share/locale/he/LC_MESSAGES/evince.mo +share/locale/hi/LC_MESSAGES/evince.mo +share/locale/hu/LC_MESSAGES/evince.mo +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/ku/LC_MESSAGES/evince.mo +share/locale/lt/LC_MESSAGES/evince.mo +share/locale/lv/LC_MESSAGES/evince.mo +share/locale/mg/LC_MESSAGES/evince.mo +share/locale/mk/LC_MESSAGES/evince.mo +share/locale/ml/LC_MESSAGES/evince.mo +share/locale/mr/LC_MESSAGES/evince.mo +share/locale/nb/LC_MESSAGES/evince.mo +share/locale/ne/LC_MESSAGES/evince.mo +share/locale/nl/LC_MESSAGES/evince.mo +share/locale/nn/LC_MESSAGES/evince.mo +share/locale/oc/LC_MESSAGES/evince.mo +share/locale/or/LC_MESSAGES/evince.mo +share/locale/pa/LC_MESSAGES/evince.mo +share/locale/pl/LC_MESSAGES/evince.mo +share/locale/pt/LC_MESSAGES/evince.mo +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/sk/LC_MESSAGES/evince.mo +share/locale/sl/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 +share/locale/sv/LC_MESSAGES/evince.mo +share/locale/ta/LC_MESSAGES/evince.mo +share/locale/te/LC_MESSAGES/evince.mo +share/locale/th/LC_MESSAGES/evince.mo +share/locale/tr/LC_MESSAGES/evince.mo +share/locale/uk/LC_MESSAGES/evince.mo +share/locale/vi/LC_MESSAGES/evince.mo +share/locale/wa/LC_MESSAGES/evince.mo +share/locale/zh_CN/LC_MESSAGES/evince.mo +share/locale/zh_HK/LC_MESSAGES/evince.mo +share/locale/zh_TW/LC_MESSAGES/evince.mo +share/omf/evince/evince-C.omf +share/omf/evince/evince-bg.omf +share/omf/evince/evince-ca.omf +share/omf/evince/evince-el.omf +share/omf/evince/evince-en_GB.omf +share/omf/evince/evince-es.omf +share/omf/evince/evince-fi.omf +share/omf/evince/evince-fr.omf +share/omf/evince/evince-it.omf +share/omf/evince/evince-ja.omf +share/omf/evince/evince-nl.omf +share/omf/evince/evince-oc.omf +share/omf/evince/evince-pt_BR.omf +share/omf/evince/evince-ru.omf +share/omf/evince/evince-sr.omf +share/omf/evince/evince-sv.omf +share/omf/evince/evince-uk.omf +@dirrm share/omf/evince +@dirrm share/gnome/help/evince/uk/figures +@dirrm share/gnome/help/evince/uk +@dirrm share/gnome/help/evince/sv/figures +@dirrm share/gnome/help/evince/sv +@dirrm share/gnome/help/evince/sr/figures +@dirrm share/gnome/help/evince/sr +@dirrm share/gnome/help/evince/ru/figures +@dirrm share/gnome/help/evince/ru +@dirrm share/gnome/help/evince/pt_BR/figures +@dirrm share/gnome/help/evince/pt_BR +@dirrm share/gnome/help/evince/oc/figures +@dirrm share/gnome/help/evince/oc +@dirrm share/gnome/help/evince/nl/figures +@dirrm share/gnome/help/evince/nl +@dirrm share/gnome/help/evince/ja/figures +@dirrm share/gnome/help/evince/ja +@dirrm share/gnome/help/evince/it/figures +@dirrm share/gnome/help/evince/it +@dirrm share/gnome/help/evince/fr/figures +@dirrm share/gnome/help/evince/fr +@dirrm share/gnome/help/evince/fi/figures +@dirrm share/gnome/help/evince/fi +@dirrm share/gnome/help/evince/es/figures +@dirrm share/gnome/help/evince/es +@dirrm share/gnome/help/evince/en_GB/figures +@dirrm share/gnome/help/evince/en_GB +@dirrm share/gnome/help/evince/el/figures +@dirrm share/gnome/help/evince/el +@dirrm share/gnome/help/evince/ca/figures +@dirrm share/gnome/help/evince/ca +@dirrm share/gnome/help/evince/bg/figures +@dirrm share/gnome/help/evince/bg +@dirrm share/gnome/help/evince/C/figures +@dirrm share/gnome/help/evince/C +@dirrm share/gnome/help/evince +@dirrm %%DATADIR%%/icons/hicolor/48x48/actions +@dirrm %%DATADIR%%/icons/hicolor/48x48 +@dirrm %%DATADIR%%/icons/hicolor/32x32/actions +@dirrm %%DATADIR%%/icons/hicolor/32x32 +@dirrm %%DATADIR%%/icons/hicolor/24x24/actions +@dirrm %%DATADIR%%/icons/hicolor/24x24 +@dirrm %%DATADIR%%/icons/hicolor/22x22/actions +@dirrm %%DATADIR%%/icons/hicolor/22x22 +@dirrm %%DATADIR%%/icons/hicolor/16x16/actions +@dirrm %%DATADIR%%/icons/hicolor/16x16 +@dirrm %%DATADIR%%/icons/hicolor +@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/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin +@dirrmtry share/applications |