Makefile 675 B

12345678910111213141516171819202122232425262728293031
  1. # $OpenBSD: Makefile,v 1.30 2016/03/11 19:59:14 naddy Exp $
  2. COMMENT = color management library
  3. DISTNAME = lcms-1.19
  4. CATEGORIES = graphics
  5. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=lcms/}
  6. SHARED_LIBS += lcms 2.0 # 1.19
  7. HOMEPAGE = http://www.littlecms.com/
  8. LIB_DEPENDS += graphics/jpeg \
  9. graphics/tiff
  10. # MIT
  11. PERMIT_PACKAGE_CDROM = Yes
  12. WANTLIB = c m z jpeg tiff
  13. CONFIGURE_STYLE = gnu
  14. CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
  15. LDFLAGS="-L${LOCALBASE}/lib"
  16. #WRKDIST = ${WRKDIR}/lcms-1.18
  17. post-install:
  18. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lcms
  19. ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/lcms
  20. .include <bsd.port.mk>