Source-Changes-HG archive

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

[src/trunk]: src/gnu/usr.bin unhook groff



details:   https://anonhg.NetBSD.org/src/rev/a759dda35de2
branches:  trunk
changeset: 813038:a759dda35de2
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 13 19:03:09 2016 +0000

description:
unhook groff

diffstat:

 gnu/usr.bin/Makefile                            |     6 +-
 gnu/usr.bin/groff/Makefile                      |     7 -
 gnu/usr.bin/groff/Makefile.inc                  |   164 -
 gnu/usr.bin/groff/contrib/Makefile              |    13 -
 gnu/usr.bin/groff/contrib/Makefile.inc          |     7 -
 gnu/usr.bin/groff/contrib/gdiffmk/Makefile      |     9 -
 gnu/usr.bin/groff/contrib/groffer/Makefile      |     9 -
 gnu/usr.bin/groff/contrib/mm/Makefile           |    49 -
 gnu/usr.bin/groff/contrib/mom/Makefile          |    25 -
 gnu/usr.bin/groff/contrib/mom/Makefile.inc      |     7 -
 gnu/usr.bin/groff/contrib/mom/examples/Makefile |    14 -
 gnu/usr.bin/groff/contrib/mom/momdoc/Makefile   |    31 -
 gnu/usr.bin/groff/doc/Makefile                  |     9 -
 gnu/usr.bin/groff/font/Makefile                 |    14 -
 gnu/usr.bin/groff/font/Makefile.dev             |    15 -
 gnu/usr.bin/groff/font/Makefile.inc             |     5 -
 gnu/usr.bin/groff/font/Makefile.tty             |    37 -
 gnu/usr.bin/groff/font/devX100-12/Makefile      |    12 -
 gnu/usr.bin/groff/font/devX100/Makefile         |    12 -
 gnu/usr.bin/groff/font/devX75-12/Makefile       |    12 -
 gnu/usr.bin/groff/font/devX75/Makefile          |    12 -
 gnu/usr.bin/groff/font/devascii/Makefile        |    10 -
 gnu/usr.bin/groff/font/devcp1047/Makefile       |    10 -
 gnu/usr.bin/groff/font/devdvi/Makefile          |    35 -
 gnu/usr.bin/groff/font/devhtml/Makefile         |    11 -
 gnu/usr.bin/groff/font/devkoi8-r/DESC.proto     |     8 -
 gnu/usr.bin/groff/font/devkoi8-r/Makefile       |    10 -
 gnu/usr.bin/groff/font/devkoi8-r/R.proto        |   332 -
 gnu/usr.bin/groff/font/devlatin1/Makefile       |    10 -
 gnu/usr.bin/groff/font/devlbp/Makefile          |    26 -
 gnu/usr.bin/groff/font/devlj4/Makefile          |    37 -
 gnu/usr.bin/groff/font/devps/Makefile           |    45 -
 gnu/usr.bin/groff/font/devutf8/Makefile         |    10 -
 gnu/usr.bin/groff/man/Makefile                  |    11 -
 gnu/usr.bin/groff/src/Makefile                  |     7 -
 gnu/usr.bin/groff/src/devices/Makefile          |     7 -
 gnu/usr.bin/groff/src/devices/Makefile.inc      |     8 -
 gnu/usr.bin/groff/src/devices/grodvi/Makefile   |    11 -
 gnu/usr.bin/groff/src/devices/grohtml/Makefile  |    14 -
 gnu/usr.bin/groff/src/devices/grolbp/Makefile   |    12 -
 gnu/usr.bin/groff/src/devices/grolj4/Makefile   |    12 -
 gnu/usr.bin/groff/src/devices/grops/Makefile    |    11 -
 gnu/usr.bin/groff/src/devices/grotty/Makefile   |    11 -
 gnu/usr.bin/groff/src/include/config.h          |   218 -
 gnu/usr.bin/groff/src/include/defs.h            |    13 -
 gnu/usr.bin/groff/src/libs/Makefile             |     7 -
 gnu/usr.bin/groff/src/libs/Makefile.inc         |     5 -
 gnu/usr.bin/groff/src/libs/libbib/Makefile      |    12 -
 gnu/usr.bin/groff/src/libs/libdriver/Makefile   |    12 -
 gnu/usr.bin/groff/src/libs/libgroff/Makefile    |    36 -
 gnu/usr.bin/groff/src/preproc/Makefile          |     7 -
 gnu/usr.bin/groff/src/preproc/Makefile.inc      |     8 -
 gnu/usr.bin/groff/src/preproc/eqn/Makefile      |    17 -
 gnu/usr.bin/groff/src/preproc/grn/Makefile      |    12 -
 gnu/usr.bin/groff/src/preproc/html/Makefile     |    11 -
 gnu/usr.bin/groff/src/preproc/pic/Makefile      |    14 -
 gnu/usr.bin/groff/src/preproc/refer/Makefile    |    15 -
 gnu/usr.bin/groff/src/preproc/soelim/Makefile   |    11 -
 gnu/usr.bin/groff/src/preproc/tbl/Makefile      |    11 -
 gnu/usr.bin/groff/src/roff/Makefile             |     7 -
 gnu/usr.bin/groff/src/roff/Makefile.inc         |     8 -
 gnu/usr.bin/groff/src/roff/groff/Makefile       |    11 -
 gnu/usr.bin/groff/src/roff/grog/Makefile        |    11 -
 gnu/usr.bin/groff/src/roff/nroff/Makefile       |    11 -
 gnu/usr.bin/groff/src/roff/troff/Makefile       |    28 -
 gnu/usr.bin/groff/src/utils/Makefile            |     9 -
 gnu/usr.bin/groff/src/utils/Makefile.inc        |    12 -
 gnu/usr.bin/groff/src/utils/addftinfo/Makefile  |    11 -
 gnu/usr.bin/groff/src/utils/afmtodit/Makefile   |    11 -
 gnu/usr.bin/groff/src/utils/hpftodit/Makefile   |    13 -
 gnu/usr.bin/groff/src/utils/indxbib/Makefile    |    26 -
 gnu/usr.bin/groff/src/utils/lkbib/Makefile      |    13 -
 gnu/usr.bin/groff/src/utils/lookbib/Makefile    |    13 -
 gnu/usr.bin/groff/src/utils/pfbtops/Makefile    |    11 -
 gnu/usr.bin/groff/src/utils/tfmtodit/Makefile   |    11 -
 gnu/usr.bin/groff/tmac/Makefile                 |    83 -
 gnu/usr.bin/groff/tmac/fr.ISO8859-1             |   141 -
 gnu/usr.bin/groff/tmac/hyphen.ru                |  3893 -----------------------
 gnu/usr.bin/groff/tmac/koi8-r.tmac              |   134 -
 gnu/usr.bin/groff/tmac/man.local                |     4 -
 gnu/usr.bin/groff/tmac/man/Makefile             |    22 -
 gnu/usr.bin/groff/tmac/mdoc.local               |   112 -
 gnu/usr.bin/groff/tmac/ru.KOI8-R                |   141 -
 83 files changed, 1 insertions(+), 6261 deletions(-)

