-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
40 lines (31 loc) · 1.2 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id$
PortSystem 1.0
name mp3splt
version 2.1
revision 1
categories audio
maintainers darwinports@opendarwin.org
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 lib:libogg:libogg lib:libvorbis:libvorbis \
lib:libmad:libmad
patchfiles patch-ogg.c patch-splt.h
configure.env CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
configure.args --mandir=${prefix}/share/man
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
}