PortSystem 1.0 name libmatroska version 0.6.1 revision 0 categories multimedia maintainers pguyot@kallisys.net description Matroska is an extensible open standard audio/video container format. long_description \ Matroska is an extensible open standard audio/video container \ format. This library is there to support this format and has \ been written by the Matroska project team. homepage http://www.matroska.org/ platforms darwin master_sites http://matroska.free.fr/downloads/libmatroska/ checksums md5 61d5665e7c1050aa934aecc57cf392cd # depends on libebml depends_build lib:libebml.a:libebml # No configuration step. configure {} # The linux Makefile will do it. post-extract { cd "${worksrcpath}/make" system "cp -r linux darwin" } # The makefile is not at the root of the archive. # Also, PREFIX is spelled prefix # I'm all for tests, but it won't work with destrootification. # So I run them in the destroot. # I'm not sure if I can compare the output of test8 with some master file which I cannot find. build { cd "${worksrcpath}/make/darwin" system "make prefix=${prefix} LIBEBML_INCLUDE_DIR=${prefix}/include LIBEBML_LIB_DIR=${prefix}/lib lib" system "make prefix=${destroot}${prefix} LIBEBML_INCLUDE_DIR=${prefix}/include LIBEBML_LIB_DIR=${prefix}/lib test" system "./test6" system "./test8" system "./test9" } destroot { cd "${worksrcpath}/make/darwin" system "make prefix=${destroot}${prefix} install" }