openbsd-ports/graphics/tiff/Makefile
2010-11-17 08:05:12 +00:00

36 lines
854 B
Makefile

# $OpenBSD: Makefile,v 1.57 2010/11/17 08:05:16 espie Exp $
COMMENT= tools and library routines for working with TIFF images
DISTNAME= tiff-3.9.4
SHARED_LIBS= tiff 38.3 # 39.4
SHARED_LIBS+= tiffxx 39.3 # 39.4
CATEGORIES= graphics
MASTER_SITES= http://download.osgeo.org/libtiff/
HOMEPAGE= http://www.remotesensing.org/libtiff/
LIB_DEPENDS= graphics/jpeg
WANTLIB= c m stdc++ z jpeg>=64
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_LIBTOOL= Yes
USE_GROFF = Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-jbig \
--with-docdir="${PREFIX}/share/doc/tiff" \
--with-jpeg-include-dir="${LOCALBASE}/include" \
--with-jpeg-lib-dir="${LOCALBASE}/lib" \
--without-x
SEPARATE_BUILD= simple
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
.include <bsd.port.mk>