aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-05-03 12:24:19 +0800
committersteve <steve@FreeBSD.org>1999-05-03 12:24:19 +0800
commit129f84ee4218fc7877b683461a30bb99ff477bfd (patch)
tree96f2b550ce4fd243643e879132f257bfd7d104ac
parent5a64454699f194ee6bbc07252f63cd2e15231154 (diff)
downloadfreebsd-ports-gnome-129f84ee4218fc7877b683461a30bb99ff477bfd.tar.gz
freebsd-ports-gnome-129f84ee4218fc7877b683461a30bb99ff477bfd.tar.zst
freebsd-ports-gnome-129f84ee4218fc7877b683461a30bb99ff477bfd.zip
Initial import of tgif-nls version 4.1.8.
A two-dimensional drawing tool with NLS message catalogs support. PR: 11455 Submitted by: Hajime Tanno <one@netlab.is.tsukuba.ac.jp>
-rw-r--r--graphics/tgif-nls/Makefile51
-rw-r--r--graphics/tgif-nls/distinfo1
-rw-r--r--graphics/tgif-nls/files/patch-aa11
-rw-r--r--graphics/tgif-nls/files/patch-ab39
-rw-r--r--graphics/tgif-nls/pkg-comment1
-rw-r--r--graphics/tgif-nls/pkg-descr21
-rw-r--r--graphics/tgif-nls/pkg-plist11
7 files changed, 135 insertions, 0 deletions
diff --git a/graphics/tgif-nls/Makefile b/graphics/tgif-nls/Makefile
new file mode 100644
index 000000000000..91f62751fe4f
--- /dev/null
+++ b/graphics/tgif-nls/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: tgif-nls
+# Version required: 4.1.8
+# Date created: 3 May 1999
+# Whom: one@netlab.is.tsukuba.ac.jp
+#
+# $Id$
+#
+
+DISTNAME= tgif-4.1.8
+PKGNAME= tgif-nls-4.1.8
+CATEGORIES= graphics
+MASTER_SITES= ftp://bourbon.cs.umd.edu/pub/tgif/ \
+ ftp://ftp.cs.ucla.edu/pub/tgif/
+
+MAINTAINER= one@netlab.is.tsukuba.ac.jp
+
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm \
+ pnmtotiff:${PORTSDIR}/graphics/netpbm \
+ ppmtoxpm:${PORTSDIR}/graphics/netpbm \
+ ppmtogif:${PORTSDIR}/graphics/netpbm \
+ xbmtopbm:${PORTSDIR}/graphics/netpbm \
+ xpmtoppm:${PORTSDIR}/graphics/netpbm
+
+USE_IMAKE= yes
+MAN1= tgif.1
+
+post-extract:
+ @cd ${WRKSRC}; ${RM} -f Tgif.tmpl; \
+ ${SED} -e 's#/usr/share/locale#${PREFIX}/share/locale#' \
+ Tgif.tmpl-freebsd > Tgif.tmpl; \
+ ${ECHO} "EXTRA_INCLUDES += -I${LOCALBASE}/include" \
+ >> Tgif.tmpl; \
+ ${ECHO} "EXTRA_LIBRARIES += -L${LOCALBASE}/lib -lintl" \
+ >> Tgif.tmpl; \
+ ${MV} po/Po.tmpl po/Po.tmpl.orig; \
+ ${SED} -e 's#/usr/share/locale#${PREFIX}/share/locale#' \
+ po/Po.tmpl.orig > po/Po.tmpl; \
+
+post-patch:
+ @cd ${WRKSRC}; \
+ ${MV} tgif.Xdefaults tgif.Xdefaults.org; \
+ ${SED} -e 's#/usr/local#${PREFIX}#' \
+ -e 's#/usr/share/lib#${PREFIX}/share/locale#' \
+ tgif.Xdefaults.org > tgif.Xdefaults
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/tgif.Xdefaults.ja \
+ ${PREFIX}/lib/X11/ja_JP.EUC/app-defaults/Tgif
+
+.include <bsd.port.mk>
diff --git a/graphics/tgif-nls/distinfo b/graphics/tgif-nls/distinfo
new file mode 100644
index 000000000000..1145ed8f63ee
--- /dev/null
+++ b/graphics/tgif-nls/distinfo
@@ -0,0 +1 @@
+MD5 (tgif-4.1.8.tar.gz) = 63cce3cdd6c53d45bef8328ce7f7c959
diff --git a/graphics/tgif-nls/files/patch-aa b/graphics/tgif-nls/files/patch-aa
new file mode 100644
index 000000000000..028eb6553b4c
--- /dev/null
+++ b/graphics/tgif-nls/files/patch-aa
@@ -0,0 +1,11 @@
+--- tgif.man.orig Mon Mar 22 11:54:24 1999
++++ tgif.man Tue Apr 6 03:30:32 1999
+@@ -8,7 +8,7 @@
+ .\"
+ .\"
+ .\"
+-.TH tgif n "Version 4.1 Patchlevel 5 and Above" "Tgif"
++.TH tgif 1L "Version 4.1 Patchlevel 5 and Above" "Tgif"
+ .\"
+ .SH NAME
+ .\"
diff --git a/graphics/tgif-nls/files/patch-ab b/graphics/tgif-nls/files/patch-ab
new file mode 100644
index 000000000000..c2356aeb7d10
--- /dev/null
+++ b/graphics/tgif-nls/files/patch-ab
@@ -0,0 +1,39 @@
+--- Tgif.tmpl.orig Sun May 2 18:21:54 1999
++++ Tgif.tmpl Sun May 2 18:24:06 1999
+@@ -41,6 +41,15 @@
+ XIMPDEFINES =
+ #endif
+
++#define IHaveSubdirs
++
++SUBDIRS = po
++
++#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
++
++MakeSubdirs($(SUBDIRS))
++DependSubdirs($(SUBDIRS))
++
+ PROGRAMS = tgif XCOMM prtgif frontend11.o testdrive
+ XCOMM CDEBUGFLAGS= -g -Wall
+ XCOMM INSTPGMFLAGS= -s
+@@ -58,16 +67,16 @@
+ -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
+-MOREDEFINES =
++MOREDEFINES = -DUSE_XT_INITIALIZE -D_ENABLE_NLS
+
+ XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above
+ XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+ DEPLIBS = $(DEPXLIB)
+-LOCAL_LIBRARIES = $(XLIB)
+-XCOMM LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB)
++XCOMM LOCAL_LIBRARIES = $(XLIB)
++LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB)
+ XCOMM SYS_LIBRARIES = -ldl -lm
+-SYS_LIBRARIES = -lm
++SYS_LIBRARIES = -lm -lcompat
+ EXTRA_INCLUDES += -I/usr/local/include
+ EXTRA_LIBRARIES += -L/usr/local/lib -lintl
diff --git a/graphics/tgif-nls/pkg-comment b/graphics/tgif-nls/pkg-comment
new file mode 100644
index 000000000000..645837a3543d
--- /dev/null
+++ b/graphics/tgif-nls/pkg-comment
@@ -0,0 +1 @@
+A two-dimensional drawing tool with NLS message catalogs support.
diff --git a/graphics/tgif-nls/pkg-descr b/graphics/tgif-nls/pkg-descr
new file mode 100644
index 000000000000..c3dcdaafcbb1
--- /dev/null
+++ b/graphics/tgif-nls/pkg-descr
@@ -0,0 +1,21 @@
+Tgif 4.X with NLS message catalogs support
+
+Tgif is an interactive drawing tool that allows the user to draw and
+manipulate objects in the X Window System. It's also a hyper-graphics (or
+hyper-structured-graphics) browser on the World-Wide-Web. Its hyper-text
+home page is http://bourbon.cs.umd.edu:8001/tgif/ and its hyper-graphics
+home page is http://bourbon.cs.umd.edu:8001/tgif/index.obj.
+
+Tgif drawings can be converted to a variety of formats, including GIF,
+encapsulated PostScript and XBM.
+
+Version 4 has a completely revamped 3-D user interface, as well as a host
+of new features. Tgif-4.1.5 and above version supports native language in
+the menus.
+
+Tgif depends on the `netpbm' package, available from the `ports'
+collection. In order to native language support, `gettext' package is
+required, and it's also available from the `ports' collection.
+
+Tgif is written, maintained and enhanced by
+William Chia-Wei Cheng (william@cs.umd.edu)
diff --git a/graphics/tgif-nls/pkg-plist b/graphics/tgif-nls/pkg-plist
new file mode 100644
index 000000000000..956c4d96b105
--- /dev/null
+++ b/graphics/tgif-nls/pkg-plist
@@ -0,0 +1,11 @@
+bin/tgif
+lib/X11/app-defaults/Tgif
+lib/X11/ja_JP.EUC/app-defaults/Tgif
+lib/X11/tgif/tgificon.eps
+lib/X11/tgif/tgificon.obj
+lib/X11/tgif/tgificon.xbm
+lib/X11/tgif/tgificon.xpm
+lib/X11/tgif/tangram.sym
+lib/X11/tgif/keys.obj
+share/locale/ja/LC_MESSAGES/tgif.mo
+@dirrm lib/X11/tgif