summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc>1997-10-06 13:29:36 +0000
committeragc <agc>1997-10-06 13:29:36 +0000
commit1e8b52c7c95d625964bf78487d2be138a475139f (patch)
tree5058c5ead6fe4cc247b8c2e431718236fdc520d6 /graphics
parent292f0929f32853f8ee2304be9ee760652017d66e (diff)
downloadpkgsrc-1e8b52c7c95d625964bf78487d2be138a475139f.tar.gz
Initial import of FreeBSD graphics ports into the NetBSD packages
system.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile70
-rw-r--r--graphics/jpeg/Makefile22
-rw-r--r--graphics/jpeg/files/md51
-rw-r--r--graphics/jpeg/patches/patch-aa146
-rw-r--r--graphics/jpeg/pkg/COMMENT1
-rw-r--r--graphics/jpeg/pkg/DESCR20
-rw-r--r--graphics/jpeg/pkg/PLIST18
-rw-r--r--graphics/png/Makefile22
-rw-r--r--graphics/png/files/md51
-rw-r--r--graphics/png/patches/patch-aa96
-rw-r--r--graphics/png/pkg/COMMENT1
-rw-r--r--graphics/png/pkg/DESCR8
-rw-r--r--graphics/png/pkg/PLIST6
-rw-r--r--graphics/tiff/Makefile41
-rw-r--r--graphics/tiff/files/md51
-rw-r--r--graphics/tiff/patches/patch-aa98
-rw-r--r--graphics/tiff/patches/patch-ab62
-rw-r--r--graphics/tiff/patches/patch-ac52
-rw-r--r--graphics/tiff/patches/patch-ad64
-rw-r--r--graphics/tiff/patches/patch-ae18
-rw-r--r--graphics/tiff/patches/patch-af12
-rw-r--r--graphics/tiff/patches/patch-ag28
-rw-r--r--graphics/tiff/pkg/COMMENT1
-rw-r--r--graphics/tiff/pkg/DESCR10
-rw-r--r--graphics/tiff/pkg/PLIST71
-rw-r--r--graphics/xpm/Makefile18
-rw-r--r--graphics/xpm/files/md51
-rw-r--r--graphics/xpm/pkg/COMMENT1
-rw-r--r--graphics/xpm/pkg/DESCR18
-rw-r--r--graphics/xpm/pkg/PLIST7
30 files changed, 915 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
new file mode 100644
index 00000000000..fc807d06dc5
--- /dev/null
+++ b/graphics/Makefile
@@ -0,0 +1,70 @@
+# FreeBSD Id: Makefile,v 1.53 1997/09/28 13:25:40 markm Exp
+#
+
+ SUBDIR += ImageMagick
+ SUBDIR += Mesa
+ SUBDIR += aero
+ SUBDIR += camediaplay
+ SUBDIR += dc3play
+ SUBDIR += dore
+ SUBDIR += fxtv
+ SUBDIR += gd
+ SUBDIR += geomview
+ SUBDIR += gfont
+ SUBDIR += giflib
+ SUBDIR += gifmerge
+ SUBDIR += giftool
+ SUBDIR += giftrans
+ SUBDIR += gimp
+ SUBDIR += gimp-devel
+ SUBDIR += hobbes-icons-xpm
+ SUBDIR += hpscan
+ SUBDIR += imlib
+ SUBDIR += jbigkit
+ SUBDIR += jpeg
+ SUBDIR += mpeg-lib
+ SUBDIR += mpeg2codec
+ SUBDIR += mpeg2play
+ SUBDIR += mpeg_encode
+ SUBDIR += mpeg_play
+ SUBDIR += mpeg_stat
+ SUBDIR += mpegedit
+ SUBDIR += mplex
+ SUBDIR += netpbm
+ SUBDIR += p5-GD
+ SUBDIR += p5-Image-Size
+ SUBDIR += pgperl
+ SUBDIR += pgplot
+ SUBDIR += pixmap
+ SUBDIR += plotmtv
+ SUBDIR += png
+ SUBDIR += povray
+ SUBDIR += qvplay
+ SUBDIR += sced
+ SUBDIR += spigot
+ SUBDIR += splitmpg
+ SUBDIR += tgif
+ SUBDIR += tiff
+ SUBDIR += tiff34
+ SUBDIR += txtmerge
+ SUBDIR += urt
+ SUBDIR += vcg
+ SUBDIR += whirlgif
+ SUBDIR += xanim
+ SUBDIR += xaos
+ SUBDIR += xbmbrowser
+ SUBDIR += xdl
+ SUBDIR += xfig
+ SUBDIR += xfractint
+ SUBDIR += xgrasp
+ SUBDIR += xli
+ SUBDIR += xmandel
+ SUBDIR += xmfract
+ SUBDIR += xmorph
+ SUBDIR += xmountains
+ SUBDIR += xpaint
+ SUBDIR += xpdf
+ SUBDIR += xpm
+ SUBDIR += xv
+
+.include <bsd.port.subdir.mk>
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile
new file mode 100644
index 00000000000..41436d0d890
--- /dev/null
+++ b/graphics/jpeg/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: jpeg
+# Version required: 6a
+# Date created: 6 November 1994
+# Whom: smace
+#
+# FreeBSD Id: Makefile,v 1.14 1997/07/17 15:12:43 max Exp
+#
+
+DISTNAME= jpegsrc.v6a
+PKGNAME= jpeg-6a
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.uu.net/graphics/jpeg/
+
+WRKSRC= ${WRKDIR}/jpeg-6a
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install install-lib
+MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
+
+post-install:
+ ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/graphics/jpeg/files/md5 b/graphics/jpeg/files/md5
new file mode 100644
index 00000000000..7c4c650e5e8
--- /dev/null
+++ b/graphics/jpeg/files/md5
@@ -0,0 +1 @@
+MD5 (jpegsrc.v6a.tar.gz) = 5360e0aa47b415daa44623196f7e6160
diff --git a/graphics/jpeg/patches/patch-aa b/graphics/jpeg/patches/patch-aa
new file mode 100644
index 00000000000..734d06528aa
--- /dev/null
+++ b/graphics/jpeg/patches/patch-aa
@@ -0,0 +1,146 @@
+*** makefile.cfg.orig Tue Jul 25 03:07:32 1995
+--- makefile.cfg Wed Oct 4 05:50:21 1995
+***************
+*** 115,121 ****
+ TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o
+
+
+! all: @ANSI2KNR@ libjpeg.a cjpeg djpeg jpegtran rdjpgcom wrjpgcom
+
+ # This rule causes ansi2knr to be invoked.
+ @ISANSICOM@.c.o:
+--- 115,121 ----
+ TROBJECTS= jpegtran.o rdswitch.o cdjpeg.o
+
+
+! all: @ANSI2KNR@ libjpeg.a libjpeg.so.7.0 cjpeg djpeg jpegtran rdjpgcom wrjpgcom
+
+ # This rule causes ansi2knr to be invoked.
+ @ISANSICOM@.c.o:
+***************
+*** 124,129 ****
+--- 124,134 ----
+ @ISANSICOM@ $(RM) T$*.c $*.o
+ @ISANSICOM@ $(MV) T$*.o $*.o
+
++ .SUFFIXES: .c .so .o
++
++ .c.so:
++ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
++
+ ansi2knr: ansi2knr.c
+ $(CC) $(CFLAGS) $(ANSI2KNRFLAGS) -o ansi2knr ansi2knr.c
+
+***************
+*** 132,145 ****
+ $(AR) libjpeg.a $(LIBOBJECTS)
+ $(AR2) libjpeg.a
+
+! cjpeg: $(COBJECTS) libjpeg.a
+! $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.a $(LDLIBS)
+
+! djpeg: $(DOBJECTS) libjpeg.a
+! $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.a $(LDLIBS)
+
+! jpegtran: $(TROBJECTS) libjpeg.a
+! $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.a $(LDLIBS)
+
+ rdjpgcom: rdjpgcom.o
+ $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
+--- 137,153 ----
+ $(AR) libjpeg.a $(LIBOBJECTS)
+ $(AR2) libjpeg.a
+
+! libjpeg.so.7.0: @ANSI2KNR@ $(LIBOBJECTS:S/o$/so/g)
+! ld -Bshareable -o libjpeg.so.7.0 $(LIBOBJECTS:S/o$/so/g)
+!
+! cjpeg: $(COBJECTS) libjpeg.so.7.0
+! $(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) -L. -ljpeg $(LDLIBS)
+
+! djpeg: $(DOBJECTS) libjpeg.so.7.0
+! $(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) -L. -ljpeg $(LDLIBS)
+
+! jpegtran: $(TROBJECTS) libjpeg.so.7.0
+! $(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) -L. -ljpeg $(LDLIBS)
+
+ rdjpgcom: rdjpgcom.o
+ $(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.o $(LDLIBS)
+***************
+*** 164,171 ****
+ $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
+ $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
+
+! install-lib: libjpeg.a install-headers
+ $(INSTALL_DATA) libjpeg.a $(libdir)/$(binprefix)libjpeg.a
+
+ install-headers: jconfig.h
+ $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
+--- 172,181 ----
+ $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
+ $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
+
+! install-lib: libjpeg.a libjpeg.so.7.0 install-headers
+! $(INSTALL_DATA) libjpeg.so.7.0 $(libdir)/$(binprefix)libjpeg.so.7.0
+ $(INSTALL_DATA) libjpeg.a $(libdir)/$(binprefix)libjpeg.a
++ ranlib $(libdir)/$(binprefix)libjpeg.a
+
+ install-headers: jconfig.h
+ $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
+***************
+*** 202,207 ****
+--- 212,266 ----
+ # GNU Make likes to know which target names are not really files to be made:
+ .PHONY: all install install-lib install-headers clean distribute test check
+
++ jcapimin.so: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcapistd.so: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jccoefct.so: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jccolor.so: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcdctmgr.so: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jchuff.so: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
++ jcinit.so: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcmainct.so: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcmarker.so: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcmaster.so: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcomapi.so: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcparam.so: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcphuff.so: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
++ jcprepct.so: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jcsample.so: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jctrans.so: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdapimin.so: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdapistd.so: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdatadst.so: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
++ jdatasrc.so: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
++ jdcoefct.so: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdcolor.so: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jddctmgr.so: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jdhuff.so: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
++ jdinput.so: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdmainct.so: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdmarker.so: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdmaster.so: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdmerge.so: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdphuff.so: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
++ jdpostct.so: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdsample.so: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jdtrans.so: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jerror.so: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
++ jfdctflt.so: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jfdctfst.so: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jfdctint.so: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jidctflt.so: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jidctfst.so: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jidctint.so: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jidctred.so: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
++ jquant1.so: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jquant2.so: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jutils.so: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
++ jmemmgr.so: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
++ jmemansi.so: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
++ jmemname.so: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
++ jmemnobs.so: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
++ jmemdos.so: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
+
+ jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
diff --git a/graphics/jpeg/pkg/COMMENT b/graphics/jpeg/pkg/COMMENT
new file mode 100644
index 00000000000..346b918b514
--- /dev/null
+++ b/graphics/jpeg/pkg/COMMENT
@@ -0,0 +1 @@
+IJG's jpeg compression utilities.
diff --git a/graphics/jpeg/pkg/DESCR b/graphics/jpeg/pkg/DESCR
new file mode 100644
index 00000000000..a804f2ad48d
--- /dev/null
+++ b/graphics/jpeg/pkg/DESCR
@@ -0,0 +1,20 @@
+The Independent JPEG Group's JPEG software
+==========================================
+
+README for release 6 of 2-Aug-95
+================================
+
+This distribution contains the sixth public release of the Independent JPEG
+Group's free JPEG software. You are welcome to redistribute this software and
+to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
+
+Serious users of this software (particularly those incorporating it into
+larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to
+our electronic mailing list. Mailing list members are notified of updates
+and have a chance to participate in technical discussions, etc.
+
+This software is the work of Tom Lane, Philip Gladstone, Luis Ortiz, Jim
+Boucher, Lee Crocker, Julian Minguillon, George Phillips, Davide Rossi,
+Ge' Weijers, and other members of the Independent JPEG Group.
+
+IJG is not affiliated with the official ISO JPEG standards committee.
diff --git a/graphics/jpeg/pkg/PLIST b/graphics/jpeg/pkg/PLIST
new file mode 100644
index 00000000000..90496fbaba5
--- /dev/null
+++ b/graphics/jpeg/pkg/PLIST
@@ -0,0 +1,18 @@
+bin/cjpeg
+bin/djpeg
+bin/jpegtran
+bin/rdjpgcom
+bin/wrjpgcom
+man/man1/cjpeg.1.gz
+man/man1/djpeg.1.gz
+man/man1/jpegtran.1.gz
+man/man1/rdjpgcom.1.gz
+man/man1/wrjpgcom.1.gz
+include/jconfig.h
+include/jpeglib.h
+include/jmorecfg.h
+include/jerror.h
+lib/libjpeg.so.7.0
+@exec /sbin/ldconfig -m %B
+lib/libjpeg.a
+@exec ranlib %D/%F
diff --git a/graphics/png/Makefile b/graphics/png/Makefile
new file mode 100644
index 00000000000..f5a7d796b9f
--- /dev/null
+++ b/graphics/png/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: PNG images library
+# Version required: 0.96
+# Date created: 5 Dec 1995
+# Whom: ache
+#
+# FreeBSD Id: Makefile,v 1.10 1997/07/17 15:12:44 max Exp
+#
+
+DISTNAME= libpng-0.96
+PKGNAME= png-0.96
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.uu.net/graphics/png/src/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ache@FreeBSD.org
+
+MAKEFILE= makefile
+
+post-install:
+ ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/graphics/png/files/md5 b/graphics/png/files/md5
new file mode 100644
index 00000000000..66b78d23b27
--- /dev/null
+++ b/graphics/png/files/md5
@@ -0,0 +1 @@
+MD5 (libpng-0.96.tgz) = 285eac49f334e8c82a7dad41c2850115
diff --git a/graphics/png/patches/patch-aa b/graphics/png/patches/patch-aa
new file mode 100644
index 00000000000..c2d5b37f33a
--- /dev/null
+++ b/graphics/png/patches/patch-aa
@@ -0,0 +1,96 @@
+*** makefile.orig Fri May 16 10:53:30 1997
+--- makefile Tue Jun 24 16:53:47 1997
+***************
+*** 5,33 ****
+ # Where the zlib library and include files are located
+ #ZLIBLIB=/usr/local/lib
+ #ZLIBINC=/usr/local/include
+! ZLIBLIB=../zlib
+! ZLIBINC=../zlib
+
+! CC=cc
+! CFLAGS=-I$(ZLIBINC) -O # -g -DPNG_DEBUG=1
+! LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm
+
+ #RANLIB=echo
+ RANLIB=ranlib
+
+ # where make install puts libpng.a and png.h
+! prefix=/usr/local
+
+ OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
+ pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
+ pngwtran.o pngmem.o pngerror.o pngpread.o
+
+! all: libpng.a pngtest
+
+ libpng.a: $(OBJS)
+ ar rc $@ $(OBJS)
+ $(RANLIB) $@
+
+ pngtest: pngtest.o libpng.a
+ $(CC) -o pngtest $(CCFLAGS) pngtest.o $(LDFLAGS)
+
+--- 5,42 ----
+ # Where the zlib library and include files are located
+ #ZLIBLIB=/usr/local/lib
+ #ZLIBINC=/usr/local/include
+! #ZLIBLIB=../zlib
+! #ZLIBINC=../zlib
+
+! VER=0.96
+! #CC=cc
+! #CFLAGS=-I$(ZLIBINC) -O # -g -DPNG_DEBUG=1
+! LDFLAGS=-L. -lpng -lz -lm -static
+
+ #RANLIB=echo
+ RANLIB=ranlib
+
+ # where make install puts libpng.a and png.h
+! prefix=${PREFIX}
+
+ OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
+ pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
+ pngwtran.o pngmem.o pngerror.o pngpread.o
+
+! .SUFFIXES: .c .so .o
+!
+! .c.so:
+! ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
+!
+! all: libpng.a libpng.so.${VER}
+
+ libpng.a: $(OBJS)
+ ar rc $@ $(OBJS)
+ $(RANLIB) $@
+
++ libpng.so.${VER}: $(OBJS:S/o$/so/g)
++ ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text -o $@ $(OBJS:S/o$/so/g) -lz
++
+ pngtest: pngtest.o libpng.a
+ $(CC) -o pngtest $(CCFLAGS) pngtest.o $(LDFLAGS)
+
+***************
+*** 37,48 ****
+ install: libpng.a
+ -@mkdir $(prefix)/include
+ -@mkdir $(prefix)/lib
+! cp png.h $(prefix)/include
+! cp pngconf.h $(prefix)/include
+! chmod 644 $(prefix)/include/png.h
+! chmod 644 $(prefix)/include/pngconf.h
+! cp libpng.a $(prefix)/lib
+! chmod 644 $(prefix)/lib/libpng.a
+
+ clean:
+ rm -f *.o libpng.a pngtest pngout.png
+--- 46,54 ----
+ install: libpng.a
+ -@mkdir $(prefix)/include
+ -@mkdir $(prefix)/lib
+! ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} png.h pngconf.h $(prefix)/include
+! ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} libpng.a libpng.so.${VER} $(prefix)/lib
+! ranlib $(prefix)/lib/libpng.a
+
+ clean:
+ rm -f *.o libpng.a pngtest pngout.png
diff --git a/graphics/png/pkg/COMMENT b/graphics/png/pkg/COMMENT
new file mode 100644
index 00000000000..76e53324204
--- /dev/null
+++ b/graphics/png/pkg/COMMENT
@@ -0,0 +1 @@
+Library for manipulating PNG images.
diff --git a/graphics/png/pkg/DESCR b/graphics/png/pkg/DESCR
new file mode 100644
index 00000000000..892185cf4c3
--- /dev/null
+++ b/graphics/png/pkg/DESCR
@@ -0,0 +1,8 @@
+Libpng was written as a companion to the PNG specification, as a
+way to reduce the amount of time and effort it takes to support
+the PNG file format in application programs. Most users will not
+have to modify the library significantly; advanced users may want
+to modify it more. The library was coded for both users. All
+attempts were made to make it as complete as possible, while
+keeping the code easy to understand. Currently, this library
+only supports C. Support for other languages is being considered.
diff --git a/graphics/png/pkg/PLIST b/graphics/png/pkg/PLIST
new file mode 100644
index 00000000000..b3759270e48
--- /dev/null
+++ b/graphics/png/pkg/PLIST
@@ -0,0 +1,6 @@
+include/png.h
+include/pngconf.h
+lib/libpng.a
+@exec ranlib %D/%F
+lib/libpng.so.0.96
+@exec /sbin/ldconfig -m %B
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
new file mode 100644
index 00000000000..8e2244dd429
--- /dev/null
+++ b/graphics/tiff/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: tiff
+# Version required: 3.3 beta 021
+# Date created: 14 November 1994
+# Whom: torstenb
+#
+# FreeBSD Id: Makefile,v 1.11 1997/08/29 11:40:45 tg Exp
+#
+
+DISTNAME= v3.3beta021.src
+PKGNAME= tiff-3.3
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.isri.unlv.edu/pub/mirror/tiff/ \
+ ftp://ftp.coli.uni-sb.de/pub/graphics/ \
+ ftp://ftp.funet.fi/pub/graphics/packages/tiff/
+# Original master site not keeps old versions
+# MASTER_SITES= ftp://ftp.sgi.com/graphics/tiff/
+
+NO_WRKSUBDIR= yes
+MAN1= fax2tiff.1 gif2tiff.1 pal2rgb.1 ppm2tiff.1 ras2tiff.1 \
+ rgb2ycbcr.1 sgi2tiff.1 thumbnail.1 tiff2bw.1 tiff2ps.1 \
+ tiffcmp.1 tiffcp.1 tiffdither.1 tiffdump.1 tiffgt.1 \
+ tiffinfo.1 tiffmedian.1 tiffsplit.1 tiffsv.1
+MAN3= TIFFClose.3 TIFFError.3 TIFFFlush.3 TIFFGetField.3 \
+ TIFFOpen.3 TIFFPrintDirectory.3 TIFFReadDirectory.3 \
+ TIFFReadEncodedStrip.3 TIFFReadEncodedTile.3 \
+ TIFFReadRGBAImage.3 TIFFReadRawStrip.3 TIFFReadRawTile.3 \
+ TIFFReadScanline.3 TIFFReadTile.3 TIFFSetDirectory.3 \
+ TIFFSetField.3 TIFFWarning.3 TIFFWriteDirectory.3 \
+ TIFFWriteEncodedStrip.3 TIFFWriteEncodedTile.3 \
+ TIFFWriteRawStrip.3 TIFFWriteRawTile.3 TIFFWriteScanline.3 \
+ TIFFintro.3 TIFFquery.3 TIFFsize.3 TIFFstrip.3 \
+ TIFFswab.3 TIFFtile.3
+
+pre-configure:
+ @(cd ${WRKSRC}/libtiff ; ln -s Makefile.gcc Makefile)
+ @(cd ${WRKSRC}/tools ; ln -s Makefile.sun Makefile)
+
+post-install:
+ ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/graphics/tiff/files/md5 b/graphics/tiff/files/md5
new file mode 100644
index 00000000000..53d19b18557
--- /dev/null
+++ b/graphics/tiff/files/md5
@@ -0,0 +1 @@
+MD5 (v3.3beta021.src.tar.gz) = 4c54a18c7bfadbc4fcce98a38b779087
diff --git a/graphics/tiff/patches/patch-aa b/graphics/tiff/patches/patch-aa
new file mode 100644
index 00000000000..a3223590372
--- /dev/null
+++ b/graphics/tiff/patches/patch-aa
@@ -0,0 +1,98 @@
+*** libtiff/Makefile.gcc.orig Fri Sep 30 03:01:24 1994
+--- libtiff/Makefile.gcc Wed Oct 4 04:28:20 1995
+***************
+*** 26,43 ****
+ #
+ # This Makefile is for use with gcc (2.2.2 or later)
+ #
+! DESTDIR=.
+ #
+ AR= ar
+ RANLIB= ranlib
+ NULL=
+
+ IPATH= -I.
+ CONF_LIBRARY=\
+ ${NULL}
+! CC= gcc
+! COPTS= -ansi -O
+! CFLAGS= ${COPTS} ${IPATH} ${CONF_LIBRARY}
+ #
+ INCS= tiff.h tiffio.h
+ SRCS= tif_fax3.c \
+--- 26,42 ----
+ #
+ # This Makefile is for use with gcc (2.2.2 or later)
+ #
+! DESTDIR=${PREFIX}
+ #
+ AR= ar
+ RANLIB= ranlib
++ INSTALL= install -o bin -g bin
+ NULL=
+
+ IPATH= -I.
+ CONF_LIBRARY=\
+ ${NULL}
+! CFLAGS+= ${COPTS} ${IPATH} ${CONF_LIBRARY}
+ #
+ INCS= tiff.h tiffio.h
+ SRCS= tif_fax3.c \
+***************
+*** 100,113 ****
+ tif_warning.o \
+ tif_write.o \
+ ${NULL}
+! ALL= libtiff.a
+
+ all: ${ALL}
+
+! ${ALL}: ${OBJS}
+ ${AR} rc libtiff.a $?
+ ${RANLIB} libtiff.a
+
+ ${OBJS}: tiffio.h tiff.h tiffcomp.h tiffiop.h tiffconf.h
+ tif_fax3.o: tif_fax3.c g3states.h t4.h tif_fax3.h
+
+--- 99,120 ----
+ tif_warning.o \
+ tif_write.o \
+ ${NULL}
+! ALL= libtiff.a libtiff.so.3.3
+
+ all: ${ALL}
+
+! libtiff.a: ${OBJS}
+ ${AR} rc libtiff.a $?
+ ${RANLIB} libtiff.a
+
++ .SUFFIXES: .c .o .so
++
++ .c.so:
++ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
++
++ libtiff.so.3.3: ${OBJS:S/o$/so/g}
++ ld -Bshareable -o libtiff.so.3.3 ${OBJS:S/o$/so/g}
++
+ ${OBJS}: tiffio.h tiff.h tiffcomp.h tiffiop.h tiffconf.h
+ tif_fax3.o: tif_fax3.c g3states.h t4.h tif_fax3.h
+
+***************
+*** 118,125 ****
+ install: all installh
+ -for i in ${ALL}; do \
+ ${INSTALL} -c -m 644 $$i ${DESTDIR}/lib/$$i; \
+- ${RANLIB} ${DESTDIR}/lib/$$i; \
+ done
+
+ installh: ${INCS}
+ -for i in ${INCS}; do \
+--- 125,132 ----
+ install: all installh
+ -for i in ${ALL}; do \
+ ${INSTALL} -c -m 644 $$i ${DESTDIR}/lib/$$i; \
+ done
++ ranlib ${DESTDIR}/lib/libtiff.a
+
+ installh: ${INCS}
+ -for i in ${INCS}; do \
diff --git a/graphics/tiff/patches/patch-ab b/graphics/tiff/patches/patch-ab
new file mode 100644
index 00000000000..5943adcb23c
--- /dev/null
+++ b/graphics/tiff/patches/patch-ab
@@ -0,0 +1,62 @@
+*** tools/Makefile.sun.orig Fri Sep 30 03:01:48 1994
+--- tools/Makefile.sun Wed Oct 4 04:45:40 1995
+***************
+*** 31,37 ****
+ # simply null this out and you'll get whatever is in your
+ # libc (or similar).
+ #
+! GETOPT= getopt.o
+ #
+ # Library-wide configuration defines:
+ # Note that if you change the library-wide configuration, you'll
+--- 31,37 ----
+ # simply null this out and you'll get whatever is in your
+ # libc (or similar).
+ #
+! # GETOPT= getopt.o
+ #
+ # Library-wide configuration defines:
+ # Note that if you change the library-wide configuration, you'll
+***************
+*** 40,49 ****
+ CONF_LIBRARY=\
+ ${NULL}
+ COPTS=
+! CFLAGS= -g ${COPTS} ${IPATH}
+ #
+ LIBTIFF=../libtiff/libtiff.a
+! LIBS= ${LIBTIFF}
+ MACHALL=ras2tiff
+ OBJS= \
+ fax2tiff.o \
+--- 40,49 ----
+ CONF_LIBRARY=\
+ ${NULL}
+ COPTS=
+! CFLAGS+= ${COPTS} ${IPATH} -D_HAVE_PARAM_H
+ #
+ LIBTIFF=../libtiff/libtiff.a
+! LIBS= -L../libtiff -ltiff
+ MACHALL=ras2tiff
+ OBJS= \
+ fax2tiff.o \
+***************
+*** 69,74 ****
+--- 69,75 ----
+ pal2rgb \
+ ppm2tiff \
+ rgb2ycbcr \
++ thumbnail \
+ tiff2bw \
+ tiff2ps \
+ tiffcmp \
+***************
+*** 127,132 ****
+--- 128,134 ----
+ ${CC} -o thumbnail ${CFLAGS} thumbnail.c ${LIBS} -lm
+
+ install: all
++ install -o bin -g bin -c -s ${ALL} ${PREFIX}/bin
+
+ clean:
+ rm -f ${ALL} ${OBJS} core a.out ycbcr
diff --git a/graphics/tiff/patches/patch-ac b/graphics/tiff/patches/patch-ac
new file mode 100644
index 00000000000..ba2cfcc75e8
--- /dev/null
+++ b/graphics/tiff/patches/patch-ac
@@ -0,0 +1,52 @@
+*** contrib/fax2ps/Makefile.orig Tue Jul 26 21:55:07 1994
+--- contrib/fax2ps/Makefile Wed Oct 4 04:55:32 1995
+***************
+*** 25,42 ****
+ TIFF= ../../libtiff
+ TOOLS= ../../tools
+
+! BIN= /usr/local/bin
+ NULL=
+! OBJS= fax2ps.o faxdecode.o getopt.o
+ CONF_LIBRARY=\
+ ${NULL}
+! COPTS= -O
+! CFLAGS= ${COPTS} -ansi ${CONF_LIBRARY} -I${TIFF}
+! LIBS= ${TIFF}/libtiff.a
+
+ all: fax2ps
+
+! fax2ps: ${OBJS} ${LIBS}
+ ${CC} -o $@ ${OBJS} ${LDFLAGS} ${LIBS} -lm
+
+ ${OBJS}: defs.h ${TIFF}/tiffio.h
+--- 25,42 ----
+ TIFF= ../../libtiff
+ TOOLS= ../../tools
+
+! BIN= ${PREFIX}/bin/
+ NULL=
+! OBJS= fax2ps.o faxdecode.o
+ CONF_LIBRARY=\
+ ${NULL}
+! CFLAGS+= ${COPTS} ${CONF_LIBRARY} -I${TIFF}
+! LIBTIFF= ${TIFF}/libtiff.a
+! LIBS= -L ../../libtiff -ltiff
+
+ all: fax2ps
+
+! fax2ps: ${OBJS} ${LIBTIFF}
+ ${CC} -o $@ ${OBJS} ${LDFLAGS} ${LIBS} -lm
+
+ ${OBJS}: defs.h ${TIFF}/tiffio.h
+***************
+*** 48,51 ****
+ rm -f ${OBJS} fax2ps a.out core errs
+
+ install: all
+! /etc/install -f ${BIN} -m 755 fax2ps
+--- 48,51 ----
+ rm -f ${OBJS} fax2ps a.out core errs
+
+ install: all
+! install -o bin -g bin -c -s -m 755 fax2ps ${BIN}
diff --git a/graphics/tiff/patches/patch-ad b/graphics/tiff/patches/patch-ad
new file mode 100644
index 00000000000..001b2b3e4d1
--- /dev/null
+++ b/graphics/tiff/patches/patch-ad
@@ -0,0 +1,64 @@
+*** Makefile.orig Fri Sep 30 01:01:19 1994
+--- Makefile Mon Nov 14 22:20:02 1994
+***************
+*** 209,218 ****
+ ${NULL}
+
+ all default:
+! -cd libtiff; ${MAKE}
+! -cd tools; ${MAKE}
+! -cd contrib/fax2ps; ${MAKE}
+! -cd contrib/dbs; ${MAKE}
+
+ clean:
+ -cd libtiff; ${MAKE} clean; rm -f Makefile
+--- 209,257 ----
+ ${NULL}
+
+ all default:
+! cd libtiff; ${MAKE} PREFIX=${PREFIX}
+! cd tools; ${MAKE} PREFIX=${PREFIX}
+! cd contrib/fax2ps; ${MAKE} PREFIX=${PREFIX}
+! #-cd contrib/dbs; ${MAKE}
+!
+! install:
+! cd libtiff; ${MAKE} PREFIX=${PREFIX} install
+! cd tools; ${MAKE} PREFIX=${PREFIX} install
+! cd contrib/fax2ps; ${MAKE} PREFIX=${PREFIX} install
+! (cd man/man1 ; install -c fax2tiff.1 gif2tiff.1 pal2rgb.1 ppm2tiff.1 \
+! ras2tiff.1 rgb2ycbcr.1 sgi2tiff.1 thumbnail.1 tiff2bw.1 \
+! tiff2ps.1 tiffcmp.1 tiffcp.1 tiffdither.1 tiffdump.1 tiffgt.1 \
+! tiffinfo.1 tiffmedian.1 tiffsplit.1 tiffsv.1 \
+! ${PREFIX}/man/man1/ )
+! install -c man/man3/TIFFClose.3t ${PREFIX}/man/man3/TIFFClose.3
+! install -c man/man3/TIFFError.3t ${PREFIX}/man/man3/TIFFError.3
+! install -c man/man3/TIFFFlush.3t ${PREFIX}/man/man3/TIFFFlush.3
+! install -c man/man3/TIFFGetField.3t ${PREFIX}/man/man3/TIFFGetField.3
+! install -c man/man3/TIFFOpen.3t ${PREFIX}/man/man3/TIFFOpen.3
+! install -c man/man3/TIFFPrintDirectory.3t ${PREFIX}/man/man3/TIFFPrintDirectory.3
+! install -c man/man3/TIFFReadDirectory.3t ${PREFIX}/man/man3/TIFFReadDirectory.3
+! install -c man/man3/TIFFReadEncodedStrip.3t ${PREFIX}/man/man3/TIFFReadEncodedStrip.3
+! install -c man/man3/TIFFReadEncodedTile.3t ${PREFIX}/man/man3/TIFFReadEncodedTile.3
+! install -c man/man3/TIFFReadRGBAImage.3t ${PREFIX}/man/man3/TIFFReadRGBAImage.3
+! install -c man/man3/TIFFReadRawStrip.3t ${PREFIX}/man/man3/TIFFReadRawStrip.3
+! install -c man/man3/TIFFReadRawTile.3t ${PREFIX}/man/man3/TIFFReadRawTile.3
+! install -c man/man3/TIFFReadScanline.3t ${PREFIX}/man/man3/TIFFReadScanline.3
+! install -c man/man3/TIFFReadTile.3t ${PREFIX}/man/man3/TIFFReadTile.3
+! install -c man/man3/TIFFSetDirectory.3t ${PREFIX}/man/man3/TIFFSetDirectory.3
+! install -c man/man3/TIFFSetField.3t ${PREFIX}/man/man3/TIFFSetField.3
+! install -c man/man3/TIFFWarning.3t ${PREFIX}/man/man3/TIFFWarning.3
+! install -c man/man3/TIFFWriteDirectory.3t ${PREFIX}/man/man3/TIFFWriteDirectory.3
+! install -c man/man3/TIFFWriteEncodedStrip.3t ${PREFIX}/man/man3/TIFFWriteEncodedStrip.3
+! install -c man/man3/TIFFWriteEncodedTile.3t ${PREFIX}/man/man3/TIFFWriteEncodedTile.3
+! install -c man/man3/TIFFWriteRawStrip.3t ${PREFIX}/man/man3/TIFFWriteRawStrip.3
+! install -c man/man3/TIFFWriteRawTile.3t ${PREFIX}/man/man3/TIFFWriteRawTile.3
+! install -c man/man3/TIFFWriteScanline.3t ${PREFIX}/man/man3/TIFFWriteScanline.3
+! install -c man/man3/intro.3t ${PREFIX}/man/man3/TIFFintro.3
+! install -c man/man3/query.3t ${PREFIX}/man/man3/TIFFquery.3
+! install -c man/man3/size.3t ${PREFIX}/man/man3/TIFFsize.3
+! install -c man/man3/strip.3t ${PREFIX}/man/man3/TIFFstrip.3
+! install -c man/man3/swab.3t ${PREFIX}/man/man3/TIFFswab.3
+! install -c man/man3/tile.3t ${PREFIX}/man/man3/TIFFtile.3
+
+ clean:
+ -cd libtiff; ${MAKE} clean; rm -f Makefile
diff --git a/graphics/tiff/patches/patch-ae b/graphics/tiff/patches/patch-ae
new file mode 100644
index 00000000000..ee62e63104e
--- /dev/null
+++ b/graphics/tiff/patches/patch-ae
@@ -0,0 +1,18 @@
+*** tools/tiffcp.c.orig Mon Nov 14 20:03:35 1994
+--- tools/tiffcp.c Mon Nov 14 20:05:38 1994
+***************
+*** 30,36 ****
+--- 30,42 ----
+
+ #include "tiffio.h"
+
++ #ifdef _HAVE_PARAM_H
++ #include <sys/param.h>
++ #endif
++
++ #if (defined(BSD) && (BSD < 199103))
+ typedef unsigned char u_char;
++ #endif
+
+ #if defined(VMS)
+ #define unlink delete
diff --git a/graphics/tiff/patches/patch-af b/graphics/tiff/patches/patch-af
new file mode 100644
index 00000000000..ad970fcfd10
--- /dev/null
+++ b/graphics/tiff/patches/patch-af
@@ -0,0 +1,12 @@
+*** libtiff/tiffcomp.h.orig Fri Sep 30 03:01:28 1994
+--- libtiff/tiffcomp.h Wed Oct 4 04:23:03 1995
+***************
+*** 78,83 ****
+--- 78,84 ----
+ #define L_INCR SEEK_CUR
+ #define L_XTND SEEK_END
+ #endif /* defined(SYSV) || defined(VMS) */
++ #include <unistd.h>
+ #ifndef L_SET
+ #define L_SET 0
+ #define L_INCR 1
diff --git a/graphics/tiff/patches/patch-ag b/graphics/tiff/patches/patch-ag
new file mode 100644
index 00000000000..5eba4b06351
--- /dev/null
+++ b/graphics/tiff/patches/patch-ag
@@ -0,0 +1,28 @@
+*** tools/thumbnail.c.orig Fri Sep 30 03:01:53 1994
+--- tools/thumbnail.c Wed Oct 4 04:48:00 1995
+***************
+*** 25,34 ****
+ */
+
+ #include <stdio.h>
+- #include <getopt.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/param.h>
+ #include <math.h>
+
+ #include "tiffio.h"
+--- 25,37 ----
+ */
+
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/param.h>
++ #if defined(BSD) && BSD >= 199506
++ /* Lite2, need this for getopt() */
++ #include <unistd.h>
++ #endif
+ #include <math.h>
+
+ #include "tiffio.h"
diff --git a/graphics/tiff/pkg/COMMENT b/graphics/tiff/pkg/COMMENT
new file mode 100644
index 00000000000..41abc1de59d
--- /dev/null
+++ b/graphics/tiff/pkg/COMMENT
@@ -0,0 +1 @@
+A library for reading and writing TIFF data files.
diff --git a/graphics/tiff/pkg/DESCR b/graphics/tiff/pkg/DESCR
new file mode 100644
index 00000000000..96dcab6ac50
--- /dev/null
+++ b/graphics/tiff/pkg/DESCR
@@ -0,0 +1,10 @@
+This is software provides support for the Tag Image Format (TIFF).
+Included is a library, libtiff, for reading and writing TIFF, a
+collection of tools for doing simple manipulations of TIFF images, and
+documentation on the library and tools. A random assortment of
+TIFF-related software contributed by others is also included.
+
+The library, along with associated tool programs, should handle most of
+your needs for reading and writing files that follow the 5.0 or 6.0
+TIFF spec. There is also considerable support for some of the more
+esoteric portions of the 6.0 TIFF spec.
diff --git a/graphics/tiff/pkg/PLIST b/graphics/tiff/pkg/PLIST
new file mode 100644
index 00000000000..676619f8244
--- /dev/null
+++ b/graphics/tiff/pkg/PLIST
@@ -0,0 +1,71 @@
+bin/fax2tiff
+bin/gif2tiff
+bin/pal2rgb
+bin/ppm2tiff
+bin/rgb2ycbcr
+bin/thumbnail
+bin/ras2tiff
+bin/tiff2bw
+bin/tiff2ps
+bin/tiffcmp
+bin/tiffcp
+bin/tiffdither
+bin/tiffdump
+bin/tiffinfo
+bin/tiffmedian
+bin/tiffsplit
+bin/fax2ps
+lib/libtiff.a
+@exec ranlib %D/%F
+lib/libtiff.so.3.3
+@exec /sbin/ldconfig -m %B
+include/tiff.h
+include/tiffio.h
+man/man1/fax2tiff.1.gz
+man/man1/gif2tiff.1.gz
+man/man1/pal2rgb.1.gz
+man/man1/ppm2tiff.1.gz
+man/man1/ras2tiff.1.gz
+man/man1/rgb2ycbcr.1.gz
+man/man1/sgi2tiff.1.gz
+man/man1/thumbnail.1.gz
+man/man1/tiff2bw.1.gz
+man/man1/tiff2ps.1.gz
+man/man1/tiffcmp.1.gz
+man/man1/tiffcp.1.gz
+man/man1/tiffdither.1.gz
+man/man1/tiffdump.1.gz
+man/man1/tiffgt.1.gz
+man/man1/tiffinfo.1.gz
+man/man1/tiffmedian.1.gz
+man/man1/tiffsplit.1.gz
+man/man1/tiffsv.1.gz
+man/man3/TIFFClose.3.gz
+man/man3/TIFFError.3.gz
+man/man3/TIFFFlush.3.gz
+man/man3/TIFFGetField.3.gz
+man/man3/TIFFOpen.3.gz
+man/man3/TIFFPrintDirectory.3.gz
+man/man3/TIFFReadDirectory.3.gz
+man/man3/TIFFReadEncodedStrip.3.gz
+man/man3/TIFFReadEncodedTile.3.gz
+man/man3/TIFFReadRGBAImage.3.gz
+man/man3/TIFFReadRawStrip.3.gz
+man/man3/TIFFReadRawTile.3.gz
+man/man3/TIFFReadScanline.3.gz
+man/man3/TIFFReadTile.3.gz
+man/man3/TIFFSetDirectory.3.gz
+man/man3/TIFFSetField.3.gz
+man/man3/TIFFWarning.3.gz
+man/man3/TIFFWriteDirectory.3.gz
+man/man3/TIFFWriteEncodedStrip.3.gz
+man/man3/TIFFWriteEncodedTile.3.gz
+man/man3/TIFFWriteRawStrip.3.gz
+man/man3/TIFFWriteRawTile.3.gz
+man/man3/TIFFWriteScanline.3.gz
+man/man3/TIFFintro.3.gz
+man/man3/TIFFquery.3.gz
+man/man3/TIFFsize.3.gz
+man/man3/TIFFstrip.3.gz
+man/man3/TIFFswab.3.gz
+man/man3/TIFFtile.3.gz
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
new file mode 100644
index 00000000000..005dabf01c0
--- /dev/null
+++ b/graphics/xpm/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: xpm
+# Version required: 3.4j
+# Date created: 14 September 1994
+# Whom: jkh
+#
+# FreeBSD Id: Makefile,v 1.14 1997/07/17 15:12:45 max Exp
+#
+
+DISTNAME= xpm-3.4j
+CATEGORIES= graphics x11
+MASTER_SITES= ftp://avahi.inria.fr/pub/xpm/
+
+USE_IMAKE= yes
+
+post-install:
+ ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/graphics/xpm/files/md5 b/graphics/xpm/files/md5
new file mode 100644
index 00000000000..4fe10818204
--- /dev/null
+++ b/graphics/xpm/files/md5
@@ -0,0 +1 @@
+MD5 (xpm-3.4j.tar.gz) = 34154abe8b359d6892a815627c286dbf
diff --git a/graphics/xpm/pkg/COMMENT b/graphics/xpm/pkg/COMMENT
new file mode 100644
index 00000000000..2b21f652b04
--- /dev/null
+++ b/graphics/xpm/pkg/COMMENT
@@ -0,0 +1 @@
+The X Pixmap library.
diff --git a/graphics/xpm/pkg/DESCR b/graphics/xpm/pkg/DESCR
new file mode 100644
index 00000000000..b3edb2d4210
--- /dev/null
+++ b/graphics/xpm/pkg/DESCR
@@ -0,0 +1,18 @@
+
+Here is an extract from the README file:
+
+ * Copyright (C) 1989-94 GROUPE BULL
+
+ XPM Version 3
+
+WHAT IS XPM?
+============
+
+XPM (X PixMap) is a format for storing/retrieving X pixmaps to/from files.
+
+Here is provided a library containing a set of four functions, similar to the
+X bitmap functions as defined in the Xlib: XpmCreatePixmapFromData,
+XpmCreateDataFromPixmap, XpmReadFileToPixmap and XpmWriteFileFromPixmap for
+respectively including, storing, reading and writing this format, plus four
+other: XpmCreateImageFromData, XpmCreateDataFromImage, XpmReadFileToImage and
+XpmWriteFileFromImage for working with images instead of pixmaps.
diff --git a/graphics/xpm/pkg/PLIST b/graphics/xpm/pkg/PLIST
new file mode 100644
index 00000000000..2d8db779587
--- /dev/null
+++ b/graphics/xpm/pkg/PLIST
@@ -0,0 +1,7 @@
+bin/sxpm
+lib/libXpm.a
+lib/libXpm.so.4.10
+@exec /sbin/ldconfig -m %B
+@exec ranlib %D/lib/libXpm.a
+include/X11/xpm.h
+man/man1/sxpm.1.gz