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/caa61a4d0dc4
branches: trunk
changeset: 414634:caa61a4d0dc4
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 75fa6153e1a3 -r caa61a4d0dc4 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