diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gd/Makefile | 22 | ||||
-rw-r--r-- | graphics/gd/files/md5 | 1 | ||||
-rw-r--r-- | graphics/gd/patches/patch-aa | 27 | ||||
-rw-r--r-- | graphics/gd/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/gd/pkg/COMMENT | 1 | ||||
-rw-r--r-- | graphics/gd/pkg/DESCR | 19 | ||||
-rw-r--r-- | graphics/gd/pkg/PLIST | 14 |
7 files changed, 97 insertions, 0 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile new file mode 100644 index 00000000000..ddf6dbcb67b --- /dev/null +++ b/graphics/gd/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: gd +# Version required: 1.2 +# Date created: 28 Jan 1997 +# Whom: jeff@cetlink.net +# +# $NetBSD: Makefile,v 1.1.1.1 1998/03/07 21:59:13 explorer Exp $ +# $FreeBSD Id: Makefile,v 1.2 1997/02/14 07:55:45 asami Exp $ +# + +DISTNAME= gd1.2 +PKGNAME= gd-1.2 +CATEGORIES= graphics +MASTER_SITES= http://www.boutell.com/gd/ +EXTRACT_SUFX= .tar.Z + +MAINTAINER= packages@netbsd.org + +pre-install: + ${MKDIR} ${PREFIX}/include/gd + ${MKDIR} ${PREFIX}/share/examples/gd + +.include <bsd.port.mk> diff --git a/graphics/gd/files/md5 b/graphics/gd/files/md5 new file mode 100644 index 00000000000..6e80870c886 --- /dev/null +++ b/graphics/gd/files/md5 @@ -0,0 +1 @@ +MD5 (gd1.2.tar.Z) = 7c703fca9a78d3468d363334adc9b54c diff --git a/graphics/gd/patches/patch-aa b/graphics/gd/patches/patch-aa new file mode 100644 index 00000000000..2ea8dcf967b --- /dev/null +++ b/graphics/gd/patches/patch-aa @@ -0,0 +1,27 @@ +--- Makefile.orig Tue Aug 8 14:28:27 1995 ++++ Makefile Sat Jun 14 18:19:04 1997 +@@ -7,9 +7,9 @@ + #If the ar command fails on your system, consult the ar manpage + #for your system. + +-CC=gcc +-AR=ar +-CFLAGS=-O ++#CC=gcc ++#AR=ar ++#CFLAGS=-O + LIBS=-L./ -lgd -lm + + all: libgd.a gddemo giftogd webgif +@@ -32,3 +32,11 @@ + clean: + rm -f *.o *.a gddemo giftogd + ++install: ++ install -cs -o bin -g bin gddemo giftogd webgif ${PREFIX}/bin ++ install -c -o bin -g bin libgd.a ${PREFIX}/lib ++ install -c -o bin -g bin gd.h gdfonts.h ${PREFIX}/include/gd ++ install -c -o bin -g bin gdfontt.h gdfontmb.h ${PREFIX}/include/gd ++ install -c -o bin -g bin gdfontl.h gdfontg.h ${PREFIX}/include/gd ++ install -c -o bin -g bin index.html ${PREFIX}/share/examples/gd ++ install -c -o bin -g bin demoin.gif ${PREFIX}/share/examples/gd diff --git a/graphics/gd/patches/patch-ab b/graphics/gd/patches/patch-ab new file mode 100644 index 00000000000..1fbbfbeb264 --- /dev/null +++ b/graphics/gd/patches/patch-ab @@ -0,0 +1,13 @@ +*** gd.c.dist Tue Jan 28 14:39:24 1997 +--- gd.c Tue Jan 28 14:39:42 1997 +*************** +*** 1,4 **** +! #include <malloc.h> + #include <stdio.h> + #include <math.h> + #include <string.h> +--- 1,4 ---- +! #include <stdlib.h> + #include <stdio.h> + #include <math.h> + #include <string.h> diff --git a/graphics/gd/pkg/COMMENT b/graphics/gd/pkg/COMMENT new file mode 100644 index 00000000000..c3e4e57602e --- /dev/null +++ b/graphics/gd/pkg/COMMENT @@ -0,0 +1 @@ +A graphics library for fast GIF creation diff --git a/graphics/gd/pkg/DESCR b/graphics/gd/pkg/DESCR new file mode 100644 index 00000000000..af2ca1fb24a --- /dev/null +++ b/graphics/gd/pkg/DESCR @@ -0,0 +1,19 @@ +DESCRIPTION + gd is a graphics library. It allows your code to quickly draw images + complete with lines, arcs, text, multiple colors, cut and paste from + other images, and flood fills, and write out the result as a .GIF file. + This is particularly useful in World Wide Web applications, where .GIF + is the format used for inline images. + + gd is not a paint program. If you are looking for a paint program, try + xpaint by David Koblas, available by anonymous FTP from ftp.netcom.com + in pub/ko/koblas. (That package is for the X Window System; for the Mac + and the PC, paint programs are considerably easier to find.) + + gd does not provide for every possible desirable graphics operation. It + is not necessary or desirable for gd to become a kitchen-sink graphics + package, but version 1.2 incorporates most of the commonly requested + features for a 2D package. +AUTHOR + gd 1.2 was written by Thomas Boutell and is currently distributed by + boutell.com, Inc. diff --git a/graphics/gd/pkg/PLIST b/graphics/gd/pkg/PLIST new file mode 100644 index 00000000000..20dd72e9d3f --- /dev/null +++ b/graphics/gd/pkg/PLIST @@ -0,0 +1,14 @@ +bin/gddemo +bin/giftogd +bin/webgif +include/gd/gd.h +include/gd/gdfontg.h +include/gd/gdfontl.h +include/gd/gdfontmb.h +include/gd/gdfonts.h +include/gd/gdfontt.h +lib/libgd.a +share/examples/gd/demoin.gif +share/examples/gd/index.html +@dirrm include/gd +@dirrm share/examples/gd |