Date: Sat, 28 Sep 2002 17:35:11 +0200 (CEST) From: Tilman Linneweh <tilman@arved.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tilman@arved.de Subject: ports/43453: Unbreak misc/gman Message-ID: <200209281535.g8SFZBJu056985@sauna.arved.de>
next in thread | raw e-mail | index | archive | help
>Number: 43453 >Category: ports >Synopsis: Unbreak misc/gman >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Sep 28 08:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Tilman Linneweh >Release: FreeBSD 4.6-STABLE i386 >Organization: BSD Usergroup Austria >Environment: System: FreeBSD sauna.arved.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 20:02:41 CEST 2002 tilman@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386 >Description: Unbreak by giving this ugly program a betterconnected MASTER_SITE Fix plist PERL -> REINPLACE_CMD Add Author to pkg-descr Make patch-Makefile obsolete by replacing it with Regex. >How-To-Repeat: >Fix: Remove patch-Makefile --- gman.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/misc/gman/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 20 Sep 2002 21:13:51 -0000 1.6 +++ Makefile 28 Sep 2002 15:29:26 -0000 @@ -9,23 +9,31 @@ PORTNAME= gman PORTVERSION= 0.9.3 CATEGORIES= misc -MASTER_SITES= http://homex.coolconnect.com/user/xkwang/gman/ +MASTER_SITES= http://stud3.tuwien.ac.at/~e0025974/distfiles/ \ + http://homex.coolconnect.com/user/xkwang/gman/ MAINTAINER= ports@FreeBSD.org -BROKEN= "Does not fetch" - LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg RUN_DEPENDS= ghostview:${PORTSDIR}/print/ghostview USE_GNOMENG= yes USE_GNOME= gtk12 +USE_REINPLACE= yes MAN1= gman.1x post-patch: - @${PERL} -pi -e "s,^CXX =,#CXX =,g ; s,^CXXFLAGS =,CXXFLAGS+=,g ; \ - s,gtk-config,${GTK_CONFIG},g ; s,= /usr,= ${PREFIX},g ; \ - s,/var/www,${LOCALBASE}/www,g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's,^CXX =,#CXX =,g ; s,^CXXFLAGS =,CXXFLAGS+=,g ; \ + s,gtk-config,${GTK_CONFIG},g ; s,= /usr,= ${PREFIX},g ;s,\-O2,,g ; \ + s,\-lgtk \-lgdk \-lpthread ,`${GTK_CONFIG} \-\-libs gthread` ,g;' \ + ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/gman ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/bin/gman.cgi + ${MKDIR} ${PREFIX}/www/cgi-bin/gman + ${INSTALL_SCRIPT} ${WRKSRC}/gman.pl ${PREFIX}/www/cgi-bin/gman + ${INSTALL_MAN} ${WRKSRC}/gman.1x ${MANPREFIX}/man/man1 .include <bsd.port.mk> Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/misc/gman/pkg-descr,v retrieving revision 1.1 diff -u -r1.1 pkg-descr --- pkg-descr 30 Mar 2001 16:49:35 -0000 1.1 +++ pkg-descr 28 Sep 2002 15:04:26 -0000 @@ -2,4 +2,5 @@ designed for the new users of UNIX. It can help a newbie find specific information or idly browse other man pages. +Author: Xinkai Wang <aakwxk@hotmail.com> WWW: http://homex.coolconnect.com/user/xkwang/gman/ Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/misc/gman/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 10 Jun 2002 04:25:02 -0000 1.2 +++ pkg-plist 28 Sep 2002 15:14:06 -0000 @@ -1,3 +1,4 @@ bin/gman bin/gman.cgi -www/cgi-bin/gman +www/cgi-bin/gman/gman.pl +@dirrm www/cgi-bin/gman --- gman.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209281535.g8SFZBJu056985>