diff options
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/tiff2png/Makefile | 26 | ||||
-rw-r--r-- | graphics/tiff2png/distinfo | 1 | ||||
-rw-r--r-- | graphics/tiff2png/files/patch-aa | 40 | ||||
-rw-r--r-- | graphics/tiff2png/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/tiff2png/pkg-descr | 5 | ||||
-rw-r--r-- | graphics/tiff2png/pkg-plist | 1 |
7 files changed, 75 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 116988d6bea6..b58083b91a84 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -157,6 +157,7 @@ SUBDIR += tgif SUBDIR += tgif-nls SUBDIR += tiff + SUBDIR += tiff2png SUBDIR += tifmerge SUBDIR += tkxanim SUBDIR += togl 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 |