summaryrefslogtreecommitdiff
path: root/graphics/tiff/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf>1997-12-01 00:01:51 +0000
committerhubertf <hubertf>1997-12-01 00:01:51 +0000
commit6045d84797199b957bb09c6625030797a315fb56 (patch)
treed3861ca411145c38846d63d070aaf7ae59e20f91 /graphics/tiff/Makefile
parent2220e21adcd8349686cf70dfe04243e7e0a4437b (diff)
downloadpkgsrc-6045d84797199b957bb09c6625030797a315fb56.tar.gz
Incorporate Matthias Scheler's update to the tiff package with some
minor fixes from me. Closes PR pkg/4603.
Diffstat (limited to 'graphics/tiff/Makefile')
-rw-r--r--graphics/tiff/Makefile85
1 files changed, 51 insertions, 34 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 9dd6d9a6065..a4bd8319975 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -1,42 +1,59 @@
-# $NetBSD: Makefile,v 1.2 1997/10/06 13:44:56 agc Exp $
+# $NetBSD: Makefile,v 1.3 1997/12/01 00:01:51 hubertf Exp $
# New ports collection makefile for: tiff
-# Version required: 3.3 beta 021
-# Date created: 14 November 1994
-# Whom: torstenb
-#
-# FreeBSD Id: Makefile,v 1.11 1997/08/29 11:40:45 tg Exp
+# Version required: 3.4 beta 037
+# Date created: 27 November 1997
+# Whom: tron
#
-DISTNAME= v3.3beta021.src
-PKGNAME= tiff-3.3
+DISTNAME= tiff-v3.4beta037
+PKGNAME= tiff-3.4
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.isri.unlv.edu/pub/mirror/tiff/ \
- ftp://ftp.coli.uni-sb.de/pub/graphics/ \
- ftp://ftp.funet.fi/pub/graphics/packages/tiff/
-# Original master site doesn't keep old versions
-# MASTER_SITES= ftp://ftp.sgi.com/graphics/tiff/
-
-NO_WRKSUBDIR= yes
-MAN1= fax2tiff.1 gif2tiff.1 pal2rgb.1 ppm2tiff.1 ras2tiff.1 \
- rgb2ycbcr.1 sgi2tiff.1 thumbnail.1 tiff2bw.1 tiff2ps.1 \
- tiffcmp.1 tiffcp.1 tiffdither.1 tiffdump.1 tiffgt.1 \
- tiffinfo.1 tiffmedian.1 tiffsplit.1 tiffsv.1
-MAN3= TIFFClose.3 TIFFError.3 TIFFFlush.3 TIFFGetField.3 \
- TIFFOpen.3 TIFFPrintDirectory.3 TIFFReadDirectory.3 \
- TIFFReadEncodedStrip.3 TIFFReadEncodedTile.3 \
- TIFFReadRGBAImage.3 TIFFReadRawStrip.3 TIFFReadRawTile.3 \
- TIFFReadScanline.3 TIFFReadTile.3 TIFFSetDirectory.3 \
- TIFFSetField.3 TIFFWarning.3 TIFFWriteDirectory.3 \
- TIFFWriteEncodedStrip.3 TIFFWriteEncodedTile.3 \
- TIFFWriteRawStrip.3 TIFFWriteRawTile.3 TIFFWriteScanline.3 \
- TIFFintro.3 TIFFquery.3 TIFFsize.3 TIFFstrip.3 \
- TIFFswab.3 TIFFtile.3
-
-pre-configure:
- @(cd ${WRKSRC}/libtiff ; ln -s Makefile.gcc Makefile)
- @(cd ${WRKSRC}/tools ; ln -s Makefile.sun Makefile)
+MASTER_SITES= ftp://ftp.sgi.com/graphics/tiff/ \
+ ftp://ftp.gwdg.de/pub/grafik/sgi/tiff/ \
+ ftp://ftp.fu-berlin.de/unix/graphics/tiff/
+
+# "-tar.gz" instead of ".tar.gz"
+EXTRACT_SUFX= -tar.gz
+EXTRACT_CMD= /usr/bin/tar
+EXTRACT_BEFORE_ARGS= -xzf
+
+LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg
+
+MAN1= fax2ps.1 fax2tiff.1 gif2tiff.1 pal2rgb.1 ppm2tiff.1 ras2tiff.1 \
+ rgb2ycbcr.1 sgi2tiff.1 thumbnail.1 tiff2bw.1 tiff2ps.1 tiffcmp.1 \
+ tiffcp.1 tiffdither.1 tiffdump.1 tiffgt.1 tiffinfo.1 tiffmedian.1 \
+ tiffsplit.1 tiffsv.1
+
+MAN3= TIFFCheckTile.3 TIFFClose.3 TIFFComputeStrip.3 TIFFComputeTile.3 \
+ TIFFCurrentDirectory.3 TIFFCurrentRow.3 TIFFCurrentStrip.3 \
+ TIFFCurrentTile.3 TIFFDefaultStripSize.3 TIFFDefaultTileSize.3 \
+ TIFFError.3 TIFFFdOpen.3 TIFFFileName.3 TIFFFileno.3 TIFFFindCODEC.3 \
+ TIFFFlush.3 TIFFFlushData.3 TIFFGetField.3 TIFFGetMode.3 \
+ TIFFIsByteSwapped.3 TIFFIsMSB2LSB.3 TIFFIsTiled.3 TIFFIsUpSampled.3 \
+ TIFFLastDirectory.3 TIFFNumberOfStrips.3 TIFFNumberOfTiles.3 \
+ TIFFOpen.3 TIFFPrintDirectory.3 TIFFRGBAImage.3 TIFFRGBAImageBegin.3 \
+ TIFFRGBAImageEnd.3 TIFFRGBAImageGet.3 TIFFRGBAImageOK.3 \
+ TIFFReadBufferSetup.3 TIFFReadDirectory.3 TIFFReadEncodedStrip.3 \
+ TIFFReadEncodedTile.3 TIFFReadRGBAImage.3 TIFFReadRawStrip.3 \
+ TIFFReadRawTile.3 TIFFReadScanline.3 TIFFReadTile.3 \
+ TIFFRegisterCODEC.3 TIFFReverseBits.3 TIFFScanlineSize.3 \
+ TIFFSetDirectory.3 TIFFSetErrorHandler.3 TIFFSetField.3 \
+ TIFFSetSubDirectory.3 TIFFSetWarningHandler.3 TIFFStripSize.3 \
+ TIFFSwabArrayOfLong.3 TIFFSwabArrayOfShort.3 TIFFSwabLong.3 \
+ TIFFSwabShort.3 TIFFTileRowSize.3 TIFFTileSize.3 TIFFUnRegisterCODEC.3 \
+ TIFFVGetField.3 TIFFVSetField.3 TIFFVStripSize.3 TIFFVTileSize.3 \
+ TIFFWarning.3 TIFFWriteBufferSetup.3 TIFFWriteDirectory.3 \
+ TIFFWriteEncodedStrip.3 TIFFWriteEncodedTile.3 TIFFWriteRawStrip.3 \
+ TIFFWriteRawTile.3 TIFFWriteScanline.3 TIFFbuffer.3 TIFFcodec.3 \
+ TIFFfree.3 TIFFmalloc.3 TIFFmemcmp.3 TIFFmemcpy.3 TIFFmemory.3 \
+ TIFFmemset.3 TIFFquery.3 TIFFrealloc.3 TIFFsize.3 TIFFstrip.3 \
+ TIFFswab.3 TIFFtile.3 libtiff.3
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --noninteractive --site ${FILESDIR}
+CONFIGURE_ENV+= PREFIX=$(PREFIX)
post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
+ ${LDCONFIG} -m ${PREFIX}/lib || true
.include <bsd.port.mk>