c83a88387e
to enable the use of Fake - ldconfig is no longer needed for post-install target with the use of Fake
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2000/03/06 21:17:45 brad Exp $
|
|
|
|
DISTNAME= tiff-v3.5.4
|
|
PKGNAME= tiff-3.5.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.libtiff.org/
|
|
|
|
NEED_VERSION= 1.223
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
LICENSE_TYPE= BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
LIB_DEPENDS= jpeg.62:graphics/jpeg
|
|
|
|
FAKE= Yes
|
|
|
|
HAS_CONFIGURE= Yes
|
|
CONFIGURE_ARGS= --with-ZIP --with-JPEG --with-DIR_BIN='$${DESTDIR}${PREFIX}/bin' \
|
|
--with-DIR_LIB='$${DESTDIR}${PREFIX}/lib' \
|
|
--with-DIR_INC='$${DESTDIR}${PREFIX}/include' \
|
|
--with-DIR_MAN='$${DESTDIR}${PREFIX}/man' \
|
|
--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="sh ${WRKSRC}/port/install.sh" \
|
|
--noninteractive
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/tiff
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR}/images
|
|
${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>
|