Bug 55746

Summary: Update of tgif port
Product: Ports & Packages Reporter: Brian Clapper <bmc>
Component: Individual Port(s)Assignee: Sergey A. Osokin <osa>
Status: Closed FIXED    
Severity: Affects Only Me CC: bmc
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
patch-tgif none

Description Brian Clapper 2003-08-20 10:41:08 UTC
	update to pick up new version of tgif

Fix: Apply below patch to bring port up-to-date. Note that diffs include
	a change of maintainer address. I will submit a separate PR to make
	sure that particular change isn't missed.
How-To-Repeat: 
	N/A
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2003-08-20 12:11:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

I'll handle this.
Comment 2 osa 2003-08-20 12:48:37 UTC
On Tue, Aug 19, 2003 at 11:28:44AM -0400, Brian Clapper wrote:
> 
> >Description:
> 
> 	update to pick up new version of tgif
> 
> >How-To-Repeat:
> >Fix: 
[patch skipped]

Please approve following patch that include your fixes.
Also I make some cosmetic fixes for pkg-plist and pkg-descr.
I want to use ${REINPLACE_CMD} instead of files/patch-aa.

-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \
Comment 3 Brian Clapper 2003-08-20 14:41:27 UTC
On 20 August, 2003, at 15:48 (+0400)
Sergey A. Osokin <osa@freebsd.org.ru> wrote:

> On Tue, Aug 19, 2003 at 11:28:44AM -0400, Brian Clapper wrote:
> >
> > >Description:
> >
> >     update to pick up new version of tgif
> >
> > >How-To-Repeat:
> > >Fix:
> [patch skipped]
>
> Please approve following patch that include your fixes.
> Also I make some cosmetic fixes for pkg-plist and pkg-descr.
> I want to use ${REINPLACE_CMD} instead of files/patch-aa.

Sergey,

It works perfectly, as long as "files/patch-aa" is removed or zeroed (which
I assume you'll do when you check the whole thing in). The REINPLACE_CMD
approach works much better for this patch case. Also, thanks for catching
the missing file in the plist. I submitted the port change without running
the usual pkg_delete test. (Sorry.)

Regards,

-Brian

Brian Clapper, bmc@clapper.org, http://www.clapper.org/bmc/
Marshall's generalized iceberg theorem: 7/8ths of everything cannot be seen.

> Index: ports/graphics/tgif/Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/tgif/Makefile,v
> retrieving revision 1.34
> diff -u -r1.34 Makefile
> --- ports/graphics/tgif/Makefile      20 Aug 2003 10:50:03 -0000      1.34
> +++ ports/graphics/tgif/Makefile      20 Aug 2003 11:44:27 -0000
> @@ -6,7 +6,7 @@
>  #
>
>  PORTNAME=    tgif
> -PORTVERSION= 4.1.42
> +PORTVERSION= 4.1.43
>  CATEGORIES=  graphics
>  MASTER_SITES=        ftp://bourbon.usc.edu/pub/tgif/ \
>               http://groups.yahoo.com/group/tgif4-announce/files/ \
> @@ -20,6 +20,7 @@
>  RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm
>
>  USE_IMAKE=   yes
> +USE_REINPLACE=       yes
>  MAN1=                tgif.1
>  TGIFDOC=     ${PREFIX}/share/doc/tgif
>  DEMO_FILES=  an-sr-flip-flop.obj launch-demo-1.obj \
> @@ -30,6 +31,9 @@
>               ${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
>               ${CP} ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
>                     ${WRKDIR}/${DISTNAME}/Tgif.tmpl
> +post-patch:
> +             @${REINPLACE_CMD} -e 's|.TH tgif n|.TH tgif 1L|' \
> +                     ${WRKSRC}/tgif.man
>  post-install:
>               ${MKDIR} ${TGIFDOC}
>               (cd ${WRKSRC} ;\
> Index: ports/graphics/tgif/distinfo
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/tgif/distinfo,v
> retrieving revision 1.24
> diff -u -r1.24 distinfo
> --- ports/graphics/tgif/distinfo      1 Apr 2002 17:18:37 -0000       1.24
> +++ ports/graphics/tgif/distinfo      20 Aug 2003 11:44:27 -0000
> @@ -1 +1 @@
> -MD5 (tgif-QPL-4.1.42.tar.gz) = 83b1cd01b1570fbf71ea5994af87f42e
> +MD5 (tgif-QPL-4.1.43.tar.gz) = 88ba670d90ad61f86d1c9d765e97e0d1
> Index: ports/graphics/tgif/pkg-descr
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/tgif/pkg-descr,v
> retrieving revision 1.8
> diff -u -r1.8 pkg-descr
> --- ports/graphics/tgif/pkg-descr     19 Oct 2001 16:07:46 -0000      1.8
> +++ ports/graphics/tgif/pkg-descr     20 Aug 2003 11:44:27 -0000
> @@ -17,3 +17,5 @@
>
>  Tgif is written, maintained and enhanced by
>  William Chia-Wei Cheng (william@cs.umd.edu)
> +
> +WWW: http://bourbon.cs.umd.edu:8001/tgif/
> Index: ports/graphics/tgif/pkg-plist
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/tgif/pkg-plist,v
> retrieving revision 1.10
> diff -u -r1.10 pkg-plist
> --- ports/graphics/tgif/pkg-plist     1 Apr 2002 17:18:37 -0000       1.10
> +++ ports/graphics/tgif/pkg-plist     20 Aug 2003 11:44:27 -0000
> @@ -3,6 +3,7 @@
>  lib/X11/tgif/LICENSE.QPL
>  lib/X11/tgif/eq4-2x.sym
>  lib/X11/tgif/eq4-epstool.sym
> +lib/X11/tgif/eq4-lyx-ps2epsi.sym
>  lib/X11/tgif/eq4-ps2epsi.sym
>  lib/X11/tgif/eq4.sym
>  lib/X11/tgif/eq4xpm.sym
Comment 4 Sergey A. Osokin freebsd_committer freebsd_triage 2003-08-20 14:53:46 UTC
State Changed
From-To: open->closed

Committed, thanks!