diff options
author | gusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059> | 2014-10-16 14:32:52 +0800 |
---|---|---|
committer | gusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059> | 2014-10-16 14:32:52 +0800 |
commit | 618a9d93f4fc2b20ab002082fe696e671521247d (patch) | |
tree | 014bac1fb25b4be8fa981886ee6750e66c90b1bf /graphics/evince/Makefile | |
parent | 7392f756acf96baa8af7413012b1758693329aa7 (diff) | |
download | marcuscom-ports-618a9d93f4fc2b20ab002082fe696e671521247d.tar marcuscom-ports-618a9d93f4fc2b20ab002082fe696e671521247d.tar.gz marcuscom-ports-618a9d93f4fc2b20ab002082fe696e671521247d.tar.bz2 marcuscom-ports-618a9d93f4fc2b20ab002082fe696e671521247d.tar.lz marcuscom-ports-618a9d93f4fc2b20ab002082fe696e671521247d.tar.xz marcuscom-ports-618a9d93f4fc2b20ab002082fe696e671521247d.tar.zst marcuscom-ports-618a9d93f4fc2b20ab002082fe696e671521247d.zip |
Another batch of updates. Add xps as an option for evince. Also
bring in adwaita-icon-theme, evince needs it and will replace
the default gnome icon theme.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19966 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/evince/Makefile')
-rw-r--r-- | graphics/evince/Makefile | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 12f1d44a2..9b4272e4b 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -3,7 +3,7 @@ # $MCom$ PORTNAME= evince -PORTVERSION= 3.12.2 +PORTVERSION= 3.14.0 CATEGORIES= graphics print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 @@ -11,14 +11,16 @@ DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME 3 multi-format document viewer -BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \ +BUILD_DEPENDS= gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme \ itstool:${PORTSDIR}/textproc/itstool \ - ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas + adwaita-icon-theme>=0:${PORTSDIR}/x11-themes/adwaita-icon-theme \ + gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \ libspectre.so:${PORTSDIR}/print/libspectre \ libsecret-1.so:${PORTSDIR}/security/libsecret -RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \ - ${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas +RUN_DEPENDS= gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme \ + adwaita-icon-theme>=0:${PORTSDIR}/x11-themes/adwaita-icon-theme \ + gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas USES= desktop-file-utils gettext gmake libtool pathfix \ pkgconfig tar:xz @@ -28,15 +30,15 @@ GNU_CONFIGURE= yes USE_XORG= ice INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include -Wno-format-nonliteral -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip -CONFIGURE_ARGS= --disable-xps --enable-introspection +CONFIGURE_ARGS= --enable-introspection GLIB_SCHEMAS= org.gnome.Evince.gschema.xml PLIST_SUB= VERSION=3.0 -OPTIONS_DEFINE= DVI T1LIB NAUTILUS KEYRING COMICS IMPRESS DJVU +OPTIONS_DEFINE= DVI XPS T1LIB NAUTILUS KEYRING COMICS IMPRESS DJVU OPTIONS_DEFAULT=NAUTILUS KEYRING COMICS DVI_DESC= DVI viewer support T1LIB_DESC= T1LIB for TYPE1 fonts to DVI (Enables DVI) @@ -45,6 +47,7 @@ KEYRING_DESC= Gnome-Keyring without Nautilus COMICS_DESC= Comic book archives support IMPRESS_DESC= Impress presentations support DJVU_DESC= DJVU support +XPS_DESC= XPS support .include <bsd.port.options.mk> @@ -88,6 +91,15 @@ CONFIGURE_ARGS+= --disable-impress PLIST_SUB+= IMPRESS="@comment " .endif +.if ${PORT_OPTIONS:MXPS} +LIB_DEPENDS+= libgxps.so:${PORTSDIR}/graphics/libgxps +CONFIGURE_ARGS+= --enable-xps +PLIST_SUB+= XPS="" +.else +CONFIGURE_ARGS+= --disable-xps +PLIST_SUB+= XPS="@comment " +.endif + .if ${PORT_OPTIONS:MDJVU} LIB_DEPENDS+= libdjvulibre.so:${PORTSDIR}/graphics/djvulibre CONFIGURE_ARGS+= --enable-djvu |