source: trunk/dports/graphics/objectmarker/Portfile

Last change on this file was 135898, checked in by petr@…, 2 years ago

objectmarker: set nomaintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 135898 2015-05-06 15:07:44Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                objectmarker
7version             20070501
8revision            1
9categories          graphics
10license             none
11platforms           darwin
12maintainers         nomaintainer
13 
14description         Tool for opencv to learn to recognize objects
15
16long_description    ${description}
17
18homepage            http://www.cs.utah.edu/~turcsans/DUC_files/HaarTraining/
19master_sites        ${homepage}
20
21distfiles           ObjectMarker.cpp
22dist_subdir         ${name}/${version}
23
24depends_build       port:pkgconfig
25
26depends_lib         port:opencv
27
28extract.only
29
30checksums           sha1    ba58d18320d50f01f9e7e861100a298403e7cd7c \
31                    rmd160  32946c7a8950ed505150f716c77576438ebe7494
32
33extract.mkdir       yes
34
35post-extract {
36    file copy ${distpath}/ObjectMarker.cpp ${worksrcpath}/
37}
38
39patchfiles          patch-ObjectMarker.cpp.diff
40
41use_configure       no
42
43build {
44    system -W ${worksrcpath} "${configure.cxx} [get_canonical_archflags] ObjectMarker.cpp `pkg-config --cflags opencv` -o objectmarker `pkg-config --libs opencv`"
45}
46
47destroot {
48    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
49}
50
51livecheck.type      moddate
52livecheck.url       [lindex ${master_sites} 0]${distfiles}
Note: See TracBrowser for help on using the repository browser.