2014-10-15 09:54:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.119 2014/10/15 13:54:57 ajacoutot Exp $
|
2006-06-18 10:22:26 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
SHARED_ONLY= Yes
|
2006-06-18 10:22:26 -04:00
|
|
|
|
2014-10-15 09:48:21 -04:00
|
|
|
COMMENT-main= GNOME document viewer
|
|
|
|
COMMENT-dvi= evince dvi backend
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
GNOME_PROJECT= evince
|
|
|
|
GNOME_VERSION= 3.14.1
|
2010-10-14 10:31:01 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
PKGNAME-dvi= evince-dvi-${GNOME_VERSION}
|
2014-03-30 09:37:34 -04:00
|
|
|
|
2014-10-15 09:54:57 -04:00
|
|
|
REVISION-main= 2
|
2014-10-15 09:48:21 -04:00
|
|
|
REVISION-dvi= 1
|
2014-10-15 06:12:37 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
MAJ_V= 3.0
|
|
|
|
SUBST_VARS= MAJ_V
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
CATEGORIES= graphics print
|
2006-06-18 10:22:26 -04:00
|
|
|
|
2013-09-26 12:06:47 -04:00
|
|
|
SHARED_LIBS += evdocument3 0.2 # 4.0
|
2011-09-12 03:26:18 -04:00
|
|
|
SHARED_LIBS += evview3 0.0 # 3.0
|
2008-05-21 18:13:35 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
2009-04-06 12:15:13 -04:00
|
|
|
|
2008-05-21 18:13:35 -04:00
|
|
|
# GPLv2
|
2006-06-18 10:22:26 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2013-03-26 10:04:36 -04:00
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes gtk-3 pango-1.0
|
2009-10-13 07:00:39 -04:00
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
|
2013-03-26 10:04:36 -04:00
|
|
|
WANTLIB += freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
|
2009-10-13 07:00:39 -04:00
|
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs
|
2013-03-26 10:04:36 -04:00
|
|
|
WANTLIB += xcb-shm xcb xcb-render z gthread-2.0 cairo-gobject m ffi
|
2014-10-15 09:48:21 -04:00
|
|
|
WANTLIB += atk-bridge-2.0 atspi harfbuzz ICE SM gs gmodule-2.0 jpeg
|
|
|
|
WANTLIB += graphite2 avahi-common dbus-1 pthread spectre
|
2009-10-13 07:00:39 -04:00
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
MODULES= devel/dconf \
|
|
|
|
devel/gettext \
|
|
|
|
x11/gnome
|
|
|
|
|
2014-10-15 09:48:21 -04:00
|
|
|
MODGNOME_TOOLS += desktop-file-utils gobject-introspection yelp
|
|
|
|
MODGNOME_TOOLS += gtk-update-icon-cache shared-mime-info
|
2014-10-15 09:12:46 -04:00
|
|
|
|
|
|
|
BUILD_DEPENDS= devel/gsettings-desktop-schemas
|
|
|
|
|
2014-10-15 09:48:21 -04:00
|
|
|
LIB_DEPENDS= print/libspectre \
|
|
|
|
x11/gtk+3
|
2014-10-15 09:12:46 -04:00
|
|
|
|
2014-10-15 09:48:21 -04:00
|
|
|
WANTLIB-main += ${WANTLIB} c gnome-desktop-3 gcrypt gpg-error stdc++
|
|
|
|
WANTLIB-main += secret-1 tiff xml2 lcms2 openjpeg poppler poppler-glib
|
|
|
|
WANTLIB-main += djvulibre archive bz2 gxps lzma nautilus-extension
|
2014-10-15 09:12:46 -04:00
|
|
|
|
2014-10-15 09:48:21 -04:00
|
|
|
LIB_DEPENDS-main= ${LIB_DEPENDS} \
|
|
|
|
print/poppler \
|
2014-10-15 09:12:46 -04:00
|
|
|
graphics/djvulibre \
|
2014-10-15 09:48:21 -04:00
|
|
|
graphics/libgxps \
|
|
|
|
x11/gnome/nautilus
|
2014-10-15 09:12:46 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS-main= ${RUN_DEPENDS} \
|
|
|
|
archivers/unrar \
|
|
|
|
archivers/unzip \
|
|
|
|
devel/gsettings-desktop-schemas \
|
|
|
|
print/ghostscript/gnu
|
|
|
|
|
2014-10-15 09:48:21 -04:00
|
|
|
WANTLIB-dvi += ${WANTLIB} evdocument3 kpathsea
|
2014-10-15 09:12:46 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS-dvi= ${LIB_DEPENDS} \
|
|
|
|
${BASE_PKGPATH} \
|
2014-10-15 09:48:21 -04:00
|
|
|
print/texlive/base
|
2014-10-15 09:12:46 -04:00
|
|
|
|
|
|
|
RUN_DEPENDS-dvi= ${MODGETTEXT_RUN_DEPENDS}
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2008-12-14 14:33:48 -05:00
|
|
|
|
2014-10-15 06:12:37 -04:00
|
|
|
# modern browsers can already display PDF
|
2014-10-15 04:50:23 -04:00
|
|
|
CONFIGURE_ARGS += --disable-browser-plugin
|
|
|
|
|
2014-10-15 09:12:46 -04:00
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include"
|
2006-06-18 10:22:26 -04:00
|
|
|
|
2014-10-15 09:48:21 -04:00
|
|
|
MULTI_PACKAGES= -main -dvi
|
2011-11-18 07:37:19 -05:00
|
|
|
|
2012-09-29 09:14:04 -04:00
|
|
|
post-install:
|
2014-04-01 09:21:44 -04:00
|
|
|
rm ${PREFIX}/lib/nautilus/extensions-${MAJ_V}/*.{a,la}
|
|
|
|
rm ${PREFIX}/lib/evince/4/backends/*.{a,la}
|
2012-09-29 09:14:04 -04:00
|
|
|
|
2006-06-18 10:22:26 -04:00
|
|
|
.include <bsd.port.mk>
|