diffs (truncated from 6602 to 300 lines):

diff -r d342a840dd2b -r a759dda35de2 gnu/usr.bin/Makefile
--- a/gnu/usr.bin/Makefile      Wed Jan 13 19:02:29 2016 +0000
+++ b/gnu/usr.bin/Makefile      Wed Jan 13 19:03:09 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.142 2016/01/13 03:40:49 christos Exp $
+#      $NetBSD: Makefile,v 1.143 2016/01/13 19:03:09 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -7,8 +7,4 @@
 SUBDIR+=       dc
 SUBDIR+=       rcs send-pr texinfo
 
-.if ${MKGROFF} != "no"
-SUBDIR+=       groff
-.endif
-
 .include <bsd.subdir.mk>
diff -r d342a840dd2b -r a759dda35de2 gnu/usr.bin/groff/Makefile
--- a/gnu/usr.bin/groff/Makefile        Wed Jan 13 19:02:29 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2003/06/30 18:47:40 wiz Exp $
-
-# $FreeBSD: src/gnu/usr.bin/groff/Makefile,v 2.11 2003/05/02 00:55:52 ru Exp $
-
-SUBDIR=                contrib doc font man src tmac
-
-.include <bsd.subdir.mk>
diff -r d342a840dd2b -r a759dda35de2 gnu/usr.bin/groff/Makefile.inc
--- a/gnu/usr.bin/groff/Makefile.inc    Wed Jan 13 19:02:29 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,164 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.21 2012/08/10 12:12:18 joerg Exp $
-
-# $FreeBSD: src/gnu/usr.bin/groff/Makefile.inc,v 2.7 2003/05/01 13:22:18 ru Exp $
-
-BINDIR?=       /usr/bin
-ECHO=          echo
-
-# Define `page' to be letter if your PostScript printer uses 8.5x11
-# paper (USA) and define it to be A4, if it uses A4 paper (rest of the
-# world).
-PAGE=letter
-
-# Normally the Postscript driver, grops, produces output that conforms
-# to version 3.0 of the Adobe Document Structuring Conventions.
-# Unfortunately some spoolers and previewers can't handle such output.
-# The BROKEN_SPOOLER_FLAGS variable tells grops what it should do to
-# make its output acceptable to such programs.  This variable controls
-# only the default behaviour of grops; the behaviour can be changed at
-# runtime by the grops -b option (and so by groff -P-b).
-#
-# Use a value of 0 if your spoolers and previewers are able to handle
-# conforming PostScript correctly.
-#
-# Add 1 if no %%{Begin,End}DocumentSetup comments should be generated;
-# this is needed for early versions of TranScript that get confused by
-# anything between the %%EndProlog line and the first %%Page: comment.
-#
-# Add 2 if lines in included files beginning with %! should be
-# stripped out; this is needed for the OpenWindows 2.0 pageview previewer.
-#
-# Add 4 if %%Page, %%Trailer and %%EndProlog comments should be
-# stripped out of included files; this is needed for spoolers that
-# don't understand the %%{Begin,End}Document comments. I suspect this
-# includes early versions of TranScript.
-#
-# Add 8 if the first line of the PostScript output should be %!PS-Adobe-2.0
-# rather than %!PS-Adobe-3.0; this is needed when using Sun's Newsprint
-# with a printer that requires page reversal.
-#
-BROKEN_SPOOLER_FLAGS=0
-
-# DEVICE is the default device.
-DEVICE=ps
-
-# PSPRINT is the command to use for printing a PostScript file,
-# for example `lpr'.
-PSPRINT=lpr
-
-# DVIPRINT is the command to use for printing a TeX dvi file,
-# for example `lpr -d'.
-DVIPRINT=lpr -d
-########################################################################
-# Don't touch...
-
-g=
-tmac_s_prefix=
-tmac_m_prefix=
-tmac_an_prefix=
-fontdir=/usr/share/groff_font
-localfontdir=$(fontdir)
-legacyfontdir=$(fontdir)
-tmacdir=/usr/share/tmac
-systemtmacdir=/usr/share/tmac
-localtmacdir=/usr/share/tmac
-docdir=/usr/src/contrib/groff/doc
-exampledir=XXX
-htmldocdir=XXX
-pdfdocdir=XXX
-indexext=.i
-common_words_file=/usr/share/dict/eign
-indexdir=/usr/share/dict/papers
-indexname=Ind
-
-########################################################################
-# Libraries
-
-.include <bsd.own.mk>
-
-.ifndef LIBGROFF
-LIBGROFFDIR!=cd ${NETBSDSRCDIR}/gnu/usr.bin/groff/src/libs/libgroff && ${PRINTOBJDIR}
-LIBDRIVERDIR!=cd ${NETBSDSRCDIR}/gnu/usr.bin/groff/src/libs/libdriver && ${PRINTOBJDIR}
-LIBBIBDIR!=cd ${NETBSDSRCDIR}/gnu/usr.bin/groff/src/libs/libbib && ${PRINTOBJDIR}
-
-LIBGROFF=       ${LIBGROFFDIR}/libgroff.a
-LIBDRIVER=      ${LIBDRIVERDIR}/libdriver.a
-LIBBIB=         ${LIBBIBDIR}/libbib.a
-.endif
-
-CFLAGS+=       -DHAVE_CONFIG_H
-CFLAGS+=       -I${GROFF_DIST}/src/include -I${NETBSDSRCDIR}/gnu/usr.bin/groff/src/include
-CXXFLAGS+=     -fno-rtti -fno-exceptions
-
-CWARNFLAGS.clang+=     -Wno-unused-value
-
-
-.ifdef GROFFYSRCS
-YFLAGS+=       -d
-SRCS+=         ${GROFFYSRCS:.y=.cpp}
-DPSRCS+=       ${GROFFYSRCS:.y=.cpp}
-CLEANFILES+=   ${GROFFYSRCS:.y=.cpp} ${GROFFYSRCS:.y=_tab.h}
-.endif
-
-.y.cpp:
-       ${_MKTARGET_YACC}
-       ${YACC.y} -o ${.TARGET} ${.IMPSRC}
-       mv -f ${.PREFIX}.h ${.PREFIX}_tab.h
-
-
-.SUFFIXES: .man .1 .2 .3 .4 .5 .6 .7 .8
-
-version=`cat $(GROFF_DIST)/VERSION`
-revision=`${TOOL_SED} -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' \
-               $(GROFF_DIST)/REVISION`
-
-.man.8 .man.7 .man.6 .man.5 .man.4 .man.3 .man.2 .man.1:
-       ${_MKTARGET_CREATE}
-       rm -f $@
-       ${TOOL_SED} -e "s;@BINDIR@;${BINDIR};g" \
-       -e "s;@FONTDIR@;$(fontdir);g" \
-       -e "s;@LOCALFONTDIR@;$(localfontdir);g" \
-       -e "s;@LEGACYFONTDIR@;$(legacyfontdir);g" \
-       -e "s;@MACRODIR@;$(tmacdir);g" \
-       -e "s;@SYSTEMMACRODIR@;$(systemtmacdir);g" \
-       -e "s;@LOCALMACRODIR@;$(localtmacdir);g" \
-       -e "s;@DOCDIR@;$(docdir);g" \
-       -e "s;@EXAMPLEDIR@;$(exampledir);g" \
-       -e "s;@HTMLDOCDIR@;$(htmldocdir);g" \
-       -e "s;@PDFDOCDIR@;$(pdfdocdir);g" \
-       -e "s;@DEVICE@;$(DEVICE);g" \
-       -e "s;@DEFAULT_INDEX@;$(indexdir)/$(indexname);g" \
-       -e "s;@DEFAULT_INDEX_NAME@;$(indexname);g" \
-       -e "s;@INDEX_SUFFIX@;$(indexext);g" \
-       -e "s;@COMMON_WORDS_FILE@;$(common_words_file);g" \
-       -e "s;@MAN1EXT@;1;g" \
-       -e "s;@MAN5EXT@;5;g" \
-       -e "s;@MAN7EXT@;7;g" \
-       -e "s;@TMAC_S_PREFIX@;$(tmac_s_prefix);g" \
-       -e "s;@TMAC_M_PREFIX@;$(tmac_m_prefix);g" \
-       -e "s;@TMAC_AN_PREFIX@;$(tmac_an_prefix);g" \
-       -e "s;@TMAC_MDIR@;$(tmacdir)/mm;g" \
-       -e "s;@BROKEN_SPOOLER_FLAGS@;$(BROKEN_SPOOLER_FLAGS);g" \
-       -e "s;@VERSION@;$(version)$(revision);g" \
-       -e "s;@MDATE@;`${HOST_SH} ${GROFF_DIST}/mdate.sh $<`;g" \
-       -e "s;@g@;$(g);g" \
-       -e "s;@G@;`echo $(g) | LC_ALL=C tr [a-z] [A-Z]`;g" \
-       $< >$@
-
-.SUFFIXES: .sh .pl
-
-.sh .pl:
-       ${_MKTARGET_CREATE}
-       rm -f $@
-       ${TOOL_SED} -e "s|@BINDIR@|${BINDIR}|g" \
-            -e "s;@FONTDIR@;$(fontdir);g" \
-            -e 's|@GROFF_BIN_PATH_SETUP@|GROFF_RUNTIME="$${GROFF_BIN_PATH=/usr/bin}:"|g' \
-            -e "s|@SEP@|:|" \
-            -e "s|@VERSION@|$(version)$(revision)|" \
-            -e "s|@g@|$(g)|g" \
-            ${.IMPSRC} >${.TARGET}
-
-GROFF_DIST=    ${NETBSDSRCDIR}/gnu/dist/groff
-DIST_SUBDIR?=  ${.CURDIR:T}
-DIST_DIR=      ${GROFF_DIST}/${DIST_SUBDIR}
-.PATH: ${DIST_DIR}
diff -r d342a840dd2b -r a759dda35de2 gnu/usr.bin/groff/contrib/Makefile
--- a/gnu/usr.bin/groff/contrib/Makefile        Wed Jan 13 19:02:29 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-# $NetBSD: Makefile,v 1.5 2010/01/26 15:11:56 wiz Exp $
-
-# $FreeBSD: src/gnu/usr.bin/groff/contrib/Makefile,v 1.1 2001/04/17 12:36:32 ru Exp $
-
-# do not descend into X because it Y:
-# eqn2graph depends on convert(1)
-# grap2graph depends on convert(1)
-# groffer depends on lots of other non-base programs
-# pdfmark depends on ghostscript
-# pic2graph depends on convert(1)
-SUBDIR=                gdiffmk mm mom
-
-.include <bsd.subdir.mk>
diff -r d342a840dd2b -r a759dda35de2 gnu/usr.bin/groff/contrib/Makefile.inc
--- a/gnu/usr.bin/groff/contrib/Makefile.inc    Wed Jan 13 19:02:29 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-# $NetBSD: Makefile.inc,v 1.3 2003/06/30 18:47:41 wiz Exp $
-
-# $FreeBSD: src/gnu/usr.bin/groff/contrib/Makefile.inc,v 1.1 2001/04/17 12:36:32 ru Exp $
-
-#DIST_SUBDIR=  contrib
-
-.include "../Makefile.inc"
diff -r d342a840dd2b -r a759dda35de2 gnu/usr.bin/groff/contrib/gdiffmk/Makefile
--- a/gnu/usr.bin/groff/contrib/gdiffmk/Makefile        Wed Jan 13 19:02:29 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2006/02/06 18:29:48 wiz Exp $
-
-DIST_SUBDIR=   contrib/gdiffmk
-
-SCRIPTS=       gdiffmk
-MAN=           gdiffmk.1
-CLEANFILES=    ${SCRIPTS} ${MAN}
-
-.include <bsd.prog.mk>
diff -r d342a840dd2b -r a759dda35de2 gnu/usr.bin/groff/contrib/groffer/Makefile
--- a/gnu/usr.bin/groff/contrib/groffer/Makefile        Wed Jan 13 19:02:29 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2003/06/30 18:47:41 wiz Exp $
-
-# $FreeBSD: src/gnu/usr.bin/groff/contrib/groffer/Makefile,v 1.1 2002/10/11 08:58:13 ru Exp $
-
-SCRIPTS=       groffer
-MAN=           groffer.1
-CLEANFILES=    ${SCRIPTS} ${MAN}
-
-.include <bsd.prog.mk>
diff -r d342a840dd2b -r a759dda35de2 gnu/usr.bin/groff/contrib/mm/Makefile
--- a/gnu/usr.bin/groff/contrib/mm/Makefile     Wed Jan 13 19:02:29 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-# $NetBSD: Makefile,v 1.8 2004/01/12 01:43:54 lukem Exp $
-
-# $FreeBSD: src/gnu/usr.bin/groff/contrib/mm/Makefile,v 1.6 2002/10/11 08:58:13 ru Exp $
-
-.include <bsd.own.mk>
-
-.if ${MKSHARE} != "no"                                 # {
-
-DIST_SUBDIR=   contrib/mm
-
-# Perl script
-#SCRIPTS=      mmroff.pl
-#MAN=          mmroff.1
-
-#TMACDIR?=     ${SHAREDIR}/tmac
-# sync with ../../src/include/config.h
-TMACDIR?=      /usr/share/tmac
-
-FILESDIR=              ${TMACDIR}/mm
-FILES=                 m.tmac mm.tmac mse.tmac mmse.tmac
-FILESDIR_m.tmac=       ${TMACDIR}
-FILESDIR_mse.tmac=     ${TMACDIR}
-FILESDIR_mm.tmac=      ${TMACDIR}
-FILESDIR_mmse.tmac=    ${TMACDIR}
-FILES+=                        0.MT 5.MT 4.MT ms.cov se_ms.cov
-LOCALE=                        locale se_locale
-
-MAN+=          groff_mm.7 groff_mmse.7
-MLINKS=                groff_mm.7 mm.7 groff_mmse.7 mmse.7
-
-CLEANFILES+=   ${MAN}
-
-.endif                                                 # }
-
-.include <bsd.prog.mk>
-
-.if ${MKSHARE} != "no"                                 # {
-
-.PATH: ${DIST_DIR}/mm
-
-beforeinstall:
-.for locale in ${LOCALE}
-.if !exists(${DESTDIR}${TMACDIR}/mm/${locale})
-       ${INSTALL_FILE} -o ${FILESOWN} -g ${FILESGRP} -m ${FILESMODE} \
-               /dev/null ${DESTDIR}${TMACDIR}/mm/${locale}



Home | Main Index | Thread Index | Old Index