Ticket #18092: Portfile

File Portfile, 1.4 KB (added by dershow, 15 years ago)

Updated port file

Line 
1# $Id: Portfile 44897 2009-01-04 15:32:49Z css@macports.org $
2
3PortSystem 1.0
4
5name            streamripper
6version         1.64.3
7revision        1
8categories      audio net
9platforms       darwin
10maintainers     css
11description     separate tracks via Shoutcasts title-streaming
12long_description        Streamripper started as a way to separate \
13        tracks via Shoutcasts title-streaming feature. This has   \
14        now been expanded into a much more generic feature, where \
15        part of the program only tries to hint at where one track \
16        starts and another ends, thus allowing a mp3 decoding     \
17        engine to scan for a silent mark, which is used to find   \
18        an exact track separation.
19
20homepage        http://streamripper.sourceforge.net/
21master_sites    ${homepage}/files/ sourceforge:${name}
22checksums       md5 ac9caddc37395a0083d8e44a37955053 \
23                sha1 08dff7b4e48e16ad581e0b28fb77bdcddeeee0bb \
24                rmd160 d0d5d18fc7e5086bb768e6a51e566e16f0ced730
25
26depends_lib     port:glib2 \
27                port:libiconv \
28                port:libogg \
29                port:libvorbis
30
31configure.args  --with-ogg=${prefix} --with-vorbis=${prefix} \
32                --with-libiconv-prefix=${prefix} \
33                --with-included-argv \
34                --with-included-libmad \
35                --with-included-tre \
36                --mandir=${prefix}/share/man
37
38pre-destroot {
39        file attributes ${worksrcpath}/install-sh -permissions +rx
40}
41post-destroot {
42        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
43        xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README THANKS \
44                ${destroot}${prefix}/share/doc/${name}
45}
46