# -*- 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$ PortSystem 1.0 name objectmarker version 20070501 revision 1 categories graphics license none platforms darwin maintainers nomaintainer description Tool for opencv to learn to recognize objects long_description ${description} homepage http://www.cs.utah.edu/~turcsans/DUC_files/HaarTraining/ master_sites ${homepage} distfiles ObjectMarker.cpp dist_subdir ${name}/${version} depends_build port:pkgconfig depends_lib port:opencv extract.only checksums sha1 ba58d18320d50f01f9e7e861100a298403e7cd7c \ rmd160 32946c7a8950ed505150f716c77576438ebe7494 extract.mkdir yes post-extract { file copy ${distpath}/ObjectMarker.cpp ${worksrcpath}/ } patchfiles patch-ObjectMarker.cpp.diff use_configure no build { system -W ${worksrcpath} "${configure.cxx} [get_canonical_archflags] ObjectMarker.cpp `pkg-config --cflags opencv` -o objectmarker `pkg-config --libs opencv`" } destroot { xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ } livecheck.type moddate livecheck.url [lindex ${master_sites} 0]${distfiles}