1997-12-01 07:49:16 +00:00
|
|
|
# New ports collection makefile for: tiff
|
|
|
|
# Version required: 3.4
|
1997-01-09 10:48:53 +00:00
|
|
|
# Date created: 8 October 1996
|
|
|
|
# Whom: Richard Hwang <rhwang@bigpanda.com>
|
|
|
|
# Mikhail Teterin <mi@aldan.ziplink.net>
|
1997-05-26 02:16:39 +00:00
|
|
|
# Jun-ichiro itojun Itoh <itojun@itojun.org>
|
1997-01-09 10:48:53 +00:00
|
|
|
#
|
1998-02-09 07:26:49 +00:00
|
|
|
# $Id: Makefile,v 1.5 1997/12/01 07:49:07 tg Exp $
|
1997-01-09 10:48:53 +00:00
|
|
|
#
|
|
|
|
|
1997-05-26 02:16:39 +00:00
|
|
|
DISTNAME= tiff-v3.4
|
|
|
|
PKGNAME= tiff-3.4
|
1997-01-09 10:48:53 +00:00
|
|
|
CATEGORIES= graphics
|
1998-02-09 07:26:49 +00:00
|
|
|
MASTER_SITES= ftp://ftp.sgi.com/graphics/tiff/
|
1997-01-09 10:48:53 +00:00
|
|
|
EXTRACT_SUFX= -tar.gz
|
|
|
|
|
1997-11-05 09:34:56 +00:00
|
|
|
MAINTAINER= itojun@itojun.org
|
1997-05-26 02:16:39 +00:00
|
|
|
|
1997-01-09 10:48:53 +00:00
|
|
|
LIB_DEPENDS= jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-ZIP --with-JPEG --with-DIR_BIN=${PREFIX}/bin \
|
1997-12-01 07:49:16 +00:00
|
|
|
--with-DIR_LIB=${PREFIX}/lib \
|
|
|
|
--with-DIR_INC=${PREFIX}/include/tiff34 \
|
1997-01-09 10:48:53 +00:00
|
|
|
--with-CC="${CC}" --with-GCOPTS="${CFLAGS}" \
|
|
|
|
--with-DIRS_LIBINC=${PREFIX}/include \
|
|
|
|
--with-DIR_GZLIB=/usr/lib \
|
|
|
|
--with-DIR_JPEGLIB=${PREFIX}/lib \
|
|
|
|
--with-LIBGL=no --with-LIBIMAGE=no \
|
|
|
|
--with-INSTALL="/bin/sh ${WRKSRC}/port/install.sh" \
|
|
|
|
--noninteractive
|
|
|
|
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
|
1997-01-09 10:48:53 +00:00
|
|
|
MAN3= TIFFCheckTile.3t TIFFClose.3t TIFFComputeStrip.3t TIFFComputeTile.3t \
|
|
|
|
TIFFCurrentDirectory.3t TIFFCurrentRow.3t TIFFCurrentStrip.3t \
|
|
|
|
TIFFCurrentTile.3t TIFFDefaultStripSize.3t TIFFDefaultTileSize.3t \
|
|
|
|
TIFFError.3t TIFFFdOpen.3t TIFFFileName.3t TIFFFileno.3t \
|
|
|
|
TIFFFindCODEC.3t TIFFFlush.3t TIFFFlushData.3t TIFFGetField.3t \
|
|
|
|
TIFFGetMode.3t TIFFIsByteSwapped.3t TIFFIsMSB2LSB.3t TIFFIsTiled.3t \
|
|
|
|
TIFFIsUpSampled.3t TIFFLastDirectory.3t TIFFNumberOfStrips.3t \
|
|
|
|
TIFFNumberOfTiles.3t TIFFOpen.3t TIFFPrintDirectory.3t \
|
|
|
|
TIFFRGBAImage.3t TIFFRGBAImageBegin.3t TIFFRGBAImageEnd.3t \
|
|
|
|
TIFFRGBAImageGet.3t TIFFRGBAImageOK.3t TIFFReadBufferSetup.3t \
|
|
|
|
TIFFReadDirectory.3t TIFFReadEncodedStrip.3t TIFFReadEncodedTile.3t \
|
|
|
|
TIFFReadRGBAImage.3t TIFFReadRawStrip.3t TIFFReadRawTile.3t \
|
|
|
|
TIFFReadScanline.3t TIFFReadTile.3t TIFFRegisterCODEC.3t \
|
|
|
|
TIFFReverseBits.3t TIFFScanlineSize.3t TIFFSetDirectory.3t \
|
|
|
|
TIFFSetErrorHandler.3t TIFFSetField.3t TIFFSetSubDirectory.3t \
|
|
|
|
TIFFSetWarningHandler.3t TIFFStripSize.3t TIFFSwabArrayOfLong.3t \
|
|
|
|
TIFFSwabArrayOfShort.3t TIFFSwabLong.3t TIFFSwabShort.3t \
|
|
|
|
TIFFTileRowSize.3t TIFFTileSize.3t TIFFUnRegisterCODEC.3t \
|
|
|
|
TIFFVGetField.3t TIFFVSetField.3t TIFFVStripSize.3t TIFFVTileSize.3t \
|
|
|
|
TIFFWarning.3t TIFFWriteBufferSetup.3t TIFFWriteDirectory.3t \
|
|
|
|
TIFFWriteEncodedStrip.3t TIFFWriteEncodedTile.3t TIFFWriteRawStrip.3t \
|
|
|
|
TIFFWriteRawTile.3t TIFFWriteScanline.3t TIFFbuffer.3t TIFFcodec.3t \
|
|
|
|
TIFFfree.3t TIFFmalloc.3t TIFFmemcmp.3t TIFFmemcpy.3t TIFFmemory.3t \
|
|
|
|
TIFFmemset.3t TIFFquery.3t TIFFrealloc.3t TIFFsize.3t TIFFstrip.3t \
|
1997-11-05 09:34:56 +00:00
|
|
|
TIFFswab.3t TIFFtile.3t libtiff.3t
|
1997-01-09 10:48:53 +00:00
|
|
|
|
1997-12-01 07:49:16 +00:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/tiff
|
1997-05-26 02:16:39 +00:00
|
|
|
|
1997-01-09 10:48:53 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
1997-05-26 02:16:39 +00:00
|
|
|
@${MKDIR} ${DOCDIR}/images
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/html/images/* ${DOCDIR}/images
|
1997-01-09 10:48:53 +00:00
|
|
|
.endif
|
1997-05-26 02:16:39 +00:00
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
1997-01-09 10:48:53 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|