aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-04-03 09:42:08 +0800
committersteve <steve@FreeBSD.org>1999-04-03 09:42:08 +0800
commit1daad295616cd983fdd8518c67ddf1e61b7b1ccf (patch)
tree9702a3dc011c4eb33fb2ce96652b76005f47ae3b /graphics
parentf0f920c6355709261bd071ec01e65f5ab44acd4c (diff)
downloadfreebsd-ports-gnome-1daad295616cd983fdd8518c67ddf1e61b7b1ccf.tar.gz
freebsd-ports-gnome-1daad295616cd983fdd8518c67ddf1e61b7b1ccf.tar.zst
freebsd-ports-gnome-1daad295616cd983fdd8518c67ddf1e61b7b1ccf.zip
Import of tgd version 1.2c.
A text based tool for creating and manipulating GIF images PR: 10210 Submitted by: Michael Haro <mharo@area51.fremont.ca.us>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tgd/Makefile34
-rw-r--r--graphics/tgd/distinfo1
-rw-r--r--graphics/tgd/files/patch-aa25
-rw-r--r--graphics/tgd/pkg-comment1
-rw-r--r--graphics/tgd/pkg-descr7
-rw-r--r--graphics/tgd/pkg-plist25
6 files changed, 93 insertions, 0 deletions
diff --git a/graphics/tgd/Makefile b/graphics/tgd/Makefile
new file mode 100644
index 000000000000..1137321c575e
--- /dev/null
+++ b/graphics/tgd/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: tgd
+# Version required: 1.2c
+# Date created: 22 February 1999
+# Whom: mharo@area51.fremont.ca.us
+#
+# $Id$
+#
+
+DISTNAME= tgd1.2c
+PKGNAME= tgd-1.2c
+CATEGORIES= graphics
+MASTER_SITES= ftp://dendrome.ucdavis.edu/pub/tgd/ \
+ ftp://probe.nalusda.gov/pub/treegenes/
+
+MAINTAINER= mharo@area51.fremont.ca.us
+
+BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
+
+ALL_TARGET= tgd
+DOCS= README arc.gif cap.gif char.gif fill.gif fontdemo \
+ fontdemo.gif gd.html gifcap.pl helloworld.gif \
+ helloworld.pl keygifcap.gif keypad.gif keypad.html \
+ keypad.inp keypad.map keypad.pl poly.gif polydemo \
+ rainbow.gif rainbow.pl tgd.gif tgd.html
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tgd ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} -m 755 ${PREFIX}/share/doc/tgd
+.for file in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/tgd
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/tgd/distinfo b/graphics/tgd/distinfo
new file mode 100644
index 000000000000..0f56a473cb05
--- /dev/null
+++ b/graphics/tgd/distinfo
@@ -0,0 +1 @@
+MD5 (tgd1.2c.tar.gz) = 17842473dee8bb1f1cd09e68fd137f6a
diff --git a/graphics/tgd/files/patch-aa b/graphics/tgd/files/patch-aa
new file mode 100644
index 000000000000..66f474bdf916
--- /dev/null
+++ b/graphics/tgd/files/patch-aa
@@ -0,0 +1,25 @@
+--- Makefile.orig Mon Feb 22 09:40:53 1999
++++ Makefile Mon Feb 22 09:47:40 1999
+@@ -26,11 +26,10 @@
+ #
+ PROG = tgd
+ HOME = .
+-GDHOME = $(HOME)/gd1.2
+ CC = gcc
+ CDEFS =
+-INCLUDE = -I$(HOME) -I$(GDHOME)
+-GDLIB = $(GDHOME)/libgd.a
++INCLUDE = -I$(HOME) -I/usr/local/include/gd
++GDLIB = /usr/local/lib/libgd.a
+ #
+ # Some debugging/profiling options
+ # CFLAGS = -p $(CDEFS) $(INCLUDE)
+@@ -43,7 +42,7 @@
+ CFLAGS = $(CDEFS) $(INCLUDE)
+ LDFLAGS =
+
+-LDLIBS = -L$(GDHOME) -lgd -lm
++LDLIBS = -L/usr/local/lib -lgd -lm
+ MAKEFILE = Makefile
+ FONT1 = tgdFont10x20.c tgdFont12x24.c tgdFont5x8.c tgdFont6x10.c
+ FONT2 = tgdFont6x12.c tgdFont6x13.c tgdFont6x13bold.c tgdFont6x9.c
diff --git a/graphics/tgd/pkg-comment b/graphics/tgd/pkg-comment
new file mode 100644
index 000000000000..2d79c35d13fe
--- /dev/null
+++ b/graphics/tgd/pkg-comment
@@ -0,0 +1 @@
+A text based tool for creating and manipulating GIF images
diff --git a/graphics/tgd/pkg-descr b/graphics/tgd/pkg-descr
new file mode 100644
index 000000000000..82787257095c
--- /dev/null
+++ b/graphics/tgd/pkg-descr
@@ -0,0 +1,7 @@
+tgd reads text files and writes GIF files. Typically, in a Unix
+environment, it would be at the end of a pipe: my_program | tgd. It
+can also be invoked on a file: tgd my_text_file. By using the special
+file handle stdout, it can be used in WWW applications to push images
+to a browser. It was born out of a desire to learn the gd graphics
+library and Perl simultaneously (but it can be used with any scripting
+language).
diff --git a/graphics/tgd/pkg-plist b/graphics/tgd/pkg-plist
new file mode 100644
index 000000000000..f3981c16abb4
--- /dev/null
+++ b/graphics/tgd/pkg-plist
@@ -0,0 +1,25 @@
+bin/tgd
+share/doc/tgd/README
+share/doc/tgd/arc.gif
+share/doc/tgd/cap.gif
+share/doc/tgd/char.gif
+share/doc/tgd/fill.gif
+share/doc/tgd/fontdemo
+share/doc/tgd/fontdemo.gif
+share/doc/tgd/gd.html
+share/doc/tgd/gifcap.pl
+share/doc/tgd/helloworld.gif
+share/doc/tgd/helloworld.pl
+share/doc/tgd/keygifcap.gif
+share/doc/tgd/keypad.gif
+share/doc/tgd/keypad.html
+share/doc/tgd/keypad.inp
+share/doc/tgd/keypad.map
+share/doc/tgd/keypad.pl
+share/doc/tgd/poly.gif
+share/doc/tgd/polydemo
+share/doc/tgd/rainbow.gif
+share/doc/tgd/rainbow.pl
+share/doc/tgd/tgd.gif
+share/doc/tgd/tgd.html
+@dirrm share/doc/tgd