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

(-)Makefile (-6 / +14 lines)
Lines 9-31 Link Here
9
PORTNAME=	gman
9
PORTNAME=	gman
10
PORTVERSION=	0.9.3
10
PORTVERSION=	0.9.3
11
CATEGORIES=	misc
11
CATEGORIES=	misc
12
MASTER_SITES=	http://homex.coolconnect.com/user/xkwang/gman/
12
MASTER_SITES=	http://stud3.tuwien.ac.at/~e0025974/distfiles/ \
13
		http://homex.coolconnect.com/user/xkwang/gman/
13
14
14
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
15
16
16
BROKEN=		"Does not fetch"
17
18
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
17
LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
19
RUN_DEPENDS=	ghostview:${PORTSDIR}/print/ghostview
18
RUN_DEPENDS=	ghostview:${PORTSDIR}/print/ghostview
20
19
21
USE_GNOMENG=	yes
20
USE_GNOMENG=	yes
22
USE_GNOME=	gtk12
21
USE_GNOME=	gtk12
22
USE_REINPLACE=	yes
23
23
24
MAN1=	gman.1x
24
MAN1=	gman.1x
25
25
26
post-patch:
26
post-patch:
27
	@${PERL} -pi -e "s,^CXX =,#CXX =,g ; s,^CXXFLAGS =,CXXFLAGS+=,g ; \
27
	@${REINPLACE_CMD} -e 's,^CXX =,#CXX =,g ; s,^CXXFLAGS =,CXXFLAGS+=,g ; \
28
		s,gtk-config,${GTK_CONFIG},g ; s,= /usr,= ${PREFIX},g ; \
28
	s,gtk-config,${GTK_CONFIG},g ; s,= /usr,= ${PREFIX},g ;s,\-O2,,g ; \
29
		s,/var/www,${LOCALBASE}/www,g" ${WRKSRC}/Makefile
29
	s,\-lgtk \-lgdk \-lpthread ,`${GTK_CONFIG} \-\-libs gthread` ,g;' \ 
30
		${WRKSRC}/Makefile
31
32
do-install:
33
	${INSTALL_PROGRAM} ${WRKSRC}/gman ${PREFIX}/bin
34
	${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/bin/gman.cgi
35
	${MKDIR} ${PREFIX}/www/cgi-bin/gman
36
	${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/www/cgi-bin/gman
37
	${INSTALL_MAN} ${WRKSRC}/gman.1x ${MANPREFIX}/man/man1
30
38
31
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)pkg-descr (+1 lines)
Lines 2-5 Link Here
2
designed for the new users of UNIX. It can help a newbie find specific
2
designed for the new users of UNIX. It can help a newbie find specific
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
WWW: http://homex.coolconnect.com/user/xkwang/gman/
6
WWW: http://homex.coolconnect.com/user/xkwang/gman/
(-)pkg-plist (-1 / +2 lines)
Lines 1-3 Link Here
1
bin/gman
1
bin/gman
2
bin/gman.cgi
2
bin/gman.cgi
3
www/cgi-bin/gman
3
www/cgi-bin/gman/gman.pl
4
@dirrm www/cgi-bin/gman

Return to bug 43453