Created
December 4, 2011 13:56
-
-
Save KonaBlend/1430262 to your computer and use it in GitHub Desktop.
mkvtoolnix-devel/Portfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | |
# $Id$ | |
PortSystem 1.0 | |
name mkvtoolnix-devel | |
version 5.1.0 | |
categories multimedia | |
maintainers gmail.com:kona8lend | |
description Cross-platform tools for Matroska files. | |
homepage http://www.bunkus.org/videotools/mkvtoolnix/ | |
platforms darwin | |
license GPL-2+ LGPL-2.1+ | |
long_description MKVToolNix is a set of tools to create, alter and inspect \ | |
Matroska files under Linux, other Unices and Windows. \ | |
They do for Matroska what the OGMtools do for the OGM \ | |
format and then some. | |
depends_lib port:bzip2 \ | |
port:expat \ | |
port:file \ | |
port:flac \ | |
port:gcc46 \ | |
port:gettext \ | |
port:libogg \ | |
port:libvorbis \ | |
port:lzo2 \ | |
port:mkvtoolnix-boost \ | |
port:pcre \ | |
port:zlib | |
# local variables | |
set _basename mkvtoolnix | |
set _private_root ${prefix}/private/${_basename} | |
################################################################################ | |
## PHASE: FETCH | |
################################################################################ | |
master_sites ${homepage}sources/ \ | |
http://svn.mandriva.com/svn/packages/cooker/mkvtoolnix/releases/${version}/1/SOURCES/ | |
use_bzip2 yes | |
distname ${_basename}-${version} | |
################################################################################ | |
## PHASE: CHECKSUM | |
################################################################################ | |
checksums rmd160 1f47fbe485743c5e9fd59ceaf7fe648f0287f32d \ | |
sha256 82db2230bce6397700864e0d22144add44c8db41d12373da484edcdb94292469 | |
################################################################################ | |
## PHASE: EXTRACT | |
################################################################################ | |
################################################################################ | |
## PHASE: PATCH | |
################################################################################ | |
patchfiles patch-Rakefile.diff \ | |
patch-master.diff | |
################################################################################ | |
## PHASE: CONFIGURE | |
################################################################################ | |
use_autoreconf yes | |
autoreconf.args -fiv | |
configure.compiler macports-gcc-4.6 | |
configure.args --mandir=${prefix}/share/man \ | |
--with-boost=${_private_root} \ | |
--with-extra-libs=${prefix}/lib \ | |
--with-extra-includes=${prefix}/include \ | |
--disable-gui \ | |
--disable-wxwidgets | |
################################################################################ | |
## PHASE: BUILD | |
################################################################################ | |
build.cmd ./drake | |
build.target default | |
build.args -j${build.jobs} V=1 | |
################################################################################ | |
## PHASE: TEST | |
################################################################################ | |
################################################################################ | |
## PHASE: DESTROOT | |
################################################################################ | |
destroot.args -j${build.jobs} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment