git: e06a8e0d17c2 - main - graphics/evince: fix option handling in plist

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Tue, 09 Nov 2021 15:33:47 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e06a8e0d17c22645b14f0dfcdf1b81044d60f92a

commit e06a8e0d17c22645b14f0dfcdf1b81044d60f92a
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-11-09 15:18:04 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-11-09 15:32:30 +0000

    graphics/evince: fix option handling in plist
    
    The plist subs for some of the options got lost during the upgrade
    in 1c65e8910cf990e9ad7158ecc8a70137423be370 .
    
    Restore them.
    
    PR:             259694
    Reported by:    VVD <vvd@unislabs.com>, amdmi3,  fullermd@over-yonder.net
---
 graphics/evince/pkg-plist | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/graphics/evince/pkg-plist b/graphics/evince/pkg-plist
index 6505637e929e..e695e4f2eee2 100644
--- a/graphics/evince/pkg-plist
+++ b/graphics/evince/pkg-plist
@@ -51,18 +51,20 @@ include/evince/%%VERSION%%/libview/ev-stock-icons.h
 include/evince/%%VERSION%%/libview/ev-view-presentation.h
 include/evince/%%VERSION%%/libview/ev-view-type-builtins.h
 include/evince/%%VERSION%%/libview/ev-view.h
-lib/evince/4/backends/comicsdocument.evince-backend
-lib/evince/4/backends/djvudocument.evince-backend
-lib/evince/4/backends/libcomicsdocument.so
-lib/evince/4/backends/libdjvudocument.so
+%%COMICS%%lib/evince/4/backends/comicsdocument.evince-backend
+%%DJVU%%lib/evince/4/backends/djvudocument.evince-backend
+%%DVI%%lib/evince/4/backends/dvidocument.evince-backend
+%%COMICS%%lib/evince/4/backends/libcomicsdocument.so
+%%DJVU%%lib/evince/4/backends/libdjvudocument.so
+%%DVI%%lib/evince/4/backends/libdvidocument.so
 lib/evince/4/backends/libpdfdocument.so
 lib/evince/4/backends/libpsdocument.so
 lib/evince/4/backends/libtiffdocument.so
-lib/evince/4/backends/libxpsdocument.so
+%%XPS%%lib/evince/4/backends/libxpsdocument.so
 lib/evince/4/backends/pdfdocument.evince-backend
 lib/evince/4/backends/psdocument.evince-backend
 lib/evince/4/backends/tiffdocument.evince-backend
-lib/evince/4/backends/xpsdocument.evince-backend
+%%XPS%%lib/evince/4/backends/xpsdocument.evince-backend
 lib/girepository-1.0/EvinceDocument-%%VERSION%%.typelib
 lib/girepository-1.0/EvinceView-%%VERSION%%.typelib
 lib/libevdocument3.so
@@ -71,17 +73,17 @@ lib/libevdocument3.so.%%GTK4_VERSION%%
 lib/libevview3.so
 lib/libevview3.so.3
 lib/libevview3.so.%%GTK3_VERSION%%
-lib/nautilus/extensions-%%VERSION%%/libevince-properties-page.so
+%%NAUTILUS%%lib/nautilus/extensions-%%VERSION%%/libevince-properties-page.so
 libdata/pkgconfig/evince-document-%%VERSION%%.pc
 libdata/pkgconfig/evince-view-%%VERSION%%.pc
-libexec/evinced
+%%DBUS%%libexec/evinced
 man/man1/evince-previewer.1.gz
 man/man1/evince-thumbnailer.1.gz
 man/man1/evince.1.gz
 share/GConf/gsettings/evince.convert
 share/applications/org.gnome.Evince-previewer.desktop
 share/applications/org.gnome.Evince.desktop
-share/dbus-1/services/org.gnome.evince.Daemon.service
+%%DBUS%%share/dbus-1/services/org.gnome.evince.Daemon.service
 %%DATADIR%%/hand-open.png
 %%DATADIR%%/icons/hicolor/16x16/actions/object-rotate-left.png
 %%DATADIR%%/icons/hicolor/16x16/actions/object-rotate-right.png