# Created by: johans
# $FreeBSD: tags/RELEASE_10_1_0/graphics/dmtx-utils/Makefile 358675 2014-06-21 07:38:32Z marino $

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

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

LIB_DEPENDS=	libdmtx.so:${PORTSDIR}/graphics/libdmtx

USES=		tar:bzip2 pkgconfig
GNU_CONFIGURE=	yes
CFLAGS+=	-I${LOCALBASE}/include

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>
