summaryrefslogtreecommitdiff
path: root/graphics/fly
diff options
context:
space:
mode:
authorbouyer <bouyer>1998-04-28 15:00:51 +0000
committerbouyer <bouyer>1998-04-28 15:00:51 +0000
commitf43713b80645d7730c9add7c3048d3fafe6daff3 (patch)
tree3c7822a77f475f68b16051a7339450b0bab6ce75 /graphics/fly
parentfd3238d6cb9bbd1ef66f73760a3811e1416ad9b9 (diff)
downloadpkgsrc-f43713b80645d7730c9add7c3048d3fafe6daff3.tar.gz
fly, a command-file interface for creating and modifying GIF images.
Diffstat (limited to 'graphics/fly')
-rw-r--r--graphics/fly/Makefile20
-rw-r--r--graphics/fly/files/md51
-rw-r--r--graphics/fly/patches/patch-aa35
-rw-r--r--graphics/fly/pkg/COMMENT1
-rw-r--r--graphics/fly/pkg/DESCR8
-rw-r--r--graphics/fly/pkg/PLIST15
6 files changed, 80 insertions, 0 deletions
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