e082b0f6f3
DYNLIBDIR() invocations. Bump NEED_VERSION to 1.310 so DYNLIBDIR() works. As requested by espie@
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.19 2000/07/04 02:09:25 krw Exp $
|
|
|
|
DISTNAME= tiff-v3.5.5
|
|
PKGNAME= tiff-3.5.5
|
|
CATEGORIES= graphics
|
|
NEED_VERSION= 1.310
|
|
MASTER_SITES= http://www.libtiff.org/
|
|
|
|
HOMEPAGE= http://www.libtiff.org/
|
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg
|
|
|
|
MAINTAINER= brad@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
CONFIGURE_STYLE= simple
|
|
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>
|