openbsd-ports/graphics/tiff/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.9 2000/02/15 05:04:34 turan Exp $
1999-10-26 18:05:20 -04:00
DISTNAME= tiff-v3.5.4
PKGNAME= tiff-3.5.4
1999-10-26 18:05:20 -04:00
CATEGORIES= graphics
MASTER_SITES= http://www.libtiff.org/
NEED_VERSION= 1.64
MAINTAINER= brad@openbsd.org
2000-02-12 01:29:49 -05:00
LICENSE_TYPE= BSD
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
2000-02-12 01:29:49 -05:00
1999-10-26 18:05:20 -04:00
LIB_DEPENDS= jpeg.62:${PORTSDIR}/graphics/jpeg
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-ZIP --with-JPEG --with-DIR_BIN="${PREFIX}/bin" \
--with-DIR_LIB="${PREFIX}/lib" \
--with-DIR_INC="${PREFIX}/include" \
--with-DIR_MAN="${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" \
1999-10-26 18:05:20 -04:00
--noninteractive
DOCDIR= ${PREFIX}/share/doc/tiff
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
@${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>