# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 85170 2011-10-10 19:33:48Z snc@macports.org $

PortSystem 1.0

name          libdmtx
version       0.7.2

categories    graphics
maintainers   mr_bond openmaintainer
license             LGPL-2.1+
platforms     darwin
use_bzip2     yes
description   Data Matrix library

long_description \
  libdmtx is open source software for reading and writing Data Matrix \
  barcodes. Data Matrix barcodes are two-dimensional symbols that hold a \
  dense pattern of data with built-in error correction. The Data Matrix \
  symbology (sometimes casually referred to as DataMatrix) was \
  invented and released into the public domain by RVSI Acuity CiMatrix. \
  Wikipedia has a good article on the symbology and its characteristics.

patchfiles    patch-util-common-libdmtx.c.diff

homepage      http://www.libdmtx.org/
master_sites  sourceforge

checksums \
        md5  0684cf3857591e777b57248d652444ae \
        sha1  4f71ea1ecc3d57a1e0ec8cc394ac6ef162f73f9e \
        rmd160  d022a785a50a5fc5ba4be432709f43fbddd25f72

depends_build       port:pkgconfig
depends_lib         port:ImageMagick

platform macosx {
    configure.args-append --enable-cocoa
}
