From 7ab1d38b5b5cce34ba15d0a68498d8ddbd434841 Mon Sep 17 00:00:00 2001 From: bouyer Date: Tue, 28 Apr 1998 15:00:51 +0000 Subject: fly, a command-file interface for creating and modifying GIF images. --- graphics/fly/Makefile | 20 ++++++++++++++++++++ graphics/fly/files/md5 | 1 + graphics/fly/patches/patch-aa | 35 +++++++++++++++++++++++++++++++++++ graphics/fly/pkg/COMMENT | 1 + graphics/fly/pkg/DESCR | 8 ++++++++ graphics/fly/pkg/PLIST | 15 +++++++++++++++ 6 files changed, 80 insertions(+) create mode 100644 graphics/fly/Makefile create mode 100644 graphics/fly/files/md5 create mode 100644 graphics/fly/patches/patch-aa create mode 100644 graphics/fly/pkg/COMMENT create mode 100644 graphics/fly/pkg/DESCR create mode 100644 graphics/fly/pkg/PLIST (limited to 'graphics/fly') diff --git a/graphics/fly/Makefile b/graphics/fly/Makefile new file mode 100644 index 00000000000..b36f2fe4458 --- /dev/null +++ b/graphics/fly/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 1998/04/28 15:00:51 bouyer Exp $ +# + +DISTNAME= fly-1.6.0 +CATEGORIES= www +MASTER_SITES= ftp://www.unimelb.edu.au/pub/www/tools/unix/fly/ + +MAINTAINER= bouyer@netbsd.org + +DEPENDS+= gd-1.3:../../graphics/gd + +pre-install: + ${MKDIR} ${PREFIX}/share/doc/fly + ${MKDIR} ${PREFIX}/share/examples/fly +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/fly + ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/fly + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/fly/files/md5 b/graphics/fly/files/md5 new file mode 100644 index 00000000000..74222c478c8 --- /dev/null +++ b/graphics/fly/files/md5 @@ -0,0 +1 @@ +MD5 (fly-1.6.0.tar.gz) = 16cd2d41d18e9ae0d9302a493e1bee74 diff --git a/graphics/fly/patches/patch-aa b/graphics/fly/patches/patch-aa new file mode 100644 index 00000000000..5d215a1beac --- /dev/null +++ b/graphics/fly/patches/patch-aa @@ -0,0 +1,35 @@ +--- Makefile.orig Tue Apr 28 15:57:25 1998 ++++ Makefile Tue Apr 28 16:25:55 1998 +@@ -4,19 +4,19 @@ + # If you already have gd installed, use the line below and comment out the + # following line + # GD = /path/to/gd/directory +- GD = gd1.3 +- CC = gcc +- CFLAGS = -O -I$(GD) ++# GD = gd1.3 ++# CC = gcc ++# CFLAGS = -O + # CFLAGS = -O -Olimit 2096 -pedantic -I$(GD) +- LIBS = -L$(GD) -lgd -lm ++ LIBS = -L$(PREFIX)/lib -lgd -lm + +-all: gd fly ++all: fly + +-gd: $(GD) +- cd $(GD); make ++#gd: $(GD) ++# cd $(GD); make + + fly.o: fly.c fly.h +- $(CC) -c $(CFLAGS) fly.c ++ $(CC) -c -I$(PREFIX)/include/gd $(CFLAGS) fly.c + + fly: fly.o + $(CC) -o fly fly.o $(LIBS) +@@ -26,4 +26,3 @@ + + clean: + rm -f fly.o fly temp.gif core; cd $(GD); make clean; +- diff --git a/graphics/fly/pkg/COMMENT b/graphics/fly/pkg/COMMENT new file mode 100644 index 00000000000..b9f9f119c6a --- /dev/null +++ b/graphics/fly/pkg/COMMENT @@ -0,0 +1 @@ +A command-file interface for creating and modifying GIF images. diff --git a/graphics/fly/pkg/DESCR b/graphics/fly/pkg/DESCR new file mode 100644 index 00000000000..b01c93c97b3 --- /dev/null +++ b/graphics/fly/pkg/DESCR @@ -0,0 +1,8 @@ +DESCRIPTION + fly is a C program that creates GIF images on the fly from CGI and + other programs. Using Thomas Boutell's gd graphics library for fast + GIF creation, it provides a command-file interface for creating and + modifying GIF images. + +AUTHOR + Martin Gleeson, gleeson@unimelb.edu.au. diff --git a/graphics/fly/pkg/PLIST b/graphics/fly/pkg/PLIST new file mode 100644 index 00000000000..4d423e0380f --- /dev/null +++ b/graphics/fly/pkg/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1 1998/04/28 15:00:52 bouyer Exp $ +bin/fly +share/doc/fly/example.gif +share/doc/fly/fly.html +share/doc/fly/new.gif +share/doc/fly/valid_html.gif +share/examples/fly/cgi-perl-example.pl +share/examples/fly/csh.example +share/examples/fly/perl.example +share/examples/fly/size.pl +share/examples/fly/small-end.fly +share/examples/fly/small.fly +share/examples/fly/test.fly +@dirrm share/examples/fly +@dirrm share/doc/fly -- cgit v1.2.3