openbsd-ports/graphics/evince/Makefile

89 lines
2.3 KiB
Makefile
Raw Normal View History

2014-10-15 09:54:57 -04:00
# $OpenBSD: Makefile,v 1.119 2014/10/15 13:54:57 ajacoutot Exp $
2014-10-15 09:12:46 -04:00
SHARED_ONLY= Yes
COMMENT-main= GNOME document viewer
COMMENT-dvi= evince dvi backend
2014-10-15 09:12:46 -04:00
GNOME_PROJECT= evince
GNOME_VERSION= 3.14.1
2014-10-15 09:12:46 -04:00
PKGNAME-main= ${DISTNAME}
PKGNAME-dvi= evince-dvi-${GNOME_VERSION}
2014-10-15 09:54:57 -04:00
REVISION-main= 2
REVISION-dvi= 1
2014-10-15 09:12:46 -04:00
MAJ_V= 3.0
SUBST_VARS= MAJ_V
2014-10-15 09:12:46 -04:00
CATEGORIES= graphics print
2013-09-26 12:06:47 -04:00
SHARED_LIBS += evdocument3 0.2 # 4.0
SHARED_LIBS += evview3 0.0 # 3.0
2014-10-15 09:12:46 -04:00
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes gtk-3 pango-1.0
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs
WANTLIB += xcb-shm xcb xcb-render z gthread-2.0 cairo-gobject m ffi
WANTLIB += atk-bridge-2.0 atspi harfbuzz ICE SM gs gmodule-2.0 jpeg
WANTLIB += graphite2 avahi-common dbus-1 pthread spectre
2014-10-15 09:12:46 -04:00
MODULES= devel/dconf \
devel/gettext \
x11/gnome
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
LIB_DEPENDS= print/libspectre \
x11/gtk+3
2014-10-15 09:12:46 -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
LIB_DEPENDS-main= ${LIB_DEPENDS} \
print/poppler \
2014-10-15 09:12:46 -04:00
graphics/djvulibre \
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
WANTLIB-dvi += ${WANTLIB} evdocument3 kpathsea
2014-10-15 09:12:46 -04:00
LIB_DEPENDS-dvi= ${LIB_DEPENDS} \
${BASE_PKGPATH} \
print/texlive/base
2014-10-15 09:12:46 -04:00
RUN_DEPENDS-dvi= ${MODGETTEXT_RUN_DEPENDS}
CONFIGURE_STYLE= gnu
# 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"
MULTI_PACKAGES= -main -dvi
2011-11-18 07:37:19 -05:00
2012-09-29 09:14:04 -04:00
post-install:
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
.include <bsd.port.mk>