aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/fbm/Makefile26
-rw-r--r--graphics/fbm/distinfo1
-rw-r--r--graphics/fbm/files/patch-aa69
-rw-r--r--graphics/fbm/pkg-comment1
-rw-r--r--graphics/fbm/pkg-descr51
-rw-r--r--graphics/fbm/pkg-plist65
6 files changed, 213 insertions, 0 deletions
diff --git a/graphics/fbm/Makefile b/graphics/fbm/Makefile
new file mode 100644
index 000000000000..ffb6a3bdfd0d
--- /dev/null
+++ b/graphics/fbm/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: fbm
+# Version required: 1.2
+# Date created: 21 January 1998
+# Whom: giffunip@asme.org
+#
+# $Id$
+#
+
+DISTNAME= fbm-1.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/graphics/convert
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ports@FreeBSD.ORG
+
+NO_WRKSUBDIR= yes
+
+INSTALL_TARGET= smaller $(INSTALL)
+
+MANL= clr2gray.l fbcat.l fbclean.l fbedge.l fbext.l fbhalf.l fbhist.l \
+ fbinfo.l fbm.l fbm2pod.l fbmask.l fbnorm.l fbps.l fbquant.l fbrot.l \
+ fbsample.l fbsharp.l gray2clr.l idiff.l pbm2ps.l pbmtitle.l raw2fbm.l \
+ qrt2fbm.l fbham.l uunet2fbm.l tiff2fbm.l fbmedian.l fbconv.l fbthin.l
+
+.include <bsd.port.mk>
diff --git a/graphics/fbm/distinfo b/graphics/fbm/distinfo
new file mode 100644
index 000000000000..0c81c8eb4ed0
--- /dev/null
+++ b/graphics/fbm/distinfo
@@ -0,0 +1 @@
+MD5 (fbm-1.2.tgz) = 9081bc67c6169e07688086d59efdc3a5
diff --git a/graphics/fbm/files/patch-aa b/graphics/fbm/files/patch-aa
new file mode 100644
index 000000000000..4d825d299ac3
--- /dev/null
+++ b/graphics/fbm/files/patch-aa
@@ -0,0 +1,69 @@
+*** Makefile.orig Thu Jun 3 11:30:50 1993
+--- Makefile Tue Feb 17 14:37:50 1998
+***************
+*** 63,94 ****
+ #
+ ################################################################
+
+! INSTALL= ln
+! BIN= /usr/mlm/bin/
+! MAN= /usr/mlm/man/
+! FTP= /usr/mlm/ftp/
+! TIFINC= ../tiff/libtiff/
+! TIFLIB= ../tiff/libtiff/
+ MANEXT= l
+
+ # Make the C compiler behave on the NeXT
+! DBG= -g -D__STRICT_BSD__
+
+ #----------------JPEG linkage----------------
+ # If you don't have the JPEG library, use these two lines
+! #JPEG=
+! #JLIB=
+ # If you have the JPEG library, use the next lines instead
+! JPEG= -DDO_JPEG -I../jpeg
+! JLIB= -L../jpeg -ljpeg
+
+ #----------------Utah RLE linkage----------------
+ # If you don't have the Utah RLE library, use these two lines
+ RLE=
+ RLIB=
+ # If you have the Utah RLE library, use the next lines instead
+! #RLE= -DRLE -I/usr/mlm/include
+! #RLIB= -L. -lfbm -L/usr/mlm/lib -lrle
+
+ LIB= -L. -lfbm $(JLIB) $(RLIB)
+
+--- 63,94 ----
+ #
+ ################################################################
+
+! INSTALL= install
+! BIN= $(PREFIX)/bin/
+ MANEXT= l
++ MAN= $(PREFIX)/man/man$(MANEXT)/
++ FTP= /usr/mlm/ftp/
++ TIFINC= $(LOCALBASE)/include/
++ TIFLIB= $(LOCALBASE)/lib/
+
+ # Make the C compiler behave on the NeXT
+! # DBG= -g -D__STRICT_BSD__
+
+ #----------------JPEG linkage----------------
+ # If you don't have the JPEG library, use these two lines
+! JPEG=
+! JLIB=
+ # If you have the JPEG library, use the next lines instead
+! #JPEG= -DDO_JPEG -I$(LOCALBASE)/include
+! #JLIB= -L$(LOCALBASE)/lib -ljpeg
+
+ #----------------Utah RLE linkage----------------
+ # If you don't have the Utah RLE library, use these two lines
+ RLE=
+ RLIB=
+ # If you have the Utah RLE library, use the next lines instead
+! #RLE= -DRLE -I$(LOCALBASE)/include
+! #RLIB= -L. -lfbm -L$(LOCALBASE)/lib -lrle
+
+ LIB= -L. -lfbm $(JLIB) $(RLIB)
+
diff --git a/graphics/fbm/pkg-comment b/graphics/fbm/pkg-comment
new file mode 100644
index 000000000000..3a6bfb4a4982
--- /dev/null
+++ b/graphics/fbm/pkg-comment
@@ -0,0 +1 @@
+Fuzzy Pixmap Manipulation utilities.
diff --git a/graphics/fbm/pkg-descr b/graphics/fbm/pkg-descr
new file mode 100644
index 000000000000..9cb2fd595ef4
--- /dev/null
+++ b/graphics/fbm/pkg-descr
@@ -0,0 +1,51 @@
+This collection provides a complete package for manipulating and
+converting color and black and whites images, including 24bit RGB, 8bit
+mapped color, 8bit grayscale, and 1bit bitmapped images.
+
+ clr2gray Convert color to grayscale
+ fbcat Copy image (used for format conversion)
+ fbclean Flip isolated pixels (clean image)
+ fbconv Arbitrary convolutions
+ fbedge Compute derivative image (edge detection)
+ fbext Extract region, resize, change aspect ratio
+ fbgamma Gamma correct grayscale or color image for display
+ fbhalf Halftone grayscale image (Blue noise, Floyd-Steinberg, etc)
+ fbham Convert FBM 24bit RGB to Amiga HAM mode
+ fbhist Compute histogram
+ fbinfo Dump image header
+ fbm2pod Convert grayscale image to Diablo graphics (!)
+ fbm2tga Convert image to Targa format
+ fbm2tiff Convert FBM files to 1, 2, 4, 8, or 24 bit TIFF
+ fbmask Set region to gray value
+ fbmedian Median filter 3x3 regios
+ fbnorm Normalize image intensity / increase contrast
+ fbpalet Replace an imager's colormap with another, remove duplicates
+ fbps Convert to PostScript
+ fbquant Color quantization (24 bit to 8..256 colors) Mod. Heckbert
+ fbrot Rotate 90, 180, or 270 degrees
+ fbthin Thin 1bit images
+ fbsample Sample a 1bit file to produce an 8bit file
+ fbsharp Sharpen (edge enhancement) by digital Laplacian
+ gray2clr Add a "gray" colormap to a grayscale image
+ idiff (and udiff) convert raw byte stream into byte difference
+ pbm2ps Convert PBM file to PostScript
+ pbmtitle Add a title to a PBM file
+ raw2fbm Convert raw file to FBM format (eg: Amiga Digiview files)
+ tga2fbm Convert Targa file to FBM format
+ tiff2fbm Convert tiff file to FBM format
+ uunet2fbm Convert UseNet Facesaver file to FBM format
+
+File Formats
+
+ FBM (-F) FBM file with 256 byte header (with title & credits)
+ Sun (-S) Sun rasterfile with 32 byte header
+ Tiff (-T) Aldus TIFF
+ PBM (-P) Poskanzer format for 1bit files
+ GIF (-G) CompuServe GIF format
+ JPG (-J) JPEG JFIF format (cf The Independent JPEG Group)
+ RLE (-R) Utah RLE format
+ IFF (-I) Amiga IFF files (except HAM mode files)
+ PCX (-Z) PC PaintBrush format for IBM
+ Face (-B) Bennet Yee's 1bit files, used at CMU
+___________
+From the README file
diff --git a/graphics/fbm/pkg-plist b/graphics/fbm/pkg-plist
new file mode 100644
index 000000000000..830e3370227d
--- /dev/null
+++ b/graphics/fbm/pkg-plist
@@ -0,0 +1,65 @@
+bin/clr2gray
+bin/fbcat
+bin/fbclean
+bin/fbconv
+bin/fbedge
+bin/fbext
+bin/fbgamma
+bin/fbhalf
+bin/fbham
+bin/fbhist
+bin/fbinfo
+bin/fbm2pod
+bin/fbm2tga
+bin/fbmask
+bin/fbmedian
+bin/fbnorm
+bin/fbpalet
+bin/fbps
+bin/fbquant
+bin/fbrev
+bin/fbrot
+bin/fbsample
+bin/fbsharp
+bin/fbthin
+bin/gray2clr
+bin/idiff
+bin/mps2fbm
+bin/pbm2ps
+bin/pbmtitle
+bin/pic2fbm
+bin/qrt2fbm
+bin/raw2fbm
+bin/tga2fbm
+bin/udiff
+bin/unmap
+bin/uunet2fbm
+man/manl/clr2gray.l.gz
+man/manl/fbcat.l.gz
+man/manl/fbclean.l.gz
+man/manl/fbconv.l.gz
+man/manl/fbedge.l.gz
+man/manl/fbext.l.gz
+man/manl/fbhalf.l.gz
+man/manl/fbham.l.gz
+man/manl/fbhist.l.gz
+man/manl/fbinfo.l.gz
+man/manl/fbm.l.gz
+man/manl/fbm2pod.l.gz
+man/manl/fbmask.l.gz
+man/manl/fbmedian.l.gz
+man/manl/fbnorm.l.gz
+man/manl/fbps.l.gz
+man/manl/fbquant.l.gz
+man/manl/fbrot.l.gz
+man/manl/fbsample.l.gz
+man/manl/fbsharp.l.gz
+man/manl/fbthin.l.gz
+man/manl/gray2clr.l.gz
+man/manl/idiff.l.gz
+man/manl/pbm2ps.l.gz
+man/manl/pbmtitle.l.gz
+man/manl/qrt2fbm.l.gz
+man/manl/raw2fbm.l.gz
+man/manl/tiff2fbm.l.gz
+man/manl/uunet2fbm.l.gz