pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc This configures the to-be-installed mdoc.local file so...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b19b3d3cfb87
branches: trunk
changeset: 474478:b19b3d3cfb87
user: reed <reed%pkgsrc.org@localhost>
date: Fri Apr 30 15:11:28 2004 +0000
description:
This configures the to-be-installed mdoc.local file so the
"volume-operating-system" macro is ${OPSYS}. And sets the default
.Os value to "pkgsrc" as suggested by wiz@. (It was hard-coded
"NetBSD\~1.6".)
Usually the mdoc.local "volume-operating-system" definition is for
the operating system name often displayed on top of man pages. And
"operating-system" is for the default .Os value (operating system
and version/release) and is usually displayed at bottom of man page.
Bump PKGREVISION.
This closes my PR #23100.
diffstat:
doc/CHANGES | 3 ++-
textproc/groff/Makefile | 22 ++++++++++++++++------
textproc/groff/files/mdoc.local | 5 ++---
3 files changed, 20 insertions(+), 10 deletions(-)
diffs (80 lines):
diff -r a9bc4cdd2456 -r b19b3d3cfb87 doc/CHANGES
--- a/doc/CHANGES Fri Apr 30 12:48:36 2004 +0000
+++ b/doc/CHANGES Fri Apr 30 15:11:28 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.5779 2004/04/30 10:50:44 grant Exp $
+$NetBSD: CHANGES,v 1.5780 2004/04/30 15:11:28 reed Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -2299,3 +2299,4 @@
Added p5-Text-Quoted-1.5 [minskim 2004-04-30]
Added musicpd-0.10.3 [grant 2004-04-30]
Added mpc-0.10.3 [grant 2004-04-30]
+ Updated groff to groff-1.19nb4 [reed 2004-04-30]
diff -r a9bc4cdd2456 -r b19b3d3cfb87 textproc/groff/Makefile
--- a/textproc/groff/Makefile Fri Apr 30 12:48:36 2004 +0000
+++ b/textproc/groff/Makefile Fri Apr 30 15:11:28 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2004/04/18 19:45:11 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2004/04/30 15:11:28 reed Exp $
#
DISTNAME= groff-1.19
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU:=groff/}
@@ -20,15 +20,25 @@
INFO_FILES= groff
-post-install:
- ${INSTALL_DATA} ${FILESDIR}/mdoc.local \
- ${PREFIX}/share/groff/site-tmac
-
.include "../../mk/bsd.prefs.mk"
.ifdef PAPERSIZE
CONFIGURE_ENV+= PAGE=${PAPERSIZE}
.endif
+# Usually the mdoc.local "volume-operating-system" definition is for
+# the operating system name often displayed on top of man pages. And
+# "operating-system" is for the default .Os value (operating system
+# and version/release) and is usually displayed at bottom of man page.
+# XXX Use "pkgsrc" as default .Os value.
+post-patch:
+ ${SED} -e "s,@@VOLUME_OPERATING_SYSTEM@@,${OPSYS},g" \
+ -e "s,@@OPERATING_SYSTEM@@,pkgsrc,g" \
+ ${FILESDIR}/mdoc.local > ${WRKDIR}/mdoc.local
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/mdoc.local \
+ ${PREFIX}/share/groff/site-tmac
+
.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff -r a9bc4cdd2456 -r b19b3d3cfb87 textproc/groff/files/mdoc.local
--- a/textproc/groff/files/mdoc.local Fri Apr 30 12:48:36 2004 +0000
+++ b/textproc/groff/files/mdoc.local Fri Apr 30 15:11:28 2004 +0000
@@ -36,8 +36,7 @@
.\"
.\" %beginstrip%
.
-.\" NetBSD
-.ds volume-operating-system NetBSD
+.ds volume-operating-system @@VOLUME_OPERATING_SYSTEM@@
.
.\" NetBSD .Lb values
.\".ds str-Lb-libarm32 ARM32 Architecture Library (libarm32, \-larm32)
@@ -138,7 +137,7 @@
.als str-St--isoC99 str-St--isoC-99
.
.\" Default .Os value
-.ds operating-system NetBSD\~1.6
+.ds operating-system @@OPERATING_SYSTEM@@
.\" Other known versions, not yet in groff distribution
.ds operating-system-NetBSD-1.4.2 1.4.2
.ds operating-system-NetBSD-1.4.3 1.4.3
Home |
Main Index |
Thread Index |
Old Index