Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 1999 12:54:23 -0400 (EDT)
From:      Brian Clapper <bmc@WillsCreek.COM>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12929: [UPDATE] tgif port
Message-ID:  <199908021654.MAA06795@current.willscreek.com>

next in thread | raw e-mail | index | archive | help

>Number:         12929
>Category:       ports
>Synopsis:       Update of TGIF port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug  2 10:00:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Brian Clapper
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
WillsCreek.COM
>Environment:

	Tested on 3.1-RELEASE with XFree86 version 3.3.3.1. Should work
	on other releases, as well.

>Description:

	Patches from Mita Yoshio <mita@iis.u-tokyo.ac.jp> to 

	(a) enable TGIF internationalization in TGIF, in preparation for
	    his Japanese port of TGIF;
	(b) install TGIF documentation.

>How-To-Repeat:


>Fix:
	
	Enclosed is "diff -uNr" output necessary to update current
	port to include Mita Yoshio's diffs.

diff -uNr tgif/Makefile tgif.new/Makefile
--- tgif/Makefile	Sat Jun 19 18:31:55 1999
+++ tgif.new/Makefile	Mon Aug  2 12:20:33 1999
@@ -17,10 +17,20 @@
 
 USE_IMAKE=	yes
 MAN1=		tgif.1
+TGIFDOC=	${PREFIX}/share/doc/tgif
+DEMO_FILES=	an-sr-flip-flop.obj launch-demo-1.obj \
+		fonts.obj launch-demo.obj keys.obj slide-demo.obj example.tex
+READMES=	Copyright HISTORY README
 
 post-extract:
 		${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
 		${CP} ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
 		      ${WRKDIR}/${DISTNAME}/Tgif.tmpl
+post-install:
+		${MKDIR} ${TGIFDOC}
+		(cd ${WRKSRC} ;\
+		  ${INSTALL_DATA} ${DEMO_FILES} ${TGIFDOC} ;\
+		  ${INSTALL_DATA} ${READMES} ${TGIFDOC} ;\
+		)
 
 .include <bsd.port.mk>
diff -uNr tgif/patches/patch-ab tgif.new/patches/patch-ab
--- tgif/patches/patch-ab	Wed Dec 31 19:00:00 1969
+++ tgif.new/patches/patch-ab	Mon Aug  2 12:20:33 1999
@@ -0,0 +1,11 @@
+--- Tgif.tmpl.orig	Thu Jul 15 15:59:27 1999
++++ Tgif.tmpl	Thu Jul 15 16:02:44 1999
+@@ -57,7 +57,7 @@
+                   -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" \@@\
+                   -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" \@@\
+                   -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\"
+-MISCDEFINES	= -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT
++MISCDEFINES	= -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT -DUSE_XAPPLRESDIR -DXAPPLOADDIR_DEF=\"$(LIBDIR)/app-defaults\"
+ MOREDEFINES	=
+ 
+ XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff -uNr tgif/pkg/PLIST tgif.new/pkg/PLIST
--- tgif/pkg/PLIST	Sat Jun 19 18:31:55 1999
+++ tgif.new/pkg/PLIST	Mon Aug  2 12:20:33 1999
@@ -10,4 +10,15 @@
 lib/X11/tgif/tgificon.xpm
 lib/X11/tgif/tangram.sym
 lib/X11/tgif/keys.obj
+share/doc/tgif/Copyright
+share/doc/tgif/HISTORY
+share/doc/tgif/README
+share/doc/tgif/an-sr-flip-flop.obj
+share/doc/tgif/example.tex
+share/doc/tgif/fonts.obj
+share/doc/tgif/launch-demo-1.obj
+share/doc/tgif/launch-demo.obj
+share/doc/tgif/keys.obj
+share/doc/tgif/slide-demo.obj
+@dirrm share/doc/tgif
 @dirrm lib/X11/tgif



>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?199908021654.MAA06795>