Revision: 75822 http://trac.macports.org/changeset/75822 Author: ryandesign@macports.org Date: 2011-02-09 13:00:51 -0800 (Wed, 09 Feb 2011) Log Message: ----------- mpgtx: whitespace changes / reformatting; add modeline Modified Paths: -------------- trunk/dports/multimedia/mpgtx/Portfile Modified: trunk/dports/multimedia/mpgtx/Portfile =================================================================== --- trunk/dports/multimedia/mpgtx/Portfile 2011-02-09 17:21:59 UTC (rev 75821) +++ trunk/dports/multimedia/mpgtx/Portfile 2011-02-09 21:00:51 UTC (rev 75822) @@ -1,43 +1,47 @@ +# -*- 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 mpgtx -version 1.3.1 -categories multimedia -platforms darwin -maintainers nomaintainer -homepage http://mpgtx.sourceforge.net/ -description MPEG audio/video/system file toolbox +PortSystem 1.0 -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'). +name mpgtx +version 1.3.1 +categories multimedia +platforms darwin +maintainers nomaintainer -master_sites sourceforge +description MPEG audio/video/system file toolbox -checksums md5 d628060aa04ad3b40a175bf35f5167cf +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'). -configure.args --parachute \ - --manprefix=${prefix}/share +homepage http://mpgtx.sourceforge.net/ +master_sites sourceforge -post-configure { reinplace "s|${prefix}|${destroot}${prefix}|g" \ - ${worksrcpath}/Makefile - reinplace "s|/usr/local|${destroot}${prefix}/share|g" \ - ${worksrcpath}/Makefile - reinplace "s|cpflags=d|cpflags=R|" \ - ${worksrcpath}/Makefile - } +checksums md5 d628060aa04ad3b40a175bf35f5167cf -build.target {} +configure.args --parachute \ + --manprefix=${prefix}/share -post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} - file copy ${worksrcpath}/AUTHORS ${worksrcpath}/README \ - ${destroot}${prefix}/share/doc/${name} - } +post-configure { + reinplace "s|${prefix}|${destroot}${prefix}|g" \ + ${worksrcpath}/Makefile + reinplace "s|/usr/local|${destroot}${prefix}/share|g" \ + ${worksrcpath}/Makefile + reinplace "s|cpflags=d|cpflags=R|" \ + ${worksrcpath}/Makefile +} +build.target {} + +post-destroot { + file mkdir ${destroot}${prefix}/share/doc/${name} + file copy ${worksrcpath}/AUTHORS ${worksrcpath}/README \ + ${destroot}${prefix}/share/doc/${name} +}