aboutsummaryrefslogtreecommitdiff
path: root/graphics/tiff2png
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-07-04 07:00:08 +0000
committerWill Andrews <will@FreeBSD.org>2000-07-04 07:00:08 +0000
commit99f7f4ed1d019afc8569d71a7fd14c359dc0cd1e (patch)
treed2dcaec5ab69f0865e2ad84207de33ca6c7d9d76 /graphics/tiff2png
parent25643a2bd29c0f7e49238bd0c9ff2d35bfb91757 (diff)
downloadports-99f7f4ed1d019afc8569d71a7fd14c359dc0cd1e.tar.gz
ports-99f7f4ed1d019afc8569d71a7fd14c359dc0cd1e.zip
Notes
Diffstat (limited to 'graphics/tiff2png')
-rw-r--r--graphics/tiff2png/Makefile26
-rw-r--r--graphics/tiff2png/distinfo1
-rw-r--r--graphics/tiff2png/files/patch-aa40
-rw-r--r--graphics/tiff2png/pkg-comment1
-rw-r--r--graphics/tiff2png/pkg-descr5
-rw-r--r--graphics/tiff2png/pkg-plist1
6 files changed, 74 insertions, 0 deletions
diff --git a/graphics/tiff2png/Makefile b/graphics/tiff2png/Makefile
new file mode 100644
index 000000000000..2d3f4dd9c13b
--- /dev/null
+++ b/graphics/tiff2png/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: tiff2png
+# Date created: Tue 04 Jul 2000
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= tiff2png
+PORTVERSION= 0.81
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.cdrom.com/pub/png/src/ \
+ ftp://swrinde.nde.swri.edu/pub/png/applications/
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
+ png.3:${PORTSDIR}/graphics/png
+
+MAKE_ARGS= -E INSTALL
+MAKE_ENV= INSTALL="${PREFIX}"
+ALL_TARGET= tiff2png
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tiff2png ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/tiff2png/distinfo b/graphics/tiff2png/distinfo
new file mode 100644
index 000000000000..ececeeb4832b
--- /dev/null
+++ b/graphics/tiff2png/distinfo
@@ -0,0 +1 @@
+MD5 (tiff2png-0.81.tar.gz) = 8a2ed7804d624f2248dc9524e26c4eb5
diff --git a/graphics/tiff2png/files/patch-aa b/graphics/tiff2png/files/patch-aa
new file mode 100644
index 000000000000..d889c288c965
--- /dev/null
+++ b/graphics/tiff2png/files/patch-aa
@@ -0,0 +1,40 @@
+--- Makefile Sun Feb 13 15:39:40 2000
++++ Makefile.new Tue Jul 4 02:51:02 2000
+@@ -2,9 +2,9 @@
+ # Copyright (C) 1996 Willem van Schaik
+
+ #CC=cc
+-CC=gcc
++CC?=gcc
+ OPTIMFLAGS = -O3
+-DEBUGFLAGS = -g -Wall -W
++DEBUGFLAGS = -Wall -W
+ #COPY=cp
+ COPY=/bin/cp -p
+ DEL=/bin/rm -f
+@@ -49,21 +49,15 @@
+ #ZLIB=/usr/lib
+ ZLIB=/usr/local/lib
+ #ZLIB=../zlib
+-ZINC=/usr/local/include
++#ZINC=/usr/local/include
+ #ZINC=$(ZLIB)
+
+ INSTALL=/usr/local
+
+ # GRR 19990713: FAXPECT is a custom conversion option for stretched faxes
+-CFLAGS=$(TIFF_VERSION) -DFAXPECT $(MIN_INVERT) $(OPTIMFLAGS) $(DEBUGFLAGS) \
+- -I$(TIFFINC) \
+- -I$(PNGINC) \
+- -I$(ZINC)
+-LDFLAGS=-L. \
+- -L$(LIBTIFF)/ \
+- -L$(LIBPNG)/ \
+- -L$(ZLIB)/ \
+- -lpng -lz -ltiff -ljpeg -lm
++CFLAGS+=$(TIFF_VERSION) -DFAXPECT $(MIN_INVERT) $(OPTIMFLAGS) $(DEBUGFLAGS) \
++ -I$(INSTALL)/include
++LDFLAGS=-L. -L$(INSTALL)/lib -lpng -lz -ltiff -ljpeg -lm
+ SLDFLAGS=-L. \
+ $(LIBTIFF)/libtiff.a $(LIBJPEG)/libjpeg.a \
+ $(LIBPNG)/libpng.a \
diff --git a/graphics/tiff2png/pkg-comment b/graphics/tiff2png/pkg-comment
new file mode 100644
index 000000000000..a932c8def3b1
--- /dev/null
+++ b/graphics/tiff2png/pkg-comment
@@ -0,0 +1 @@
+Converts TIFF images to PNG format
diff --git a/graphics/tiff2png/pkg-descr b/graphics/tiff2png/pkg-descr
new file mode 100644
index 000000000000..45466cd1b906
--- /dev/null
+++ b/graphics/tiff2png/pkg-descr
@@ -0,0 +1,5 @@
+Simple utility for converting images from TIFF to PNG.
+
+WWW: http://www.libpng.org/pub/png/apps/tiff2png.html
+
+- Will <andrews@technologist.com>
diff --git a/graphics/tiff2png/pkg-plist b/graphics/tiff2png/pkg-plist
new file mode 100644
index 000000000000..6f25515d34c0
--- /dev/null
+++ b/graphics/tiff2png/pkg-plist
@@ -0,0 +1 @@
+bin/tiff2png