# -*- 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
description Tool for opencv to learn to recognize objects
long_description ${description}
homepage http://www.cs.utah.edu/~turcsans/DUC_files/HaarTraining/
distfiles ObjectMarker.cpp
dist_subdir ${name}/${version}
depends_build port:pkgconfig
checksums sha1 ba58d18320d50f01f9e7e861100a298403e7cd7c \
rmd160 32946c7a8950ed505150f716c77576438ebe7494
file copy ${distpath}/ObjectMarker.cpp ${worksrcpath}/
patchfiles patch-ObjectMarker.cpp.diff
system -W ${worksrcpath} "${configure.cxx} [get_canonical_archflags] ObjectMarker.cpp `pkg-config --cflags opencv` -o objectmarker `pkg-config --libs opencv`"
xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
livecheck.url [lindex ${master_sites} 0]${distfiles}