1 | # $Id: Portfile 90311 2012-03-01 18:37:57Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name vxl |
---|
6 | version 1.14.0 |
---|
7 | revision 1 |
---|
8 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
9 | categories devel |
---|
10 | maintainers maeth.com:wiking |
---|
11 | description C++ libraries for computer vision |
---|
12 | long_description \ |
---|
13 | VXL (the Vision-something-Libraries) is a collection of C++ libraries \ |
---|
14 | designed for computer vision research and implementation. It was \ |
---|
15 | created from TargetJr and the IUE with the aim of making a light, \ |
---|
16 | fast and consistent system. VXL is written in ANSI/ISO C++ and is \ |
---|
17 | designed to be portable over many platforms. |
---|
18 | homepage http://vxl.sourceforge.net/ |
---|
19 | platforms darwin |
---|
20 | |
---|
21 | master_sites sourceforge:project/vxl/vxl/${branch} |
---|
22 | use_zip yes |
---|
23 | checksums md5 0329521f2fda61d2835e7b3c7c1189df \ |
---|
24 | sha1 db42cfce42448c40d37fcdd3127e6d586660c8c3 \ |
---|
25 | rmd160 2b7c72ead698d928cfd5d56205b2e1b3f7f2fef9 |
---|
26 | |
---|
27 | # error: integer constant is too large for 'long' type |
---|
28 | universal_variant no |
---|
29 | |
---|
30 | patchfiles patch-contrib__gel__mrc__vpgl__txx-clang-compatibility.diff \ |
---|
31 | patch-contrib__prip__vmap__vmap_2_map.txx.diff \ |
---|
32 | patch-contrib__prip__vmap__vmap_ptr_sequences.h-clang-compatibility.diff \ |
---|
33 | patch-contrib__prip__vpyr__vpyr_2_pyramid_level_elts.h-clang-compatibility.diff \ |
---|
34 | patch-contrib__prip__vpyr__vpyr_2_tpyramid_level_elts.h-clang-compatibility.diff \ |
---|
35 | patch-contrib__rpl__rgrl__rgrl_est_proj_rad_func.txx-clang-compatibility.diff \ |
---|
36 | patch-contrib__tbl__vipl__txx-clang-compatibility.diff \ |
---|
37 | patch-core__examples__vnl_calc__vnl_calc.cxx-clang-compatibility.diff \ |
---|
38 | patch-core__vil__tests__test_image_resource.cxx-clang-compatibility.diff \ |
---|
39 | patch-core__vil__tests__test_image_view.cxx-clang-compatibility.diff \ |
---|
40 | patch-core__vnl__vnl_matrix_fixed_ref.h-clang-compatibility.diff \ |
---|
41 | patch-v3p__mpeg2__libmpeg2__idct_altivec.c \ |
---|
42 | patch-v3p__mpeg2__libmpeg2__motion_comp_altivec.c |
---|
43 | |
---|
44 | post-patch { |
---|
45 | file delete ${worksrcpath}/contrib/mul/vil3d/Templates/vil3d_tricub_interp+uint-.cxx |
---|
46 | } |
---|
47 | |
---|
48 | depends_build port:cmake |
---|
49 | |
---|
50 | depends_lib path:lib/libavcodec.dylib:ffmpeg \ |
---|
51 | port:libgeotiff \ |
---|
52 | port:libpng |
---|
53 | |
---|
54 | configure.cmd ${prefix}/bin/cmake |
---|
55 | configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} |
---|
56 | configure.args -DBUILD_SHARED_LIBS=YES \ |
---|
57 | -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/${name} \ |
---|
58 | -DCMAKE_CXX_FLAGS=\"${configure.cxxflags} -Werror=gnu\" \ |
---|
59 | -DBUILD_BRL=NO \ |
---|
60 | ${worksrcpath} |
---|
61 | |
---|
62 | use_parallel_build no |
---|
63 | |
---|
64 | # shuffle directories around to turn ${prefix}/lib into ${prefix}/lib/${name} |
---|
65 | post-destroot { |
---|
66 | file rename ${destroot}${prefix}/lib ${destroot}${prefix}/tmp |
---|
67 | file mkdir ${destroot}${prefix}/lib |
---|
68 | file rename ${destroot}${prefix}/tmp ${destroot}${prefix}/lib/${name} |
---|
69 | } |
---|
70 | |
---|
71 | livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix} |
---|
72 | |
---|