pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

swaybg: use scdoc/tools.mk



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Tue Feb 24 17:26:12 2026 +0100
Changeset:	60635a4395dd7a4ce31effdd7cded209785fd503

Modified Files:
	swaybg/Makefile
Added Files:
	swaybg/COMMIT_MSG

Log Message:
swaybg: use scdoc/tools.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=60635a4395dd7a4ce31effdd7cded209785fd503

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 swaybg/COMMIT_MSG |  6 ++++++
 swaybg/Makefile   | 10 +---------
 2 files changed, 7 insertions(+), 9 deletions(-)

diffs:
diff --git a/swaybg/COMMIT_MSG b/swaybg/COMMIT_MSG
new file mode 100644
index 0000000000..b4805d5804
--- /dev/null
+++ b/swaybg/COMMIT_MSG
@@ -0,0 +1,6 @@
+Add x11/swaybg
+
+swaybg is a wallpaper utility for Wayland compositors.
+It is compatible with any Wayland compositor which
+implements the wlr-layer-shell protocol and
+wl_output version 4.
diff --git a/swaybg/Makefile b/swaybg/Makefile
index 5943c48982..e35132f488 100644
--- a/swaybg/Makefile
+++ b/swaybg/Makefile
@@ -11,7 +11,6 @@ COMMENT=	Wallpaper tool for Wayland compositors
 LICENSE=	mit
 
 USE_TOOLS+=	pkg-config
-TOOL_DEPENDS+=	scdoc-[0-9]*:../../textproc/scdoc
 
 SUBST_CLASSES+=		nogit
 SUBST_STAGE.nogit=	pre-configure
@@ -21,17 +20,10 @@ SUBST_SED.nogit+=	-e 's/git =/\#git =/g'
 SUBST_SED.nogit+=	-e 's/git.found()/false/g'
 SUBST_SED.nogit+=	-e '/project_version/s/@0@/${PKGVERSION}/g'
 
-INSTALLATION_DIRS+=	${PKGMANDIR}/man1
-
-post-install:
-	scdoc < ${WRKSRC}/swaybg.1.scd > ${WRKSRC}/swaybg.1
-	${INSTALL_MAN} ${WRKSRC}/swaybg.1 \
-		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/swaybg.1
-
-
 .include "../../devel/meson/build.mk"
 .include "../../devel/wayland/buildlink3.mk"
 .include "../../devel/wayland-protocols/buildlink3.mk"
 .include "../../graphics/cairo/buildlink3.mk"
 .include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../textproc/scdoc/tool.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index