1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 55062 2009-08-06 13:23:51Z snc@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libvpx-devel |
---|
7 | version 0.9.0_31 |
---|
8 | revision 0 |
---|
9 | categories multimedia |
---|
10 | maintainers davidfavor.com:david |
---|
11 | description VP8 encoder/decoder |
---|
12 | long_description VP8 encoder/decoder |
---|
13 | |
---|
14 | homepage http://www.webmproject.org/code/ |
---|
15 | platforms darwin |
---|
16 | |
---|
17 | depends_build port:yasm |
---|
18 | |
---|
19 | fetch.type git |
---|
20 | git.url git://review.webmproject.org/libvpx.git |
---|
21 | #git.branch v0.9.0-27-ge80d569 |
---|
22 | git.branch v0.9.0-31-ga7bb336 |
---|
23 | |
---|
24 | depends_build port:yasm |
---|
25 | |
---|
26 | # munge odd configure/build/install phase |
---|
27 | |
---|
28 | use_parallel_build no |
---|
29 | #universal_variant no |
---|
30 | |
---|
31 | build.cmd make |
---|
32 | build.target |
---|
33 | build.args |
---|
34 | |
---|
35 | configure.pre_args-delete --prefix=${prefix} |
---|
36 | configure.args --target=${configure.build_arch}-darwin9-gcc \ |
---|
37 | --enable-vp8 \ |
---|
38 | --enable-psnr \ |
---|
39 | --enable-postproc \ |
---|
40 | --enable-multithread \ |
---|
41 | --enable-runtime-cpu-detect |
---|
42 | |
---|
43 | # libvpx has no 'make install' phase, so manually install required files |
---|
44 | |
---|
45 | #destroot.cmd |
---|
46 | #destroot.target |
---|
47 | |
---|
48 | install { |
---|
49 | ui_msg "prefix=${prefix} destroot=${destroot}" |
---|
50 | ui_msg "workpath=${workpath} worksrcdir=${worksrcdir} worksrcpath=${worksrcpath}" |
---|
51 | #xinstall xinstall -m 644 ${worksrcpath}/vp8/*.h ${prefix}/include |
---|
52 | #xinstall xinstall -m 644 ${worksrcpath}/vpx_codec/*.h ${prefix}/include |
---|
53 | #xinstall xinstall -m 644 ${worksrcpath}/vpx_ports/*.h ${prefix}/include |
---|
54 | #xinstall xinstall -m 644 ${worksrcpath}/*libvpx*.a ${prefix}/lib |
---|
55 | } |
---|