# $Id: Portfile 30219 2007-10-22 22:40:35Z jmpp@macports.org $ PortSystem 1.0 name mp3splt version 2.1 revision 1 categories audio maintainers nomaintainer description Utility for mp3 and ogg splitting without decoding long_description \ mp3splt is a free command-line utility that allows you to split mp3 and \ ogg files from a begin time to an end time, without need of decoding and \ reencoding. It's useful to split large mp3/ogg to make smaller files or \ to split entire albums to obtain original tracks. platforms darwin homepage http://mp3splt.sourceforge.net/ master_sites sourceforge distname ${name}-${version}-src worksrcdir ${name}-${version} checksums md5 3c703494ee75c670c87994faf33af7d8 depends_lib port:libmad default_variants +ogg patchfiles patch-ogg.c patch-splt.h configure.args --mandir=${prefix}/share/man \ --disable-ogg post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog README \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/doc man.html \ ${destroot}${prefix}/share/doc/${name}/${name}.html } variant ogg description {Enable OGG support} { depends_lib-append port:libogg \ port:libvorbis configure.args-delete --disable-ogg }