aboutsummaryrefslogtreecommitdiff
path: root/textproc/man2html
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1998-12-23 17:23:05 +0000
committerBill Fumerola <billf@FreeBSD.org>1998-12-23 17:23:05 +0000
commit0716cd1b555cc1e12b43217b82bfd8debb1726c0 (patch)
treec5f59a43e41b0b74643ce7b1d8941ee7c65b9ff0 /textproc/man2html
parentf50f46a8cfa5044e432dded5b1d7d1c7e219052c (diff)
downloadports-0716cd1b555cc1e12b43217b82bfd8debb1726c0.tar.gz
ports-0716cd1b555cc1e12b43217b82bfd8debb1726c0.zip
Make the man paths more FreeBSD oriented.
Submitted by: Dima Sivachenko
Notes
Notes: svn path=/head/; revision=15530
Diffstat (limited to 'textproc/man2html')
-rw-r--r--textproc/man2html/Makefile10
-rw-r--r--textproc/man2html/files/patch-aa52
2 files changed, 57 insertions, 5 deletions
diff --git a/textproc/man2html/Makefile b/textproc/man2html/Makefile
index 617e8970a804..724b56ae3499 100644
--- a/textproc/man2html/Makefile
+++ b/textproc/man2html/Makefile
@@ -3,7 +3,7 @@
# Date created: 29 August 1998
# Whom: Dima Sivachenko <demon@gpad.ac.ru>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/11/22 22:33:31 billf Exp $
#
DISTNAME= man2html3.0.1
@@ -21,10 +21,10 @@ MAN1= man2html.1
post-patch:
- if [ -f ${CGIDIR} ] ; then \
- ${MV} ${WRKSRC}/man.cgi ${WRKSRC}/man.cgi.pre_sed ; \
- ${CAT} ${WRKSRC}/man.cgi.pre_sed | \
- ${GREP} -Ev -e "/opt/|/openwin/" \
+ @ if [ -f ${CGIDIR} ] ; then \
+ @ ${MV} ${WRKSRC}/man.cgi ${WRKSRC}/man.cgi.pre_sed ; \
+ @ ${CAT} ${WRKSRC}/man.cgi.pre_sed | \
+ @ ${GREP} -Ev -e "/opt/|/openwin/" \
> ${WRKSRC}/man.cgi ; \
fi
diff --git a/textproc/man2html/files/patch-aa b/textproc/man2html/files/patch-aa
new file mode 100644
index 000000000000..5c23812daa07
--- /dev/null
+++ b/textproc/man2html/files/patch-aa
@@ -0,0 +1,52 @@
+--- man.cgi.orig Tue Aug 12 21:19:18 1997
++++ man.cgi Mon Nov 30 17:18:04 1998
+@@ -59,8 +59,8 @@
+ ## systems. If using Tom Christiansen's Perl man program, than
+ ## define use "".
+
+-#$SectOpt = "";
+-$SectOpt = "-s";
++$SectOpt = "";
++#$SectOpt = "-s";
+
+ ## man2html program (needs to be a full pathname)
+
+@@ -77,15 +77,15 @@
+
+ #@ConvArgs = ("-compress");
+ #@ConvArgs = ("-compress", "-leftm", "1", "-topm", "8");
+-@ConvArgs = ("-compress", "-sun");
++#@ConvArgs = ("-compress", "-sun");
+
+ ## Keyword search processing arguments for man2html. Normally,
+ ## '-k' is adequate. However, if on a Solaris system, the
+ ## '-solaris' option should be specified with '-k'. See
+ ## man2html documentation on information about the '-solaris' option.
+
+-#@KeyWArgs = ("-k"); # Normal
+-@KeyWArgs = ("-k", "-solaris"); # For Solaris
++@KeyWArgs = ("-k"); # Normal
++#@KeyWArgs = ("-k", "-solaris"); # For Solaris
+
+ ## Possible manual sections. This array is used to determine the
+ ## the choices available in an option menu.
+@@ -124,9 +124,9 @@
+ ## know about
+
+ @ManPath = qw(
++ /usr/share/man
+ /usr/local/man
+- /usr/openwin/man
+- /usr/man
++ /usr/X11R6/man
+ );
+
+ ## PATH setting. Modify as see fit. Once useful modification
+@@ -134,7 +134,6 @@
+ ## be invoked over the systems nroff when man formats a manpage.
+
+ @Path = qw(
+- /opt/FSFgroff/bin
+ /bin
+ /usr/bin
+ );