View | Details | Raw Unified | Return to bug 21591
Collapse All | Expand All

(-)man2html/Makefile (-8 / +2 lines)
Lines 11-17 Link Here
11
MASTER_SITES=	ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/
11
MASTER_SITES=	ftp://ftp.gpad.ac.ru/pub/FreeBSD/distfiles/
12
DISTNAME=	${PORTNAME}${PORTVERSION}
12
DISTNAME=	${PORTNAME}${PORTVERSION}
13
13
14
MAINTAINER=	demon@gpad.ac.ru
14
MAINTAINER=	dima@Chg.RU
15
15
16
USE_PERL5=	yes
16
USE_PERL5=	yes
17
NO_BUILD=	yes
17
NO_BUILD=	yes
Lines 20-32 Link Here
20
MAN1=  		man2html.1
20
MAN1=  		man2html.1
21
21
22
post-patch:
22
post-patch:
23
23
		${PERL} -pi -e "s#/usr/local/bin/perl#${PERL5}#" ${WRKSRC}/man.cgi
24
	@ if [ -f ${CGIDIR} ] ; then \
25
		@ ${MV} ${WRKSRC}/man.cgi ${WRKSRC}/man.cgi.pre_sed ; \
26
		@ ${CAT} ${WRKSRC}/man.cgi.pre_sed | \
27
		@ ${GREP} -Ev -e "/opt/|/openwin/" \
28
		> ${WRKSRC}/man.cgi ; \
29
	fi
30
24
31
do-install:
25
do-install:
32
26
(-)man2html/patches/patch-aa (-1 / +10 lines)
Lines 1-5 Link Here
1
--- man.cgi.orig	Tue Aug 12 21:19:18 1997
1
--- man.cgi.orig	Tue Aug 12 21:19:18 1997
2
+++ man.cgi	Mon Nov 30 17:18:04 1998
2
+++ man.cgi	Wed Sep 27 10:34:40 2000
3
@@ -59,8 +59,8 @@
3
@@ -59,8 +59,8 @@
4
 ##  systems.  If using Tom Christiansen's Perl man program, than
4
 ##  systems.  If using Tom Christiansen's Perl man program, than
5
 ##  define use "".
5
 ##  define use "".
Lines 50-52 Link Here
50
     /bin
50
     /bin
51
     /usr/bin
51
     /usr/bin
52
 );
52
 );
53
@@ -270,7 +269,7 @@
54
 
55
     # Convert output from man to html
56
     #--------------------------------
57
-    close(STDERR);
58
+    open(STDERR, ">&/dev/null");
59
     open(MANPRG, "-|") or exec($ManPrg, @manargs);
60
     $Man2Html::InFH = \*MANPRG;		# set input filehandle
61
     require $ManConvPrg or

Return to bug 21591