Makefile 814 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.13 2016/03/11 19:59:14 naddy Exp $
  2. COMMENT = color management library
  3. DISTNAME = lcms2-2.7
  4. CATEGORIES = graphics
  5. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=lcms/}
  6. SHARED_LIBS += lcms2 1.1 # 2.7
  7. HOMEPAGE = http://www.littlecms.com/
  8. # MIT
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += c jpeg m pthread tiff z
  11. LIB_DEPENDS = graphics/tiff
  12. CONFIGURE_STYLE = gnu
  13. CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
  14. LDFLAGS="-L${LOCALBASE}/lib"
  15. DOCDIR = ${PREFIX}/share/doc/lcms2
  16. post-install:
  17. ${INSTALL_DATA_DIR} ${DOCDIR}
  18. cd ${WRKSRC}/doc; \
  19. ${INSTALL_DATA} LittleCMS2.??API.pdf ${DOCDIR}/api.pdf; \
  20. ${INSTALL_DATA} LittleCMS2*Plugin?API.pdf ${DOCDIR}/plugin-api.pdf; \
  21. ${INSTALL_DATA} LittleCMS2*tutorial.pdf ${DOCDIR}/tutorial.pdf
  22. .include <bsd.port.mk>