2010-04-26 13:39:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2010/04/26 17:39:16 ajacoutot Exp $
|
2006-06-18 10:22:26 -04:00
|
|
|
|
2008-05-21 18:13:35 -04:00
|
|
|
SHARED_ONLY= Yes
|
2006-06-18 10:22:26 -04:00
|
|
|
|
2008-05-21 18:13:35 -04:00
|
|
|
COMMENT-main= document viewer for multiple document formats
|
|
|
|
COMMENT-djvu= evince document viewer backend for djvu documents
|
|
|
|
COMMENT-dvi= evince document viewer backend for dvi documents
|
2009-10-13 07:00:39 -04:00
|
|
|
COMMENT-nautilus= evince plugin for nautilus
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2008-12-14 14:33:48 -05:00
|
|
|
GNOME_PROJECT= evince
|
2010-04-26 13:39:16 -04:00
|
|
|
GNOME_VERSION= 2.30.1
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2006-06-18 10:22:26 -04:00
|
|
|
CATEGORIES= graphics print
|
|
|
|
|
2010-04-26 13:39:16 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
2009-08-17 05:57:44 -04:00
|
|
|
PKGNAME-djvu= evince-djvu-${GNOME_VERSION}
|
|
|
|
PKGNAME-dvi= evince-dvi-${GNOME_VERSION}
|
2009-10-13 07:00:39 -04:00
|
|
|
PKGNAME-nautilus= nautilus-evince-${GNOME_VERSION}
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2010-04-20 18:06:50 -04:00
|
|
|
SHARED_LIBS += evdocument 1.0 # .2.0
|
|
|
|
SHARED_LIBS += evview 1.0 # .2.0
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2006-06-18 10:22:26 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org/projects/evince/
|
|
|
|
|
2009-04-06 12:15:13 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-05-21 18:13:35 -04:00
|
|
|
# GPLv2
|
2006-06-18 10:22:26 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
2008-12-14 14:33:48 -05:00
|
|
|
MODULES= devel/gettext \
|
2009-06-07 01:30:09 -04:00
|
|
|
x11/gnome \
|
|
|
|
devel/gconf2
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2009-04-06 06:09:06 -04:00
|
|
|
BUILD_DEPENDS= ::x11/gnome/icon-theme
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2009-10-13 07:00:39 -04:00
|
|
|
MULTI_PACKAGES= -main -djvu -dvi -nautilus
|
|
|
|
|
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
|
|
|
|
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
|
|
|
|
WANTLIB += glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0
|
|
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs
|
2010-04-26 13:39:16 -04:00
|
|
|
WANTLIB += xcb xcb-render xcb-render-util z gthread-2.0
|
2009-10-13 07:00:39 -04:00
|
|
|
|
|
|
|
WANTLIB-main= ${WANTLIB} ICE ORBit-2 SM c dbus-1 dbus-glib-1 \
|
2010-04-26 13:39:16 -04:00
|
|
|
gnome-keyring gs eggdbus-1 gcrypt gpg-error \
|
2009-10-13 07:00:39 -04:00
|
|
|
jpeg pthread tiff xml2 lcms
|
|
|
|
LIB_DEPENDS-main= poppler.>=3,poppler-glib.>=3::print/poppler \
|
|
|
|
spectre::print/libspectre \
|
2010-04-20 16:11:53 -04:00
|
|
|
gnome-keyring.>=6:libgnome-keyring-*:x11/gnome/libgnome-keyring \
|
2009-10-13 07:00:39 -04:00
|
|
|
${MODGCONF2_LIB_DEPENDS} \
|
|
|
|
${MODGETTEXT_LIB_DEPENDS}
|
|
|
|
RUN_DEPENDS-main= ${RUN_DEPENDS} \
|
|
|
|
:shared-mime-info-*:misc/shared-mime-info \
|
|
|
|
:ghostscript-*:print/ghostscript/gnu \
|
|
|
|
::x11/gnome/icon-theme
|
|
|
|
|
|
|
|
WANTLIB-djvu= ${WANTLIB} jpeg
|
2009-08-17 05:57:44 -04:00
|
|
|
# port-lib-depends-check misses these ones because the depending lib
|
2010-04-20 18:06:50 -04:00
|
|
|
# is under lib/evince/2/backends/
|
2009-10-13 07:00:39 -04:00
|
|
|
LIB_DEPENDS-djvu= ${MODGETTEXT_LIB_DEPENDS} \
|
|
|
|
evdocument::${BASE_PKGPATH} \
|
|
|
|
djvulibre.>=21::graphics/djvulibre
|
|
|
|
RUN_DEPENDS-djvu= ${MODGCONF2_RUN_DEPENDS}
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2010-04-20 18:06:50 -04:00
|
|
|
WANTLIB-dvi= ${WANTLIB} pthread gs
|
2009-08-17 05:57:44 -04:00
|
|
|
# port-lib-depends-check misses these ones because the depending lib
|
2010-04-20 18:06:50 -04:00
|
|
|
# is under lib/evince/2/backends/
|
2009-10-13 07:00:39 -04:00
|
|
|
LIB_DEPENDS-dvi= ${MODGETTEXT_LIB_DEPENDS} \
|
|
|
|
evdocument::${BASE_PKGPATH} \
|
|
|
|
kpathsea.>=1::print/texlive/base \
|
|
|
|
spectre::print/libspectre
|
|
|
|
RUN_DEPENDS-dvi= ${MODGCONF2_RUN_DEPENDS}
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2009-10-19 16:44:59 -04:00
|
|
|
WANTLIB-nautilus= ${WANTLIB} gthread-2.0
|
2009-10-13 07:00:39 -04:00
|
|
|
LIB_DEPENDS-nautilus= evdocument::${BASE_PKGPATH} \
|
2009-10-19 16:44:59 -04:00
|
|
|
${MODGETTEXT_LIB_DEPENDS} \
|
|
|
|
${MODLIBICONV_LIB_DEPENDS} \
|
2009-10-13 07:00:39 -04:00
|
|
|
nautilus-extension.>=2::x11/gnome/nautilus
|
|
|
|
RUN_DEPENDS-nautilus=
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2010-04-20 18:06:50 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
MODGNOME_HELP_FILES= Yes
|
|
|
|
DESKTOP_FILES= Yes
|
|
|
|
MODGCONF2_SCHEMAS_DIR= evince
|
|
|
|
MODGCONF2_LIBDEP= No
|
2009-10-13 07:00:39 -04:00
|
|
|
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
2006-06-18 10:22:26 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2009-10-13 07:00:39 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2008-12-14 14:33:48 -05:00
|
|
|
--disable-static \
|
|
|
|
--disable-comics \
|
2008-05-21 18:13:35 -04:00
|
|
|
--disable-impress \
|
2009-10-13 07:00:39 -04:00
|
|
|
--enable-nautilus \
|
2007-12-07 15:00:40 -05:00
|
|
|
--disable-scrollkeeper \
|
|
|
|
--enable-djvu \
|
|
|
|
--enable-dvi \
|
2009-06-07 01:30:09 -04:00
|
|
|
--enable-pixbuf
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2009-10-13 07:00:39 -04:00
|
|
|
# needs recent py-gobject
|
|
|
|
CONFIGURE_ARGS+= --enable-introspection=no
|
|
|
|
|
2006-06-18 10:22:26 -04:00
|
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|