Ticket #20610: Portfile

File Portfile, 1.2 KB (added by neric27@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4PortGroup python26 1.0
5
6name                    py26-eyed3
7version                 0.6.17
8categories-append       audio
9platforms               darwin
10maintainers             wanadoo.fr:neric27 openmaintainer
11description             python module and program for processing ID3 tags
12long_description        eyeD3 is a Python program/module for processing \
13                                (reading and writing) ID3 tags. Information about mp3 \
14                                files (i.e bit rate, sample frequency, play time, \
15                                etc.) is also available. The formats supported are ID3 \
16                                v1.0/v1.1 and v2.3/v2.4.
17
18homepage                http://eyed3.nicfit.net/
19master_sites            ${homepage}/releases/
20distname                eyeD3-${version}
21
22checksums               md5     7bc175d0eb1e0152753b2aca80df6fde \
23                        sha1    a607ce4355f395ef137c265f8dad60ac67ba4e47 \
24                        rmd160  32891c885f175e7f2da1201359d73309366930e9
25
26
27use_configure           yes
28
29post-configure  {
30        reinplace "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/bin/eyeD3
31}
32
33post-destroot   {
34        xinstall -m 755 ${worksrcpath}/bin/eyeD3 ${destroot}${prefix}/bin
35        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
36                README README.html THANKS TODO \
37                ${destroot}${prefix}/share/doc/${name}
38        xinstall -m 644 ${worksrcpath}/doc/eyeD3.1 ${destroot}${prefix}/share/man/man1
39}