pkgsrc/graphics/leptonica/Makefile

35 lines
1,019 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2017/06/14 14:26:24 fhajny Exp $
DISTNAME= leptonica-1.74.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=danbloomberg/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.leptonica.org/
COMMENT= Software for image processing and image analysis applications
LICENSE= 2-clause-bsd
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
2014-10-02 15:20:54 +02:00
.include "../../mk/bsd.prefs.mk"
# The presence of fmemopen() assumes open_memstream() is also available,
# which is wrong on platforms other than Linux.
.if ${OPSYS} != "Linux"
CONFIGURE_ENV+= ac_cv_func_fmemopen=no
.endif
2015-02-09 12:11:25 +01:00
# Pass a SunOS that the build relies on
CPPFLAGS.SunOS+= -D__SOLARIS__=1
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/openjpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"