# Created by: johans
# $FreeBSD: tags/RELEASE_12_1_0/graphics/dmtx-utils/Makefile 484640 2018-11-10 19:57:07Z kwm $

PORTNAME=	dmtx-utils
PORTVERSION=	0.7.4
PORTREVISION=	5
CATEGORIES=	graphics
MASTER_SITES=	SF/libdmtx/libdmtx/${PORTVERSION}

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	Software for reading and writing Data Matrix barcodes

LICENSE=	LGPL21+

LIB_DEPENDS=	libdmtx.so:graphics/libdmtx \
		libMagickWand-6.so:graphics/ImageMagick6 \
		libMagickCore-6.so:graphics/ImageMagick6

USES=		localbase tar:bzip2 pkgconfig
GNU_CONFIGURE=	yes
PLIST_FILES=	bin/dmtxread bin/dmtxwrite bin/dmtxquery \
		man/man1/dmtxread.1.gz man/man1/dmtxwrite.1.gz \
		man/man1/dmtxquery.1.gz

.include <bsd.port.mk>
