2002-01-23 23:55:50 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2002/01/24 04:55:50 brad Exp $
|
2001-04-13 19:53:27 -04:00
|
|
|
|
2002-01-19 04:34:42 -05:00
|
|
|
COMMENT= "tools and library routines for working with TIFF images"
|
1999-10-26 18:05:20 -04:00
|
|
|
|
2002-01-19 04:34:42 -05:00
|
|
|
DISTNAME= tiff-v3.5.7
|
|
|
|
PKGNAME= tiff-3.5.7
|
1999-10-26 18:05:20 -04:00
|
|
|
CATEGORIES= graphics
|
2002-01-19 04:34:42 -05:00
|
|
|
NEED_VERSION= 1.500
|
|
|
|
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/
|
1999-10-26 18:05:20 -04:00
|
|
|
|
2000-06-27 21:48:22 -04:00
|
|
|
HOMEPAGE= http://www.libtiff.org/
|
|
|
|
|
2000-06-14 14:24:55 -04:00
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg
|
|
|
|
|
2000-09-24 03:03:59 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1999-10-26 18:05:20 -04:00
|
|
|
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2000-06-14 14:24:55 -04:00
|
|
|
CONFIGURE_STYLE= simple
|
2002-01-19 04:34:42 -05:00
|
|
|
CONFIGURE_ARGS= --prefix="${PREFIX}" --with-ZIP --with-JPEG \
|
1999-10-26 18:05:20 -04:00
|
|
|
--with-CC="${CC}" --with-GCOPTS="${CFLAGS}" \
|
2002-01-19 04:34:42 -05:00
|
|
|
--with-DIRS_LIBINC="${LOCALBASE}/include" \
|
|
|
|
--with-OPTIMIZER="" --with-DIR_GZLIB="/usr/lib" \
|
|
|
|
--with-DIR_JPEGLIB="${LOCALBASE}/lib" \
|
1999-10-26 18:05:20 -04:00
|
|
|
--with-LIBGL="no" --with-LIBIMAGE="no" \
|
2000-01-01 16:28:30 -05:00
|
|
|
--with-INSTALL="sh ${WRKSRC}/port/install.sh" \
|
1999-10-26 18:05:20 -04:00
|
|
|
--noninteractive
|
|
|
|
|
2002-01-23 23:55:50 -05:00
|
|
|
# Internal Compiler Error
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
|
|
|
PATCH_LIST= patch-* sup-sparc64
|
|
|
|
.endif
|
|
|
|
|
1999-10-26 18:05:20 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/tiff
|
|
|
|
|
2001-10-10 15:28:50 -04:00
|
|
|
post-extract:
|
|
|
|
@cp -f ${PORTSDIR}/infrastructure/db/config.guess ${WRKSRC}
|
|
|
|
|
1999-10-26 18:05:20 -04:00
|
|
|
post-install:
|
2000-02-04 22:59:04 -05:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}/images
|
1999-10-26 18:05:20 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/html/images/*.gif ${DOCDIR}/images
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/html/images/*.jpg ${DOCDIR}/images
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|