git: 898ae858e770 - main - devel/pcsc-lite: unbreak packaging (again) when POLKIT is off

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 23:38:48 UTC
The branch main has been updated by danfe:

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

commit 898ae858e77067cea469b78386acf055e0b7e5ac
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-01-22 23:37:46 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-01-22 23:37:46 +0000

    devel/pcsc-lite: unbreak packaging (again) when POLKIT is off
    
    Trim excessive tabs while here and reword option descriptions
    so they fit standard 80-character terminal.
    
    Fixes:  009085adfe54
---
 devel/pcsc-lite/Makefile  | 7 ++++---
 devel/pcsc-lite/pkg-plist | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/devel/pcsc-lite/Makefile b/devel/pcsc-lite/Makefile
index 09e29dad0369..28ae7fce3eb5 100644
--- a/devel/pcsc-lite/Makefile
+++ b/devel/pcsc-lite/Makefile
@@ -31,10 +31,11 @@ OPTIONS_DEFINE=	DOCS EXAMPLES POLKIT
 OPTIONS_GROUP=		FEATURES
 OPTIONS_GROUP_FEATURES=	FILTER
 OPTIONS_DEFAULT=	POLKIT
+OPTIONS_SUB=	yes
 
-FEATURES_DESC=		Default features knobs
-FILTER_DESC=		Control (Ignore or Extend) reader names reported by PCSC
-POLKIT_DESC=		Enable polkit support
+FEATURES_DESC=	Default features knobs
+FILTER_DESC=	Control (Ignore or Extend) reported reader names
+POLKIT_DESC=	Polkit authorization support
 
 FILTER_CONFIGURE_ENABLE=	filter
 
diff --git a/devel/pcsc-lite/pkg-plist b/devel/pcsc-lite/pkg-plist
index e633f8f6bcb9..2fb3b5e51c24 100644
--- a/devel/pcsc-lite/pkg-plist
+++ b/devel/pcsc-lite/pkg-plist
@@ -22,6 +22,6 @@ sbin/pcscd
 share/man/man1/pcsc-spy.1.gz
 share/man/man5/reader.conf.5.gz
 share/man/man8/pcscd.8.gz
-share/polkit-1/actions/org.debian.pcsc-lite.policy
+%%POLKIT%%share/polkit-1/actions/org.debian.pcsc-lite.policy
 @dir lib/pcsc/services
 @dir lib/pcsc/drivers