# -*- 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: Portfile 75824 2011-02-09 21:38:50Z ryandesign@macports.org $ PortSystem 1.0 name mpgtx version 1.3.1 categories multimedia 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 checksums md5 d628060aa04ad3b40a175bf35f5167cf \ sha1 58b3d18b6dac968e8dd969a7b33c8a8fc31569cd \ rmd160 f39704aef3e2b325d77f48817ecb883ea6a2a029 patchfiles patch-configure.diff post-patch { if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } reinplace "s|@CXX@|${configure.cxx}|g" ${worksrcpath}/configure reinplace "s|@OPTFLAGS@|${configure.optflags}|g" ${worksrcpath}/configure reinplace "s|@CFLAGS@|${configure.cflags} ${archflags}|g" ${worksrcpath}/configure reinplace "s|@LDFLAGS@|${configure.ldflags} ${archflags}|g" ${worksrcpath}/configure } 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 644 -W ${worksrcpath} AUTHORS README \ ${destroot}${prefix}/share/doc/${name} } platform darwin { patchfiles-append patch-bsd.diff } platform freebsd { patchfiles-append patch-bsd.diff }