openbsd-ports/graphics/leptonica/Makefile
2016-08-27 15:20:03 +00:00

33 lines
705 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.15 2016/08/27 15:20:03 ajacoutot Exp $
COMMENT= image processing and analysis library
DISTNAME= leptonica-1.73
SHARED_LIBS += lept 2.2 # 5.0
CATEGORIES= graphics
HOMEPAGE= http://www.leptonica.com/
# BSD-like (see leptonica-license.txt in WRKSRC)
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c gif jpeg m openjp2 png tiff webp z
MASTER_SITES= ${HOMEPAGE}/source/
LIB_DEPENDS= graphics/libwebp \
graphics/giflib \
graphics/openjp2 \
graphics/tiff
TEST_DEPENDS= shells/bash \
math/gnuplot
CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION=2.68
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lm -lz"
.include <bsd.port.mk>