Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/1221

Submitted by:	pguyot@kallisys.net (Paul Guyot)

new port libmatroska.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4138 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Dec 6, 2003
1 parent 070b071 commit 5a50ec8a6410567e1424a698686875fc14d25d0b
Showing with 40 additions and 0 deletions.
  1. +40 −0 multimedia/libmatroska/Portfile
@@ -0,0 +1,40 @@
# $Id: Portfile,v 1.1 2003/12/06 23:35:27 fkr Exp $

PortSystem 1.0
name libmatroska
version 0.6.1
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_lib lib:libebml.a:libebml
test.run yes

configure {}
post-extract { cd "${worksrcpath}/make"
system "cp -r linux darwin" }

build { cd "${worksrcpath}/make/darwin"
system "make prefix=${prefix} LIBEBML_INCLUDE_DIR=${prefix}/include \
LIBEBML_LIB_DIR=${prefix}/lib lib" }

# these tests don't work in the destroot, thus are done in build-area.
# I'm not sure if I can compare the output of test8 with some master file which I cannot find.
test { cd "${worksrcpath}/make/darwin"
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"
# We need -p for install because ld will ask for ranlib if the modification date changes.
system "make prefix=${destroot}${prefix} INSTALL_OPTS_LIB='-m 644 -p' install" }

0 comments on commit 5a50ec8

Please sign in to comment.
You can’t perform that action at this time.