pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/xdg-utils



Module Name:    pkgsrc
Committed By:   plunky
Date:           Mon Mar 30 19:04:21 UTC 2020

Modified Files:
        pkgsrc/misc/xdg-utils: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/misc/xdg-utils/Makefile

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

Modified files:

Index: pkgsrc/misc/xdg-utils/Makefile
diff -u pkgsrc/misc/xdg-utils/Makefile:1.16 pkgsrc/misc/xdg-utils/Makefile:1.17
--- pkgsrc/misc/xdg-utils/Makefile:1.16 Thu Mar 12 17:23:12 2020
+++ pkgsrc/misc/xdg-utils/Makefile      Mon Mar 30 19:04:21 2020
@@ -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_MESSAGE.paths= Avoid hardcoded pat
 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