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

(-)b/textproc/man2html/Makefile (-11 / +19 lines)
Lines 1-31 Link Here
1
# Created by: Dima Sivachenko <demon@gpad.ac.ru>
1
# Created by: Dima Sivachenko <demon@gpad.ac.ru>
2
2
3
PORTNAME=	man2html
3
PORTNAME=	man2html
4
PORTVERSION=	3.0.1
4
PORTVERSION=	3.1.20220109
5
PORTREVISION=	2
6
CATEGORIES=	textproc
5
CATEGORIES=	textproc
7
MASTER_SITES=	http://hydra.nac.uci.edu/indiv/ehood/tar/ \
6
MASTER_SITES=	https://invisible-island.net/archives/scripts/:dickey \
8
		ftp://ftp.cpan.org/pub/CPAN/modules/by-authors/Earl_Hood/ \
7
		http://people.freebsd.org/~demon/:demon \
9
		http://people.freebsd.org/~demon/
8
		http://fuz.su/~fuz/distfiles/man2html/:demon
10
DISTNAME=	${PORTNAME}${PORTVERSION}
9
DISTNAME=	other-scripts-${PORTVERSION:E}
10
DISTFILES=	${DISTNAME}.tgz:dickey \
11
		man2html3.0.1.tar.gz:demon # for cgi script and man page
11
12
12
MAINTAINER=	demon@FreeBSD.org
13
MAINTAINER=	fuz@fuz.su
13
COMMENT=	Convert nroff(1) man pages to HTML
14
COMMENT=	Convert nroff(1) man pages to HTML
14
15
15
LICENSE=	GPLv2+
16
LICENSE=	GPLv2+
16
LICENSE_FILE=	${WRKSRC}/COPYING
17
17
18
USES=		perl5
18
USES=		perl5 tar:tgz shebangfix
19
USE_PERL5=	run
19
USE_PERL5=	run
20
NO_BUILD=	yes
20
SHEBANG_FILES=	man2html man.cgi
21
21
NO_ARCH=	yes
22
NO_ARCH=	yes
23
NO_BUILD=	yes
22
CGIDIR=		${PREFIX}/www/cgi-bin
24
CGIDIR=		${PREFIX}/www/cgi-bin
23
25
24
PLIST_FILES=	bin/man2html man/man1/man2html.1.gz www/cgi-bin/man.cgi
26
PLIST_FILES=	bin/man2html man/man1/man2html.1.gz www/cgi-bin/man.cgi
25
27
28
# New upstream doesn't ship the man page and CGI script
29
# Rip it from the 3.0.1 tarball.
30
post-extract:
31
	@${MV} ${WRKDIR}/man2html3.0.1/doc/man2html.1 ${WRKSRC}/
32
	@${MV} ${WRKDIR}/man2html3.0.1/man.cgi ${WRKSRC}/
33
26
do-install:
34
do-install:
27
	${INSTALL_SCRIPT} ${WRKSRC}/man2html ${STAGEDIR}/${PREFIX}/bin
35
	${INSTALL_SCRIPT} ${WRKSRC}/man2html ${STAGEDIR}/${PREFIX}/bin
28
	${INSTALL_MAN} ${WRKSRC}/doc/man2html.1 ${STAGEDIR}/${PREFIX}/man/man1
36
	${INSTALL_MAN} ${WRKSRC}/man2html.1 ${STAGEDIR}/${PREFIX}/man/man1
29
	${MKDIR} ${STAGEDIR}${CGIDIR}
37
	${MKDIR} ${STAGEDIR}${CGIDIR}
30
	${INSTALL_SCRIPT} ${WRKSRC}/man.cgi ${STAGEDIR}${CGIDIR}
38
	${INSTALL_SCRIPT} ${WRKSRC}/man.cgi ${STAGEDIR}${CGIDIR}
