pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/xdg-utils Clean up the unreadable manpages, by re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e04ae0a7f5df
branches:  trunk
changeset: 426372:e04ae0a7f5df
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Mon Mar 30 19:04:21 2020 +0000

description:
Clean up the unreadable manpages, by removing blank lines and leading spaces

diffstat:

 misc/xdg-utils/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 33e3657da37a -r e04ae0a7f5df misc/xdg-utils/Makefile
--- a/misc/xdg-utils/Makefile   Mon Mar 30 19:02:32 2020 +0000
+++ b/misc/xdg-utils/Makefile   Mon Mar 30 19:04:21 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2020/03/12 17:23:12 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2020/03/30 19:04:21 plunky Exp $
 
 DISTNAME=      xdg-utils-1.1.3
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    misc
 MASTER_SITES=  https://portland.freedesktop.org/download/
 
@@ -31,6 +31,13 @@
 SUBST_SED.paths+=      -e "s,/usr/local,${PREFIX},g"
 SUBST_SED.paths+=      -e "s,/etc,${PKG_SYSCONFDIR},g"
 
+SUBST_CLASSES+=                man
+SUBST_FILES.man=       scripts/man/xdg-*.1
+SUBST_STAGE.man=       post-build
+SUBST_MESSAGE.man=     Clean up manpages.
+SUBST_SED.man+=                -e 's,^[        ]*,,'
+SUBST_SED.man+=                -e '/^$$/d'
+
 # "foo > /dev/null 2> /dev/null" gives "foo: not found" with NetBSD's sh
 REPLACE_BASH+= scripts/xdg-*
 



Home | Main Index | Thread Index | Old Index