# New ports collection makefile for:	libdmtx
# Date created:				16 April 2009
# Whom:					johans
#
# $FreeBSD: branches/RELEASE_8_4_0/graphics/libdmtx/Makefile 308713 2012-12-11 20:54:22Z beech $
#

PORTNAME=	libdmtx
PORTVERSION=	0.7.4
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	SF

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

LIB_DEPENDS=	MagickWand:${PORTSDIR}/graphics/ImageMagick

MAN3=		libdmtx.3

USE_BZIP2=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

post-patch:
	${REINPLACE_CMD} -e '/^pkgconfigdir /s:(libdir):{prefix}/libdata:' \
		${WRKSRC}/Makefile.in

.include <bsd.port.mk>
