aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-09-30 00:51:17 +0800
committerkevlo <kevlo@FreeBSD.org>2000-09-30 00:51:17 +0800
commit64883caf2eb7b31bbde2d5f9a56112f82052e99c (patch)
treebbb40426636736fabfae5a07c1d92cdae98142b4 /textproc
parentad99d19cd7769fe9c8bcdac740a183a22c1655de (diff)
downloadfreebsd-ports-gnome-64883caf2eb7b31bbde2d5f9a56112f82052e99c.tar.gz
freebsd-ports-gnome-64883caf2eb7b31bbde2d5f9a56112f82052e99c.tar.zst
freebsd-ports-gnome-64883caf2eb7b31bbde2d5f9a56112f82052e99c.zip
- Fix man.cgi
- Change maintainer's e-mail PR: 21591 Submitted by: MAINTAINER
Diffstat (limited to 'textproc')
-rw-r--r--textproc/man2html/Makefile10
-rw-r--r--textproc/man2html/files/patch-aa19
2 files changed, 19 insertions, 10 deletions
diff --git a/textproc/man2html/Makefile b/textproc/man2html/Makefile
index c55e87c2351a..c207d9bb700e 100644
--- a/textproc/man2html/Makefile
+++ b/textproc/man2html/Makefile
@@ -11,7 +11,7 @@ CATEGORIES= textproc
MASTER_SITES= ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/
DISTNAME= ${PORTNAME}${PORTVERSION}
-MAINTAINER= demon@gpad.ac.ru
+MAINTAINER= dima@Chg.RU
USE_PERL5= yes
NO_BUILD= yes
@@ -20,13 +20,7 @@ CGIDIR= ${PREFIX}/www/cgi-bin
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/" \
- > ${WRKSRC}/man.cgi ; \
- fi
+ ${PERL} -pi -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/man.cgi
do-install:
diff --git a/textproc/man2html/files/patch-aa b/textproc/man2html/files/patch-aa
index 5c23812daa07..323a2425df80 100644
--- a/textproc/man2html/files/patch-aa
+++ b/textproc/man2html/files/patch-aa
@@ -1,5 +1,11 @@
---- man.cgi.orig Tue Aug 12 21:19:18 1997
-+++ man.cgi Mon Nov 30 17:18:04 1998
+--- man.cgi.orig Wed Aug 13 01:19:18 1997
++++ man.cgi Sat Sep 30 00:46:55 2000
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl5.00503
+ ##---------------------------------------------------------------------------##
+ ## File:
+ ## @(#) man.cgi 1.2 97/08/12 12:58:26 @(#)
@@ -59,8 +59,8 @@
## systems. If using Tom Christiansen's Perl man program, than
## define use "".
@@ -50,3 +56,12 @@
/bin
/usr/bin
);
+@@ -270,7 +269,7 @@
+
+ # Convert output from man to html
+ #--------------------------------
+- close(STDERR);
++ open(STDERR, ">&/dev/null");
+ open(MANPRG, "-|") or exec($ManPrg, @manargs);
+ $Man2Html::InFH = \*MANPRG; # set input filehandle
+ require $ManConvPrg or