Ticket #34838: Portfile.orig

File Portfile.orig, 3.0 KB (added by andi.dhroso@…, 12 years ago)

Files produced during patch

Line 
1# $Id: Portfile 90311 2012-03-01 18:37:57Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             vxl
6version          1.14.0
7revision         1
8set branch       [join [lrange [split ${version} .] 0 1] .]
9categories       devel
10maintainers      maeth.com:wiking
11description      C++ libraries for computer vision
12long_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.
18homepage         http://vxl.sourceforge.net/
19platforms        darwin
20
21master_sites     sourceforge:project/vxl/vxl/${branch}
22use_zip          yes
23checksums        md5    0329521f2fda61d2835e7b3c7c1189df \
24                 sha1   db42cfce42448c40d37fcdd3127e6d586660c8c3 \
25                 rmd160 2b7c72ead698d928cfd5d56205b2e1b3f7f2fef9
26
27# error: integer constant is too large for 'long' type
28universal_variant no
29
30patchfiles      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
44post-patch {
45        file delete ${worksrcpath}/contrib/mul/vil3d/Templates/vil3d_tricub_interp+uint-.cxx
46}
47
48depends_build    port:cmake
49
50depends_lib      path:lib/libavcodec.dylib:ffmpeg \
51                 port:libgeotiff \
52                 port:libpng
53
54configure.cmd      ${prefix}/bin/cmake
55configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}
56configure.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
62use_parallel_build no
63
64# shuffle directories around to turn ${prefix}/lib into ${prefix}/lib/${name}
65post-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
71livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
72