2009-08-17 05:57:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2009/08/17 09:57:44 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
|
|
|
|
|
2008-12-14 14:33:48 -05:00
|
|
|
GNOME_PROJECT= evince
|
2009-08-17 05:57:44 -04:00
|
|
|
GNOME_VERSION= 2.26.2
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2006-06-18 10:22:26 -04:00
|
|
|
CATEGORIES= graphics print
|
|
|
|
|
2009-08-17 05:57:44 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
PKGNAME-djvu= evince-djvu-${GNOME_VERSION}
|
|
|
|
PKGNAME-dvi= evince-dvi-${GNOME_VERSION}
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2009-08-17 05:57:44 -04:00
|
|
|
SHARED_LIBS += evdocument 0.0 # .1.0
|
|
|
|
SHARED_LIBS += evview 0.0 # .1.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
|
|
|
|
|
|
|
MULTI_PACKAGES= -main -djvu -dvi
|
|
|
|
|
2008-12-14 14:33:48 -05:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
|
|
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat \
|
|
|
|
fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 \
|
|
|
|
glib-2.0 glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0 \
|
|
|
|
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre \
|
2009-08-17 05:57:44 -04:00
|
|
|
pixman-1 png pthread-stubs xcb z
|
2008-12-14 14:33:48 -05:00
|
|
|
|
|
|
|
WANTLIB-main= ${WANTLIB} ICE ORBit-2 SM c dbus-1 dbus-glib-1 \
|
2009-06-07 01:30:09 -04:00
|
|
|
gnome-keyring gs gthread-2.0 \
|
2009-08-17 05:57:44 -04:00
|
|
|
jpeg pthread tiff xml2
|
2008-12-14 14:33:48 -05:00
|
|
|
LIB_DEPENDS-main= poppler.>=3,poppler-glib.>=3::print/poppler \
|
|
|
|
spectre::print/libspectre \
|
2009-01-08 15:09:33 -05:00
|
|
|
gnome-keyring::x11/gnome/keyring \
|
2009-06-10 16:46:36 -04:00
|
|
|
${MODGCONF2_LIB_DEPENDS} \
|
2008-05-21 18:13:35 -04:00
|
|
|
${MODGETTEXT_LIB_DEPENDS}
|
2009-06-11 14:26:44 -04:00
|
|
|
RUN_DEPENDS-main= ${RUN_DEPENDS} \
|
|
|
|
:shared-mime-info-*:misc/shared-mime-info \
|
2008-05-21 18:13:35 -04:00
|
|
|
:ghostscript-*:print/ghostscript/gnu \
|
2009-06-11 14:26:44 -04:00
|
|
|
::x11/gnome/icon-theme
|
2008-05-21 18:13:35 -04:00
|
|
|
|
|
|
|
WANTLIB-djvu= ${WANTLIB} jpeg
|
2009-08-17 05:57:44 -04:00
|
|
|
# port-lib-depends-check misses these ones because the depending lib
|
|
|
|
# is under lib/evince/1/backends/
|
|
|
|
LIB_DEPENDS-djvu= ${MODGETTEXT_LIB_DEPENDS} \
|
|
|
|
evdocument::${BASE_PKGPATH} \
|
|
|
|
djvulibre.>=21::graphics/djvulibre
|
2009-06-11 01:25:13 -04:00
|
|
|
RUN_DEPENDS-djvu= ${MODGCONF2_RUN_DEPENDS}
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2009-08-17 05:57:44 -04:00
|
|
|
WANTLIB-dvi= ${WANTLIB} gs
|
|
|
|
# port-lib-depends-check misses these ones because the depending lib
|
|
|
|
# is under lib/evince/1/backends/
|
|
|
|
LIB_DEPENDS-dvi= ${MODGETTEXT_LIB_DEPENDS} \
|
|
|
|
evdocument::${BASE_PKGPATH} \
|
|
|
|
kpathsea.>=1::print/texlive/base \
|
|
|
|
spectre::print/libspectre
|
2009-06-11 01:25:13 -04:00
|
|
|
RUN_DEPENDS-dvi= ${MODGCONF2_RUN_DEPENDS}
|
2008-12-14 14:33:48 -05:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
MODGNOME_HELP_FILES= Yes
|
|
|
|
DESKTOP_FILES= Yes
|
2009-06-07 01:30:09 -04:00
|
|
|
MODGCONF2_SCHEMAS_DIR= evince
|
2009-08-17 05:57:44 -04:00
|
|
|
MODGCONF2_LIBDEP= No
|
2008-12-14 14:33:48 -05:00
|
|
|
|
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
2006-06-18 10:22:26 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2008-12-14 14:33:48 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-static \
|
|
|
|
--disable-comics \
|
2008-05-21 18:13:35 -04:00
|
|
|
--disable-impress \
|
2008-12-14 14:33:48 -05:00
|
|
|
--enable-nautilus=no \
|
2006-06-18 10:22:26 -04:00
|
|
|
--disable-schemas-install \
|
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
|
|
|
|
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>
|