1997-12-01 07:49:16 +00:00
|
|
|
# New ports collection makefile for: tiff
|
1999-12-27 15:50:25 +00:00
|
|
|
# Version required: 3.5.4
|
1997-01-09 10:48:53 +00:00
|
|
|
# Date created: 8 October 1996
|
|
|
|
# Whom: Richard Hwang <rhwang@bigpanda.com>
|
1999-05-10 19:57:21 +00:00
|
|
|
# Mikhail Teterin <mi@aldan.algebra.com>
|
1997-05-26 02:16:39 +00:00
|
|
|
# Jun-ichiro itojun Itoh <itojun@itojun.org>
|
1997-01-09 10:48:53 +00:00
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1997-01-09 10:48:53 +00:00
|
|
|
#
|
|
|
|
|
1999-12-27 15:50:25 +00:00
|
|
|
DISTNAME= tiff-v3.5.4
|
|
|
|
PKGNAME= tiff-3.5.4
|
1997-01-09 10:48:53 +00:00
|
|
|
CATEGORIES= graphics
|
1999-09-07 10:37:59 +00:00
|
|
|
MASTER_SITES= ftp://ftp.onshore.com/pub/libtiff/ \
|
|
|
|
http://www.libtiff.org/
|
1997-01-09 10:48:53 +00:00
|
|
|
|
1999-09-07 10:37:59 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-05-26 02:16:39 +00:00
|
|
|
|
1999-11-24 23:37:02 +00:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
|
1997-01-09 10:48:53 +00:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
1999-11-24 23:37:02 +00:00
|
|
|
CONFIGURE_ARGS= --with-ZIP --with-JPEG \
|
|
|
|
--with-DIR_BIN=${PREFIX}/bin \
|
1997-12-01 07:49:16 +00:00
|
|
|
--with-DIR_LIB=${PREFIX}/lib \
|
1998-11-25 05:06:28 +00:00
|
|
|
--with-DIR_INC=${PREFIX}/include \
|
1999-06-06 23:20:18 +00:00
|
|
|
--with-DIR_MAN=${PREFIX}/man \
|
1997-01-09 10:48:53 +00:00
|
|
|
--with-CC="${CC}" --with-GCOPTS="${CFLAGS}" \
|
1999-11-24 23:37:02 +00:00
|
|
|
--with-DIRS_LIBINC=${LOCALBASE}/include \
|
1997-01-09 10:48:53 +00:00
|
|
|
--with-DIR_GZLIB=/usr/lib \
|
1999-11-24 23:37:02 +00:00
|
|
|
--with-DIR_JPEGLIB=${LOCALBASE}/lib \
|
1997-01-09 10:48:53 +00:00
|
|
|
--with-LIBGL=no --with-LIBIMAGE=no \
|
1999-05-10 19:57:21 +00:00
|
|
|
--with-INSTALL="${SH} ${WRKSRC}/port/install.sh" \
|
1997-01-09 10:48:53 +00:00
|
|
|
--noninteractive
|
1999-05-10 19:57:21 +00:00
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
1999-11-24 23:37:02 +00:00
|
|
|
PLIST= ${PKGDIR}/PLIST.nodocs
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-HTML --with-DIR_HTML=${PREFIX}/share/doc/tiff
|
1999-05-10 19:57:21 +00:00
|
|
|
.endif
|
|
|
|
|
1997-01-09 10:48:53 +00:00
|
|
|
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 \
|
1997-11-05 09:34:56 +00:00
|
|
|
tiffsplit.1 tiffsv.1
|
1999-12-23 19:18:38 +00:00
|
|
|
MAN3= TIFFClose.3t TIFFError.3t TIFFFlush.3t TIFFGetField.3t TIFFOpen.3t \
|
|
|
|
TIFFPrintDirectory.3t TIFFquery.3t TIFFRGBAImage.3t \
|
1997-01-09 10:48:53 +00:00
|
|
|
TIFFReadDirectory.3t TIFFReadEncodedStrip.3t TIFFReadEncodedTile.3t \
|
1999-11-24 23:37:02 +00:00
|
|
|
TIFFReadRGBAImage.3t TIFFReadRGBAStrip.3t TIFFReadRGBATile.3t \
|
|
|
|
TIFFReadRawStrip.3t TIFFReadRawTile.3t TIFFReadScanline.3t \
|
1999-12-23 19:18:38 +00:00
|
|
|
TIFFReadTile.3t TIFFSetDirectory.3t TIFFSetField.3t TIFFWarning.3t \
|
|
|
|
TIFFWriteDirectory.3t TIFFWriteEncodedStrip.3t \
|
1999-11-24 23:37:02 +00:00
|
|
|
TIFFWriteEncodedTile.3t TIFFWriteRawStrip.3t TIFFWriteRawTile.3t \
|
1999-12-04 23:06:47 +00:00
|
|
|
TIFFWriteScanline.3t TIFFWriteTile.3t TIFFbuffer.3t TIFFcodec.3t \
|
1999-12-23 19:18:38 +00:00
|
|
|
TIFFmemory.3t TIFFsize.3t TIFFstrip.3t TIFFswab.3t TIFFtile.3t \
|
|
|
|
libtiff.3t
|
|
|
|
MLINKS= TIFFError.3t TIFFSetErrorHandler.3t \
|
|
|
|
TIFFFlush.3t TIFFFlushData.3t \
|
|
|
|
TIFFGetField.3t TIFFVGetField.3t \
|
|
|
|
TIFFOpen.3t TIFFFdOpen.3t \
|
|
|
|
TIFFRGBAImage.3t TIFFRGBAImageBegin.3t \
|
|
|
|
TIFFRGBAImage.3t TIFFRGBAImageEnd.3t \
|
|
|
|
TIFFRGBAImage.3t TIFFRGBAImageGet.3t \
|
|
|
|
TIFFRGBAImage.3t TIFFRGBAImageOK.3t \
|
|
|
|
TIFFSetDirectory.3t TIFFSetSubDirectory.3t \
|
|
|
|
TIFFSetField.3t TIFFVSetField.3t \
|
|
|
|
TIFFWarning.3t TIFFSetWarningHandler.3t \
|
|
|
|
TIFFbuffer.3t TIFFReadBufferSetup.3t \
|
|
|
|
TIFFbuffer.3t TIFFWriteBufferSetup.3t \
|
|
|
|
TIFFcodec.3t TIFFFindCODEC.3t \
|
|
|
|
TIFFcodec.3t TIFFRegisterCODEC.3t \
|
|
|
|
TIFFcodec.3t TIFFUnRegisterCODEC.3t \
|
|
|
|
TIFFmemory.3t TIFFfree.3t \
|
|
|
|
TIFFmemory.3t TIFFmalloc.3t \
|
|
|
|
TIFFmemory.3t TIFFmemcmp.3t \
|
|
|
|
TIFFmemory.3t TIFFmemcpy.3t \
|
|
|
|
TIFFmemory.3t TIFFmemset.3t \
|
|
|
|
TIFFmemory.3t TIFFrealloc.3t \
|
|
|
|
TIFFquery.3t TIFFCurrentDirectory.3t \
|
|
|
|
TIFFquery.3t TIFFCurrentRow.3t \
|
|
|
|
TIFFquery.3t TIFFCurrentStrip.3t \
|
|
|
|
TIFFquery.3t TIFFCurrentTile.3t \
|
|
|
|
TIFFquery.3t TIFFFileName.3t \
|
|
|
|
TIFFquery.3t TIFFFileno.3t \
|
|
|
|
TIFFquery.3t TIFFGetMode.3t \
|
|
|
|
TIFFquery.3t TIFFIsByteSwapped.3t \
|
|
|
|
TIFFquery.3t TIFFIsMSB2LSB.3t \
|
|
|
|
TIFFquery.3t TIFFIsTiled.3t \
|
|
|
|
TIFFquery.3t TIFFIsUpSampled.3t \
|
|
|
|
TIFFquery.3t TIFFLastDirectory.3t \
|
|
|
|
TIFFsize.3t TIFFRasterScanlineSize.3t \
|
|
|
|
TIFFsize.3t TIFFScanlineSize.3t \
|
|
|
|
TIFFstrip.3t TIFFComputeStrip.3t \
|
|
|
|
TIFFstrip.3t TIFFDefaultStripSize.3t \
|
|
|
|
TIFFstrip.3t TIFFNumberOfStrips.3t \
|
|
|
|
TIFFstrip.3t TIFFStripSize.3t \
|
|
|
|
TIFFstrip.3t TIFFVStripSize.3t \
|
|
|
|
TIFFswab.3t TIFFReverseBits.3t \
|
|
|
|
TIFFswab.3t TIFFSwabArrayOfLong.3t \
|
|
|
|
TIFFswab.3t TIFFSwabArrayOfShort.3t \
|
|
|
|
TIFFswab.3t TIFFSwabLong.3t \
|
|
|
|
TIFFswab.3t TIFFSwabShort.3t \
|
|
|
|
TIFFtile.3t TIFFCheckTile.3t \
|
|
|
|
TIFFtile.3t TIFFComputeTile.3t \
|
|
|
|
TIFFtile.3t TIFFDefaultTileSize.3t \
|
|
|
|
TIFFtile.3t TIFFNumberOfTiles.3t \
|
|
|
|
TIFFtile.3t TIFFTileRowSize.3t \
|
|
|
|
TIFFtile.3t TIFFTileSize.3t \
|
|
|
|
TIFFtile.3t TIFFVTileSize.3t \
|
1998-11-25 06:13:41 +00:00
|
|
|
|
1997-01-09 10:48:53 +00:00
|
|
|
post-install:
|
1998-09-18 22:04:16 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1997-01-09 10:48:53 +00:00
|
|
|
|
1999-11-24 23:37:02 +00:00
|
|
|
.include <bsd.port.mk>
|