Makefile 805 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.81 2017/05/26 20:50:57 naddy Exp $
  2. COMMENT= tools and library routines for working with TIFF images
  3. DISTNAME= tiff-4.0.8
  4. SHARED_LIBS= tiff 40.1 # 7.6
  5. SHARED_LIBS+= tiffxx 40.1 # 7.6
  6. CATEGORIES= graphics
  7. MASTER_SITES= http://download.osgeo.org/libtiff/
  8. HOMEPAGE= http://www.simplesystems.org/libtiff/
  9. LIB_DEPENDS= graphics/jpeg
  10. WANTLIB= c m ${LIBCXX} z jpeg
  11. # BSD
  12. PERMIT_PACKAGE_CDROM= Yes
  13. CONFIGURE_STYLE=gnu
  14. CONFIGURE_ARGS= --disable-jbig \
  15. --disable-lzma \
  16. --with-docdir="${PREFIX}/share/doc/tiff" \
  17. --with-jpeg-include-dir="${LOCALBASE}/include" \
  18. --with-jpeg-lib-dir="${LOCALBASE}/lib" \
  19. --without-x
  20. SEPARATE_BUILD= Yes
  21. MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
  22. post-install:
  23. cd ${PREFIX}/share/doc/tiff && mv html/* . && rmdir html
  24. .include <bsd.port.mk>