Skip site navigation (1)Skip section navigation (2)
Date:      3 May 1999 05:33:25 +0900
From:      one@netlab.is.tsukuba.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11455: New port: tgif-nls
Message-ID:  <19990502203325.37835.qmail@sprite.netlab.is.tsukuba.ac.jp>

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

>Number:         11455
>Category:       ports
>Synopsis:       New ports: graphics/tgif-nls
>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:   Sun May  2 13:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Hajime Tanno
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Computer Networks Lab., Univ. of Tsukuba
>Environment:

	FreeBSD 3.1-RELEASE i386

>Description:

	Tgif version 4 with native language support (NLS) message catalogs.
	
	
>How-To-Repeat:

	N/A

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tgif-nls
#	tgif-nls/Makefile
#	tgif-nls/files
#	tgif-nls/files/md5
#	tgif-nls/files/tgif.Xdefaults.ja
#	tgif-nls/patches
#	tgif-nls/patches/patch-aa
#	tgif-nls/patches/patch-ab
#	tgif-nls/patches/patch-ad
#	tgif-nls/patches/patch-ac
#	tgif-nls/pkg
#	tgif-nls/pkg/COMMENT
#	tgif-nls/pkg/DESCR
#	tgif-nls/pkg/PLIST
#
echo c - tgif-nls
mkdir -p tgif-nls > /dev/null 2>&1
echo x - tgif-nls/Makefile
sed 's/^X//' >tgif-nls/Makefile << 'END-of-tgif-nls/Makefile'
X# New ports collection makefile for:    tgif-nls
X# Version required:     4.1.8
X# Date created:         3 May 1999
X# Whom:                 one@netlab.is.tsukuba.ac.jp
X#
X# $Id$
X#
X
XDISTNAME=	tgif-4.1.8
XPKGNAME=	tgif-nls-4.1.8
XCATEGORIES=	graphics
XMASTER_SITES=	ftp://bourbon.cs.umd.edu/pub/tgif/ \
X		ftp://ftp.cs.ucla.edu/pub/tgif/
X
XMAINTAINER=	one@netlab.is.tsukuba.ac.jp
X
XLIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext
XRUN_DEPENDS=	giftopnm:${PORTSDIR}/graphics/netpbm \
X		pnmtotiff:${PORTSDIR}/graphics/netpbm \
X		ppmtoxpm:${PORTSDIR}/graphics/netpbm \
X		ppmtogif:${PORTSDIR}/graphics/netpbm \
X		xbmtopbm:${PORTSDIR}/graphics/netpbm \
X		xpmtoppm:${PORTSDIR}/graphics/netpbm
X
XUSE_IMAKE=	yes
XMAN1=		tgif.1
X
Xpost-extract:
X		@cd ${WRKSRC}; ${RM} -f Tgif.tmpl; \
X		${SED} -e 's#/usr/share/locale#${PREFIX}/share/locale#' \
X			Tgif.tmpl-freebsd > Tgif.tmpl; \
X		${ECHO} "EXTRA_INCLUDES += -I${LOCALBASE}/include" \
X			>> Tgif.tmpl; \
X		${ECHO} "EXTRA_LIBRARIES += -L${LOCALBASE}/lib -lintl" \
X			>> Tgif.tmpl; \
X		${MV} po/Po.tmpl po/Po.tmpl.orig; \
X		${SED} -e 's#/usr/share/locale#${PREFIX}/share/locale#' \
X			po/Po.tmpl.orig > po/Po.tmpl; \
X
Xpost-patch:
X		@cd ${WRKSRC}; \
X		${MV} tgif.Xdefaults tgif.Xdefaults.org; \
X		${SED} -e 's#/usr/local#${PREFIX}#' \
X			-e 's#/usr/share/lib#${PREFIX}/share/locale#' \
X			tgif.Xdefaults.org > tgif.Xdefaults
X
Xpost-install:
X		${INSTALL_DATA} ${FILESDIR}/tgif.Xdefaults.ja \
X			${PREFIX}/lib/X11/ja_JP.EUC/app-defaults/Tgif
X
X.include <bsd.port.mk>
END-of-tgif-nls/Makefile
echo c - tgif-nls/files
mkdir -p tgif-nls/files > /dev/null 2>&1
echo x - tgif-nls/files/md5
sed 's/^X//' >tgif-nls/files/md5 << 'END-of-tgif-nls/files/md5'
XMD5 (tgif-4.1.8.tar.gz) = 63cce3cdd6c53d45bef8328ce7f7c959
END-of-tgif-nls/files/md5
echo x - tgif-nls/files/tgif.Xdefaults.ja
sed 's/^X//' >tgif-nls/files/tgif.Xdefaults.ja << 'END-of-tgif-nls/files/tgif.Xdefaults.ja'
XTgif.MenuFontSet:              a14,k14,r14
X
XTgif.SquareDoubleByteFonts: \n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,Ryumin-Light-EUC-H\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,Ryumin-Light-EUC-H\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,Ryumin-Light-EUC-H\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,Ryumin-Light-EUC-H\n\
X\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,GothicBBB-Medium-EUC-H\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,GothicBBB-Medium-EUC-H\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,GothicBBB-Medium-EUC-H\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,H,GothicBBB-Medium-EUC-H\n\
X\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,Ryumin-Light-EUC-V\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,Ryumin-Light-EUC-V\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,Ryumin-Light-EUC-V\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,Ryumin-Light-EUC-V\n\
X\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,GothicBBB-Medium-EUC-V\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,GothicBBB-Medium-EUC-V\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,GothicBBB-Medium-EUC-V\n\
X-jis-fixed-medium-r-*--%d-*-*-*-*-*-jisx0208.1983-*,V,GothicBBB-Medium-EUC-V
X
X!Tgif.DoubleByteInputMethod:	kinput2
XTgif.DoubleByteInputMethod:	xim
X
X!Tgif.InitialFont:		Ryumin
XTgif.RyuminShowFontChar:	\244\242
XTgif.GothicBBBShowFontChar:	\244\316
X
XTgif.UseNKF:			true
XTgif.CopyAndPasteJIS:		true
XTgif.PreeditType:		overthespot
XTgif.Lang:			ja_JP.EUC
XTgif.ConvSelection:		_JAPANESE_CONVERSION
END-of-tgif-nls/files/tgif.Xdefaults.ja
echo c - tgif-nls/patches
mkdir -p tgif-nls/patches > /dev/null 2>&1
echo x - tgif-nls/patches/patch-aa
sed 's/^X//' >tgif-nls/patches/patch-aa << 'END-of-tgif-nls/patches/patch-aa'
X--- tgif.man.orig	Mon Mar 22 11:54:24 1999
X+++ tgif.man	Tue Apr  6 03:30:32 1999
X@@ -8,7 +8,7 @@
X .\"
X .\"
X .\"
X-.TH tgif n "Version 4.1 Patchlevel 5 and Above" "Tgif"
X+.TH tgif 1L "Version 4.1 Patchlevel 5 and Above" "Tgif"
X .\"
X .SH NAME
X .\"
END-of-tgif-nls/patches/patch-aa
echo x - tgif-nls/patches/patch-ab
sed 's/^X//' >tgif-nls/patches/patch-ab << 'END-of-tgif-nls/patches/patch-ab'
X--- Tgif.tmpl.orig	Sun May  2 18:21:54 1999
X+++ Tgif.tmpl	Sun May  2 18:24:06 1999
X@@ -41,6 +41,15 @@
X XIMPDEFINES      =
X #endif
X 
X+#define IHaveSubdirs
X+
X+SUBDIRS = po
X+
X+#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
X+
X+MakeSubdirs($(SUBDIRS))
X+DependSubdirs($(SUBDIRS))
X+
X PROGRAMS	= tgif XCOMM prtgif frontend11.o testdrive
X XCOMM CDEBUGFLAGS= -g -Wall
X XCOMM INSTPGMFLAGS= -s
X@@ -58,16 +67,16 @@
X                   -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" \@@\
X                   -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\"
X MISCDEFINES	= -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT
X-MOREDEFINES	=
X+MOREDEFINES	= -DUSE_XT_INITIALIZE -D_ENABLE_NLS
X 
X XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
X XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above
X XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
X 
X DEPLIBS		= $(DEPXLIB)
X-LOCAL_LIBRARIES	= $(XLIB)
X-XCOMM LOCAL_LIBRARIES	= $(XMULIB) $(XTOOLLIB) $(XLIB)
X+XCOMM LOCAL_LIBRARIES	= $(XLIB)
X+LOCAL_LIBRARIES	= $(XMULIB) $(XTOOLLIB) $(XLIB)
X XCOMM SYS_LIBRARIES	= -ldl -lm
X-SYS_LIBRARIES	= -lm
X+SYS_LIBRARIES	= -lm -lcompat
X EXTRA_INCLUDES += -I/usr/local/include
X EXTRA_LIBRARIES += -L/usr/local/lib -lintl
END-of-tgif-nls/patches/patch-ab
echo x - tgif-nls/patches/patch-ad
sed 's/^X//' >tgif-nls/patches/patch-ad << 'END-of-tgif-nls/patches/patch-ad'
X--- tgif.Xdefaults.orig	Mon May  3 00:52:08 1999
X+++ tgif.Xdefaults	Mon May  3 00:53:55 1999
X@@ -8,12 +8,12 @@
X !
X ! @(#)$Header: /mm/src/tgif/v4/RCS/tgif.Xdefaults,v 4.13 1999/04/16 04:14:24 william Exp $
X !
X-Tgif.Geometry:			640x512-40+20
X-Tgif.IconGeometry:		-224+82
X-Tgif.Foreground:		Black
X-Tgif.Background:		Aquamarine
X-Tgif.BorderColor:		Aquamarine
X-Tgif.ReverseVideo:		on
X+!Tgif.Geometry:			640x512-40+20
X+!Tgif.IconGeometry:		-224+82
X+!Tgif.Foreground:		Black
X+!Tgif.Background:		Aquamarine
X+!Tgif.BorderColor:		Aquamarine
X+!Tgif.ReverseVideo:		on
X !
X Tgif.InitialFont:		Times
X !Tgif.InitialFont:		Courier
X@@ -27,7 +27,7 @@
X !Tgif.InitialFontStyle:		BoldItalic
X !
X !Tgif.InitialFontJust:		Left
X-Tgif.InitialFontJust:		Center
X+!Tgif.InitialFontJust:		Center
X !Tgif.InitialFontJust:		Right
X !
X ! The next 3 are obsoleted
X@@ -40,7 +40,7 @@
X Tgif.RulerFontSize:		10
X Tgif.DefaultFontSize:		14
X !
X-Tgif.FontSizes:			8 10 11 12 14 17 18 20 24 25 34
X+Tgif.FontSizes:			8 9 10 11 12 13 14 15 16 17 18 20 24 32 34 36 40 44 60 70 100 200 250 300
X Tgif.AdditionalFonts:		\n\
X 	lucidabright-medium-r-normal,iso8859-1,ZapfChancery-MediumItalic\n\
X 	lucidabright-demibold-r-normal,iso8859-1,ZapfChancery-MediumItalic\n\
X@@ -83,7 +83,7 @@
X Tgif.DrawCursor:		arrow
X Tgif.DragCursor:		hand2
X Tgif.VertexCursor:		dotbox
X-Tgif.RubberBandColor:		Aquamarine
X+!Tgif.RubberBandColor:		Aquamarine
X !
X Tgif.MaxColors:			11
X Tgif.Color0:			magenta
X@@ -97,7 +97,7 @@
X Tgif.Color8:			white
X Tgif.Color9:			black
X Tgif.Color10:			DarkSlateGray
X-Tgif.DefaultColorIndex:		0
X+Tgif.DefaultColorIndex:		9
X !
X Tgif.ShortCuts:			!<Key>A:SelectAll() \n\
X 				!<Key>U:Undo() \n\
X@@ -329,7 +329,7 @@
X Tgif.XpmDeckToGifAnim:		gifsicle -lforever --delay 10
X !Tgif.XpmDeckToGifAnim:		whirlgif -loop -time 10
X Tgif.GifAnimExplode:		gifsicle -eU
X-Tgif.Btn3PopupModeMenu:		false
X+Tgif.Btn3PopupModeMenu:		true
X Tgif.ScriptFraction:		0.6
X Tgif.DeleteNextCharWithDelKey:	true
X !
X@@ -370,7 +370,7 @@
X Tgif.GBShowFontChar:		\271\372
X Tgif.RyuminShowFontChar:	\244\242
X Tgif.GothicBBBShowFontChar:	\244\316
X-Tgif.DoubleByteInputMethod:	xcin
X+!Tgif.DoubleByteInputMethod:	xcin
X !Tgif.DoubleByteInputMethod:	chinput
X !Tgif.DoubleByteInputMethod:	kinput2
X !Tgif.DoubleByteInputMethod:	xim
X@@ -381,11 +381,11 @@
X ! Please note that the environment variables LANG and XMODIFIERS override the
X !	Tgif.Lang and Tgif.Modifiers X defaults.
X !
X-Tgif.UseNKF:			true
X-Tgif.CopyAndPasteJIS:		true
X-Tgif.PreeditType:		root
X+!Tgif.UseNKF:			true
X+!Tgif.CopyAndPasteJIS:		true
X+!Tgif.PreeditType:		root
X !Tgif.PreeditType:		overthespot
X-Tgif.Lang:			ja_JP.EUC
X+!Tgif.Lang:			ja_JP.EUC
X !Tgif.Lang:			ja_JP.ujis
X !Tgif.Modifiers:		false
X !Tgif.ConvSelection:		_JAPANESE_CONVERSION
END-of-tgif-nls/patches/patch-ad
echo x - tgif-nls/patches/patch-ac
sed 's/^X//' >tgif-nls/patches/patch-ac << 'END-of-tgif-nls/patches/patch-ac'
X--- Imakefile.orig	Wed Apr 28 01:31:33 1999
X+++ Imakefile	Wed Apr 28 01:34:45 1999
X@@ -265,7 +265,7 @@
X  */
X 
X MakeDirectories(install,$(TGIFDIR))
X-InstallNonExec(tgif.Xdefaults,$(TGIFDIR))
X+InstallNonExec(tgif.Xdefaults,$(XAPPLOADDIR)/Tgif)
X InstallNonExec(tgificon.eps,$(TGIFDIR))
X InstallNonExec(tgificon.obj,$(TGIFDIR))
X InstallNonExec(tgificon.xbm,$(TGIFDIR))
END-of-tgif-nls/patches/patch-ac
echo c - tgif-nls/pkg
mkdir -p tgif-nls/pkg > /dev/null 2>&1
echo x - tgif-nls/pkg/COMMENT
sed 's/^X//' >tgif-nls/pkg/COMMENT << 'END-of-tgif-nls/pkg/COMMENT'
XA two-dimensional drawing tool with NLS message catalogs support.
END-of-tgif-nls/pkg/COMMENT
echo x - tgif-nls/pkg/DESCR
sed 's/^X//' >tgif-nls/pkg/DESCR << 'END-of-tgif-nls/pkg/DESCR'
XTgif 4.X with NLS message catalogs support
X
XTgif is an interactive drawing tool that allows the user to draw and
Xmanipulate objects in the X Window System. It's also a hyper-graphics (or
Xhyper-structured-graphics) browser on the World-Wide-Web. Its hyper-text
Xhome page is http://bourbon.cs.umd.edu:8001/tgif/ and its hyper-graphics
Xhome page is http://bourbon.cs.umd.edu:8001/tgif/index.obj.
X
XTgif drawings can be converted to a variety of formats, including GIF,
Xencapsulated PostScript and XBM.
X
XVersion 4 has a completely revamped 3-D user interface, as well as a host
Xof new features. Tgif-4.1.5 and above version supports native language in
Xthe menus.
X
XTgif depends on the `netpbm' package, available from the `ports' 
Xcollection. In order to native language support, `gettext' package is 
Xrequired, and it's also available from the `ports' collection.
X
XTgif is written, maintained and enhanced by
XWilliam Chia-Wei Cheng (william@cs.umd.edu)
END-of-tgif-nls/pkg/DESCR
echo x - tgif-nls/pkg/PLIST
sed 's/^X//' >tgif-nls/pkg/PLIST << 'END-of-tgif-nls/pkg/PLIST'
Xbin/tgif
Xlib/X11/app-defaults/Tgif
Xlib/X11/ja_JP.EUC/app-defaults/Tgif
Xlib/X11/tgif/tgificon.eps
Xlib/X11/tgif/tgificon.obj
Xlib/X11/tgif/tgificon.xbm
Xlib/X11/tgif/tgificon.xpm
Xlib/X11/tgif/tangram.sym
Xlib/X11/tgif/keys.obj
Xshare/locale/ja/LC_MESSAGES/tgif.mo
X@dirrm lib/X11/tgif
END-of-tgif-nls/pkg/PLIST
exit


>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?19990502203325.37835.qmail>