COMMENT =	encode bi-level images with JBIG2

SHARED_LIBS =	jbig2enc		0.0	# 0.0
CATEGORIES =	graphics

# Apache v2
PERMIT_PACKAGE = Yes

GH_ACCOUNT =	agl
GH_PROJECT =	jbig2enc
GH_TAGNAME =	0.32

WANTLIB =	${COMPILER_LIBCXX} c leptonica

# requires C++17 support
COMPILER =	base-clang ports-gcc

MODULES =	devel/meson

LIB_DEPENDS =	graphics/leptonica

CONFIGURE_STYLE = meson

.include <bsd.port.mk>