31
39
(-)b/textproc/man2html/distinfo (+3 lines)
Lines 1-2 Link Here
1
TIMESTAMP = 1657507856
2
SHA256 (other-scripts-20220109.tgz) = 78f5e7eabfb34f2f18a59f22d20c629eae33848679be477c5317502574a49622
3
SIZE (other-scripts-20220109.tgz) = 110040
1
SHA256 (man2html3.0.1.tar.gz) = a3dd7fdd80785c14c2f5fa54a59bf93ca5f86f026612f68770a0507a3d4e5a29
4
SHA256 (man2html3.0.1.tar.gz) = a3dd7fdd80785c14c2f5fa54a59bf93ca5f86f026612f68770a0507a3d4e5a29
2
SIZE (man2html3.0.1.tar.gz) = 45371
5
SIZE (man2html3.0.1.tar.gz) = 45371
(-)b/textproc/man2html/files/patch-man.cgi (-8 / +8 lines)
Lines 1-6 Link Here
1
--- man.cgi.orig	Wed Aug 13 01:19:18 1997
1
--- man.cgi.orig	1997-08-12 17:19:18 UTC
2
+++ man.cgi	Sat Sep 30 00:46:55 2000
2
+++ man.cgi
3
@@ -59,8 +59,8 @@
3
@@ -59,8 +59,8 @@ $ManPrg		= '/usr/bin/man';
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 "".
6
 
6
 
Lines 11-17 Link Here
11
 
11
 
12
 ##  man2html program (needs to be a full pathname)
12
 ##  man2html program (needs to be a full pathname)
13
 
13
 
14
@@ -77,15 +77,15 @@
14
@@ -77,15 +77,15 @@ $DoCgiurl	= 1;
15
 
15
 
16
 #@ConvArgs	= ("-compress");
16
 #@ConvArgs	= ("-compress");
17
 #@ConvArgs	= ("-compress", "-leftm", "1", "-topm", "8");
17
 #@ConvArgs	= ("-compress", "-leftm", "1", "-topm", "8");
Lines 30-36 Link Here
30
 
30
 
31
 ##  Possible manual sections.  This array is used to determine the
31
 ##  Possible manual sections.  This array is used to determine the
32
 ##  the choices available in an option menu.
32
 ##  the choices available in an option menu.
33
@@ -124,9 +124,9 @@
33
@@ -124,9 +124,9 @@ $ArgSep		= '&';
34
 ##  know about
34
 ##  know about
35
 
35
 
36
 @ManPath	= qw(
36
 @ManPath	= qw(
Lines 38-48 Link Here
38
     /usr/local/man
38
     /usr/local/man
39
-    /usr/openwin/man
39
-    /usr/openwin/man
40
-    /usr/man
40
-    /usr/man
41
+    /usr/X11R6/man
41
+    /usr/local/share/man
42
 );
42
 );
43
 
43
 
44
 ##  PATH setting.  Modify as see fit.  Once useful modification
44
 ##  PATH setting.  Modify as see fit.  Once useful modification
45
@@ -134,7 +134,6 @@
45
@@ -134,7 +134,6 @@ $ArgSep		= '&';
46
 ##  be invoked over the systems nroff when man formats a manpage.
46
 ##  be invoked over the systems nroff when man formats a manpage.
47
 
47
 
48
 @Path   	= qw(
48
 @Path   	= qw(
Lines 50-56 Link Here
50
     /bin
50
     /bin
51
     /usr/bin
51
     /usr/bin
52
 );
52
 );
53
@@ -270,7 +269,7 @@
53
@@ -270,7 +269,7 @@ sub doit {
54
 
54
 
55
     # Convert output from man to html
55
     # Convert output from man to html
56
     #--------------------------------
56
     #--------------------------------
(-)b/textproc/man2html/pkg-descr (-2 / +1 lines)
Lines 1-3 Link Here
1
Convert UNIX nroff(1) manual pages to HTML format.
1
Convert UNIX nroff(1) manual pages to HTML format.
2
2
3
WWW: http://www.nongnu.org/man2html/
3
WWW: https://dickey.his.com/scripts/man2html.html
4
- 

Return to bug 265144