Makefile 705 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.16 2017/04/28 18:12:36 ajacoutot Exp $
  2. COMMENT= image processing and analysis library
  3. DISTNAME= leptonica-1.74
  4. SHARED_LIBS += lept 2.2 # 5.0
  5. CATEGORIES= graphics
  6. HOMEPAGE= http://www.leptonica.com/
  7. # BSD-like (see leptonica-license.txt in WRKSRC)
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB += c gif jpeg m openjp2 png tiff webp z
  10. MASTER_SITES= ${HOMEPAGE}/source/
  11. LIB_DEPENDS= graphics/libwebp \
  12. graphics/giflib \
  13. graphics/openjp2 \
  14. graphics/tiff
  15. TEST_DEPENDS= shells/bash \
  16. math/gnuplot
  17. CONFIGURE_STYLE=autoconf
  18. AUTOCONF_VERSION=2.68
  19. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  20. LDFLAGS="-L${LOCALBASE}/lib -lm -lz"
  21. .include <bsd.port.mk>