diff options
author | will <will@FreeBSD.org> | 2000-07-04 15:00:08 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-07-04 15:00:08 +0800 |
commit | d5d1f805e48010e7651e00a161f834b0a5d83842 (patch) | |
tree | c27e6d03cc9ac8ebdd22cf093a8d773e09776451 /graphics/tiff2png | |
parent | f2aad555af3ccca5fde34f8a44df9ee28f889a18 (diff) | |
download | freebsd-ports-gnome-d5d1f805e48010e7651e00a161f834b0a5d83842.tar.gz freebsd-ports-gnome-d5d1f805e48010e7651e00a161f834b0a5d83842.tar.zst freebsd-ports-gnome-d5d1f805e48010e7651e00a161f834b0a5d83842.zip |
Add tiff2png, a TIFF-to-PNG image converter.
Diffstat (limited to 'graphics/tiff2png')
-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 |
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 |