diff options
-rw-r--r-- | graphics/evince/Makefile | 113 | ||||
-rw-r--r-- | graphics/evince/distinfo | 3 | ||||
-rw-r--r-- | graphics/evince/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/evince/pkg-plist | 127 |
4 files changed, 248 insertions, 0 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile new file mode 100644 index 000000000..79d28fda3 --- /dev/null +++ b/graphics/evince/Makefile @@ -0,0 +1,113 @@ +# New ports collection makefile for: evince +# Date created: 09 January 2005 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/graphics/evince/Makefile,v 1.50 2006/04/24 00:54:32 ahze Exp $ +# + +PORTNAME= evince +PORTVERSION= 0.5.4 +CATEGORIES= graphics print gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.5 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNOME 2 multi-format document viewer + +LIB_DEPENDS= poppler-glib.1:${PORTSDIR}/graphics/poppler-gtk + +USE_BZIP2= yes +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes +USE_GETTEXT= yes +USE_X_PREFIX= 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 -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +GCONF_SCHEMAS= evince.schemas evince-thumbnailer.schemas + +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" off +# IMPRESS "Enable Impress presentations support" off \ +# DJVU "Enable DJVU support" off + +.include <bsd.port.pre.mk> + +.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) \ + || exists(${LOCALBASE}/lib/libdbus-glib-1.so) +WITH_DBUS= yes +.endif + +.if defined(WITH_DVI) || defined(WITH_T1LIB) +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(${X11BASE}/bin/djview) +DJVU_DIR?= # empty +.else +DJVU_DIR?= -nox11 +.endif + +#.if defined(WITH_DJVU) +#LIB_DEPENDS+= djvulibre.17:${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 +.endif + +.if defined(WITH_COMICS) +CONFIGURE_ARGS+= --enable-comics +GCONF_SCHEMAS+= evince-thumbnailer-comics.schemas + +RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar \ + unzip:${PORTSDIR}/archivers/unzip +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|-lt1lib|-lt1 -lm| ; \ + s|execinfo.h|#|g' \ + ${WRKSRC}/configure \ + ${WRKSRC}/dvi/mdvi-lib/Makefile.in + +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..7b5090748 --- /dev/null +++ b/graphics/evince/distinfo @@ -0,0 +1,3 @@ +MD5 (evince-0.5.4.tar.bz2) = 82ea2cc4ae080aa5cbc2b1c7739ccb96 +SHA256 (evince-0.5.4.tar.bz2) = 4b6a067a642a7eb16205b4c48a5f04baca257bb3247a1c181d90de2bd4c4f4f7 +SIZE (evince-0.5.4.tar.bz2) = 1089332 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..c03ac75bd --- /dev/null +++ b/graphics/evince/pkg-plist @@ -0,0 +1,127 @@ +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/gnome/applications/evince.desktop +share/gnome/evince/evince-password.glade +share/gnome/evince/evince-properties.glade +share/gnome/evince/evince-toolbar.xml +share/gnome/evince/evince-ui.xml +share/gnome/evince/hand-open.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/el/evince.xml +share/gnome/help/evince/el/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/it/evince.xml +share/gnome/help/evince/it/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/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/uk/evince.xml +share/gnome/help/evince/uk/figures/evince_start_window.png +share/gnome/omf/evince/evince-C.omf +share/gnome/omf/evince/evince-bg.omf +share/gnome/omf/evince/evince-el.omf +share/gnome/omf/evince/evince-es.omf +share/gnome/omf/evince/evince-it.omf +share/gnome/omf/evince/evince-nl.omf +share/gnome/omf/evince/evince-ru.omf +share/gnome/omf/evince/evince-sr.omf +share/gnome/omf/evince/evince-uk.omf +share/icons/hicolor/16x16/apps/evince-16.png +share/icons/hicolor/22x22/apps/evince-22.png +share/icons/hicolor/48x48/apps/evince.png +share/icons/hicolor/scalable/apps/evince.svg +share/locale/be/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/mk/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/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/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/th/LC_MESSAGES/evince.mo +share/locale/ta/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 +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrm share/gnome/omf/evince +@dirrm share/gnome/help/evince/uk/figures +@dirrm share/gnome/help/evince/uk +@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/nl/figures +@dirrm share/gnome/help/evince/nl +@dirrm share/gnome/help/evince/it/figures +@dirrm share/gnome/help/evince/it +@dirrm share/gnome/help/evince/es/figures +@dirrm share/gnome/help/evince/es +@dirrm share/gnome/help/evince/el/figures +@dirrm share/gnome/help/evince/el +@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 share/gnome/evince +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || true |