summaryrefslogtreecommitdiff
path: root/graphics/tgif
diff options
context:
space:
mode:
authortron <tron>1998-03-29 22:16:36 +0000
committertron <tron>1998-03-29 22:16:36 +0000
commit97767b6d503c0c717d1d9fe177f66718ad5fb231 (patch)
tree0b50485cc9ff493b6d3984582b217e2b02813357 /graphics/tgif
parentdc9ebd4594abba198fa04b35070b4cda0726fa00 (diff)
downloadpkgsrc-97767b6d503c0c717d1d9fe177f66718ad5fb231.tar.gz
Add "tgif-3.0-p16" package made by Dan McMahill.
Diffstat (limited to 'graphics/tgif')
-rw-r--r--graphics/tgif/Makefile19
-rw-r--r--graphics/tgif/files/md51
-rw-r--r--graphics/tgif/patches/patch-aa37
-rw-r--r--graphics/tgif/pkg/COMMENT1
-rw-r--r--graphics/tgif/pkg/DESCR6
-rw-r--r--graphics/tgif/pkg/PLIST13
6 files changed, 77 insertions, 0 deletions
diff --git a/graphics/tgif/Makefile b/graphics/tgif/Makefile
new file mode 100644
index 00000000000..08d4d04c091
--- /dev/null
+++ b/graphics/tgif/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: tgif
+# Version required: 3.0-p16
+# Date created: 7 Dec 1997
+# Whom: Dan McMahill <mcmahill@alum.mit.edu>
+#
+# $NetBSD: Makefile,v 1.1 1998/03/29 22:16:36 tron Exp $
+
+DISTNAME= tgif-3.0-p16
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= applications/tgif
+
+MAINTAINER= mcmahill@alum.mit.edu
+
+USE_IMAKE= yes
+
+CAT1= prtgif.0 tgif.0
+
+.include <bsd.port.mk>
diff --git a/graphics/tgif/files/md5 b/graphics/tgif/files/md5
new file mode 100644
index 00000000000..a57480de454
--- /dev/null
+++ b/graphics/tgif/files/md5
@@ -0,0 +1 @@
+MD5 (tgif-3.0-p16.tar.gz) = 83a0d822ff10ca1c6abfedd44102cb54
diff --git a/graphics/tgif/patches/patch-aa b/graphics/tgif/patches/patch-aa
new file mode 100644
index 00000000000..7f80160db49
--- /dev/null
+++ b/graphics/tgif/patches/patch-aa
@@ -0,0 +1,37 @@
+*** Imakefile.orig Sun Dec 7 12:25:26 1997
+--- Imakefile Sun Dec 7 12:26:52 1997
+***************
+*** 60,64 ****
+ -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" \@@\
+ -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" \@@\
+! -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT
+
+ XCOMM Things to try to add to the DEFINES line above:
+--- 60,65 ----
+ -DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" \@@\
+ -DLAUNCH_ATTR=\"launch=\" -DEXEC_ATTR=\"exec=\" \@@\
+! -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\
+! -D_NO_EXTERN
+
+ XCOMM Things to try to add to the DEFINES line above:
+***************
+*** 72,75 ****
+--- 73,77 ----
+ XCOMM Linux:
+ XCOMM FreeBSD:
++ XCOMM NetBSD: -D_NO_EXTERN
+ XCOMM SCO: -D_NO_EXTERN -DPRINT_CMD=\""lp -o raw -o nobanner"\"
+
+*** cutpaste.c.orig Sun Dec 7 12:25:42 1997
+--- cutpaste.c Wed Nov 26 07:35:15 1997
+***************
+*** 31,34 ****
+--- 31,38 ----
+ */
+
++ /* DAN added the following 2 lines for NetBSD-1.3 */
++ #include <unistd.h>
++ #include <stdlib.h>
++
+ #include <stdio.h>
+ #include <string.h>
diff --git a/graphics/tgif/pkg/COMMENT b/graphics/tgif/pkg/COMMENT
new file mode 100644
index 00000000000..8fdc7985bdb
--- /dev/null
+++ b/graphics/tgif/pkg/COMMENT
@@ -0,0 +1 @@
+X11 Drawing Program.
diff --git a/graphics/tgif/pkg/DESCR b/graphics/tgif/pkg/DESCR
new file mode 100644
index 00000000000..2875a691281
--- /dev/null
+++ b/graphics/tgif/pkg/DESCR
@@ -0,0 +1,6 @@
+Tgif is a X11 based drawing program. It is based on Xlib
+and does not require Motif.
+
+Tgif is a full featured program including the ability to
+export (from the menu or command line) PS and EPSF files.
+In addition libraries of symbols can be created for reuse.
diff --git a/graphics/tgif/pkg/PLIST b/graphics/tgif/pkg/PLIST
new file mode 100644
index 00000000000..9b8fea09830
--- /dev/null
+++ b/graphics/tgif/pkg/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 1998/03/29 22:16:37 tron Exp $
+bin/tgif
+bin/prtgif
+lib/X11/tgif/tgif.Xdefaults
+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
+man/cat1/prtgif.0
+man/cat1/tgif.0
+@dirrm lib/X11/tgif