# -*- 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 PortSystem 1.0 name mpgtx version 1.3.1 revision 0 checksums rmd160 f39704aef3e2b325d77f48817ecb883ea6a2a029 \ sha256 8815e73e98b862f12ba1ef5eaaf49407cf211c1f668c5ee325bf04af27f8e377 \ size 89170 categories multimedia license GPL-2 platforms darwin maintainers nomaintainer description MPEG audio/video/system file toolbox long_description The MPEG ToolboX can currently split and join MPEG-1 \ video files and most MPEG audio files, fetch detailed \ informations from MPEG-1 and MPEG-2 streams, demultiplex \ MPEG-1 and MPEG-2 files (System layer, program layer and \ Transport layer), add, remove and edit ID3 tags from MP3 \ files and rename MP3 files according to their ID3 tags. \ DivX is not yet supported, neither MPEG-4 and splitting \ and joining MPEG-2 video files is experimental (read 'will \ work only in your wildest dreams'). homepage http://mpgtx.sourceforge.net/ master_sites sourceforge:project/mpgtx/mpgtx/${version} patchfiles patch-configure.diff post-patch { reinplace "s|@CXX@|${configure.cxx}|g" ${worksrcpath}/configure reinplace "s|@OPTFLAGS@|${configure.optflags}|g" ${worksrcpath}/configure reinplace "s|@CXXFLAGS@|${configure.cxxflags} [get_canonical_archflags cxx]|g" ${worksrcpath}/configure reinplace "s|@LDFLAGS@|${configure.ldflags} [get_canonical_archflags ld]|g" ${worksrcpath}/configure } configure.cxxflags-delete {*}${configure.optflags} configure.pre_args --prefix=${destroot}${prefix} configure.args --parachute \ --manprefix=${destroot}${prefix}/share configure.universal_args-delete --disable-dependency-tracking build.target post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 -W ${worksrcpath} AUTHORS README \ ${destroot}${prefix}/share/doc/${name} } platform darwin { patchfiles-append patch-bsd.diff } platform freebsd { patchfiles-append patch-bsd.diff }