From 1daad295616cd983fdd8518c67ddf1e61b7b1ccf Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 3 Apr 1999 01:42:08 +0000 Subject: Import of tgd version 1.2c. A text based tool for creating and manipulating GIF images PR: 10210 Submitted by: Michael Haro --- graphics/tgd/Makefile | 34 ++++++++++++++++++++++++++++++++++ graphics/tgd/distinfo | 1 + graphics/tgd/files/patch-aa | 25 +++++++++++++++++++++++++ graphics/tgd/pkg-comment | 1 + graphics/tgd/pkg-descr | 7 +++++++ graphics/tgd/pkg-plist | 25 +++++++++++++++++++++++++ 6 files changed, 93 insertions(+) create mode 100644 graphics/tgd/Makefile create mode 100644 graphics/tgd/distinfo create mode 100644 graphics/tgd/files/patch-aa create mode 100644 graphics/tgd/pkg-comment create mode 100644 graphics/tgd/pkg-descr create mode 100644 graphics/tgd/pkg-plist (limited to 'graphics') 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 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 -- cgit