git: 7e29005de04c - main - x11-wm/sawfish-pager: the port had been improved (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Tue, 27 Jun 2023 19:31:44 UTC
The branch main has been updated by danfe:

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

commit 7e29005de04ccb74d1522dfbdab78f1ae9bd145d
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-06-27 19:30:28 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-06-27 19:30:28 +0000

    x11-wm/sawfish-pager: the port had been improved (+)
    
    - Set more appropriate PORTNAME (chase commit 44713feb81f4)
    - Provide better COMMENT and more elaborate port description
    - Install useful documentation files, assume maintainership
---
 x11-wm/sawfish-pager/Makefile  | 16 ++++++++++++----
 x11-wm/sawfish-pager/pkg-descr | 10 +++++++++-
 2 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/x11-wm/sawfish-pager/Makefile b/x11-wm/sawfish-pager/Makefile
index 70d2dcf46678..55e666fcd50e 100644
--- a/x11-wm/sawfish-pager/Makefile
+++ b/x11-wm/sawfish-pager/Makefile
@@ -1,14 +1,15 @@
-PORTNAME=	pager
+PORTNAME=	sawfish-pager
 PORTVERSION=	0.90.3
 PORTREVISION=	3
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://download.tuxfamily.org/sawfishpager/
-DISTNAME=	sawfish-pager-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Pager for sawfish without GNOME
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Pager for Sawfish window manager
 WWW=		https://sawfish.tuxfamily.org/
 
+LICENSE=	GPLv2+
+
 BUILD_DEPENDS=	sawfish:x11-wm/sawfish
 RUN_DEPENDS=	sawfish:x11-wm/sawfish
 
@@ -19,8 +20,15 @@ GNU_CONFIGURE=	yes
 PLIST_FILES=	lib/sawfish/sawfishpager \
 		share/sawfish/lisp/sawfish/wm/ext/pager.jl \
 		share/sawfish/lisp/sawfish/wm/ext/pager.jlc
+PORTDOCS=	NEWS README TODO
+
+OPTIONS_DEFINE=	DOCS
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/sawfish/sawfishpager
 
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>
diff --git a/x11-wm/sawfish-pager/pkg-descr b/x11-wm/sawfish-pager/pkg-descr
index f7710034f485..1d672846597c 100644
--- a/x11-wm/sawfish-pager/pkg-descr
+++ b/x11-wm/sawfish-pager/pkg-descr
@@ -1 +1,9 @@
-A pager for sawfish without GNOME
+sawfish.wm.ext.pager is a C/Lisp extension that provides a functional
+desktop pager for the Sawfish window manager.
+
+A pager is a map of your desktop.  As maps go, it shows not only the
+visible part (your current viewport), but if you are so configured,
+also the parts that extend beyond the sides of your screen.  Also, if
+you have more than one workspace, the pager will follow you to where
+you are, or optionally show all workspaces at once.  Of course you can
+select viewports and windows, and also move or raise/lower the latter.