mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
Add tiff2png, a TIFF-to-PNG image converter.
This commit is contained in:
parent
25643a2bd2
commit
99f7f4ed1d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30164
@ -157,6 +157,7 @@
|
||||
SUBDIR += tgif
|
||||
SUBDIR += tgif-nls
|
||||
SUBDIR += tiff
|
||||
SUBDIR += tiff2png
|
||||
SUBDIR += tifmerge
|
||||
SUBDIR += tkxanim
|
||||
SUBDIR += togl
|
||||
|
26
graphics/tiff2png/Makefile
Normal file
26
graphics/tiff2png/Makefile
Normal file
@ -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>
|
1
graphics/tiff2png/distinfo
Normal file
1
graphics/tiff2png/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (tiff2png-0.81.tar.gz) = 8a2ed7804d624f2248dc9524e26c4eb5
|
40
graphics/tiff2png/files/patch-aa
Normal file
40
graphics/tiff2png/files/patch-aa
Normal file
@ -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 \
|
1
graphics/tiff2png/pkg-comment
Normal file
1
graphics/tiff2png/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Converts TIFF images to PNG format
|
5
graphics/tiff2png/pkg-descr
Normal file
5
graphics/tiff2png/pkg-descr
Normal file
@ -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>
|
1
graphics/tiff2png/pkg-plist
Normal file
1
graphics/tiff2png/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/tiff2png
|
Loading…
x
Reference in New Issue
Block a user