75f899d2a9
Leptonica is a pedagogically-oriented open source site containing software that is broadly useful for image processing and image analysis applications. "looks good and tested on macppc" sebastia@ ok benoit@
35 lines
773 B
Makefile
Executable File
35 lines
773 B
Makefile
Executable File
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/22 09:46:46 ajacoutot Exp $
|
|
|
|
COMMENT= image processing and analysis library
|
|
|
|
DISTNAME= leptonica-1.68
|
|
|
|
SHARED_LIBS += lept 0.0 # 2.0
|
|
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= http://www.leptonica.com/
|
|
|
|
# BSD-like (see leptonica-license.txt in WRKSRC)
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c gif jpeg m png tiff webp z
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/source/
|
|
|
|
LIB_DEPENDS= graphics/libwebp \
|
|
graphics/libungif \
|
|
graphics/tiff
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lm -lz"
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
|
|
.include <bsd.port.mk>
|