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

(-)misc/gman/Makefile (-4 / +14 lines)
Lines 8-16 Link Here
8
8
9
PORTNAME=	gman
9
PORTNAME=	gman
10
PORTVERSION=	0.9.3
10
PORTVERSION=	0.9.3
11
PORTREVISION=	1
11
CATEGORIES=	misc
12
CATEGORIES=	misc
12
MASTER_SITES=	http://stud3.tuwien.ac.at/~e0025974/distfiles/ \
13
MASTER_SITES=	${MASTER_SITE_DEBIAN}
13
		http://homex.coolconnect.com/user/xkwang/gman/
14
MASTER_SITE_SUBDIR=	pool/main/g/gman
15
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
16
17
PATCH_SITES=	${MASTER_SITES}
18
PATCH_SITE_SUBDIR=	${MASTER_SITE_SUBDIR}
19
PATCHFILES=	${PORTNAME}_${PORTVERSION}-1.diff.gz
20
PATCH_DIST_STRIP=	-p1
14
21
15
MAINTAINER=	ports@FreeBSD.org
22
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	A user-friendly graphical front end for the man system
23
COMMENT=	A user-friendly graphical front end for the man system
Lines 18-25 Link Here
18
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
25
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
19
RUN_DEPENDS=	ghostview:${PORTSDIR}/print/ghostview
26
RUN_DEPENDS=	ghostview:${PORTSDIR}/print/ghostview
20
27
28
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
29
21
USE_GNOME=	gtk12
30
USE_GNOME=	gtk12
22
USE_REINPLACE=	yes
31
USE_REINPLACE=	yes
32
USE_GMAKE=	yes
23
33
24
MAN1=	gman.1x
34
MAN1=	gman.1x
25
35
Lines 34-41 Link Here
34
do-install:
44
do-install:
35
	${INSTALL_PROGRAM} ${WRKSRC}/gman ${PREFIX}/bin
45
	${INSTALL_PROGRAM} ${WRKSRC}/gman ${PREFIX}/bin
36
	${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/bin/gman.cgi
46
	${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/bin/gman.cgi
37
	@${MKDIR} ${PREFIX}/www/cgi-bin/gman
47
	@${MKDIR} ${PREFIX}/www/cgi-bin
38
	${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/www/cgi-bin/gman
48
	${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/www/cgi-bin
39
	${INSTALL_MAN} ${WRKSRC}/gman.1x ${MANPREFIX}/man/man1
49
	${INSTALL_MAN} ${WRKSRC}/gman.1x ${MANPREFIX}/man/man1
40
50
41
.include <bsd.port.mk>
51
.include <bsd.port.mk>
(-)misc/gman/distinfo (-1 / +2 lines)
Line 1 Link Here
1
MD5 (gman-0.9.3.tar.gz) = 819582eb2527e36271f82f6562001b43
1
MD5 (gman_0.9.3.orig.tar.gz) = 819582eb2527e36271f82f6562001b43
2
MD5 (gman_0.9.3-1.diff.gz) = 09d84734400cb81df30ef1fb654b0025
(-)misc/gman/files/patch-gman.c (-15 / +6 lines)
Lines 1-20 Link Here
1
--- gman.c.orig	Sat Mar 31 18:38:43 2001
1
--- gman.c.dist	Mon May 12 07:39:11 2003
2
+++ gman.c	Sat Apr 14 05:10:14 2001
2
+++ gman.c	Mon May 12 07:39:53 2003
3
@@ -83,7 +83,7 @@
3
@@ -90,7 +90,7 @@
4
 	context = new AppContext();
5
 	//	context->set_default_value("v_size",(void*)400);
6
 	context->set_default_value("debuging","int",(void*)0);
7
-	context->set_default_value("man_paths","char*",(void*)"/usr/man:/usr/local/man:/usr/X11R6/man");
8
+	context->set_default_value("man_paths","char*",(void*)"/usr/share/man:/usr/local/man:/usr/X11R6/man");
9
 	context->set_default_value("display_section_policy","int",(void*)0);
10
 	context->set_default_value("display_section","int",(void*)3);
11
 	context->set_default_value("searching_mode","int",(void*)0);
12
@@ -91,7 +91,7 @@
13
 	context->set_default_value("show_warning","int",(void*)0);
4
 	context->set_default_value("show_warning","int",(void*)0);
14
 	context->set_default_value("show_mode","int",(void*)0); // 0 = xterm, 1 = ghostview
5
 	context->set_default_value("show_mode","int",(void*)0); // 0 = xterm, 1 = ghostview
15
 	context->set_default_value("xterm_command","char*",(void*)"xterm"); // rxvt, Eterm also works
6
 	context->set_default_value("xterm_command","char*",(void*)"x-terminal-emulator");
16
-	context->set_default_value("gv_command","char*",(void*)"gv");
7
-	context->set_default_value("gv_command","char*",(void*)"gv");
17
+	context->set_default_value("gv_command","char*",(void*)"ghostview");
8
+	context->set_default_value("gv_command","char*",(void*)"ghostview");
18
 	context->set_default_value("browser_command","char*",(void*)"netscape"); // kfm also works
9
 	context->set_default_value("browser_command","char*",(void*)"mozilla"); // kfm also works
19
 	context->set_default_value("cgi_host","char*",(void*)"localhost");
10
 	context->set_default_value("cgi_host","char*",(void*)"localhost");
20
 	context->set_default_value("cgi_location","char*",(void*)"/cgi-bin/gman/gman.pl");
11
 	context->set_default_value("cgi_location","char*",(void*)"/cgi-bin/gman.pl");
(-)misc/gman/pkg-descr (-1 lines)
Lines 3-6 Link Here
3
information or idly browse other man pages.
3
information or idly browse other man pages.
4
4
5
Author: Xinkai Wang <aakwxk@hotmail.com> 
5
Author: Xinkai Wang <aakwxk@hotmail.com> 
6
WWW: http://homex.coolconnect.com/user/xkwang/gman/
(-)misc/gman/pkg-plist (-2 / +2 lines)
Lines 1-4 Link Here
1
bin/gman
1
bin/gman
2
bin/gman.cgi
2
bin/gman.cgi
3
www/cgi-bin/gman/gman.pl
3
www/cgi-bin/gman.pl
4
@dirrm www/cgi-bin/gman
4
@unexec rmdir %D/www/cgi-bin 2>/dev/null || true

Return to bug 52137