1 | # $Id: Portfile 50572 2009-05-04 19:19:09Z jeremyhu@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name easytag-devel |
---|
6 | version 2.1.6 |
---|
7 | categories audio |
---|
8 | platforms darwin |
---|
9 | maintainers gmail.com:bytestorm |
---|
10 | homepage http://easytag.sf.net/ |
---|
11 | description Tool for editing tags of audio files |
---|
12 | |
---|
13 | long_description EasyTAG is an utility for viewing and editing tags \ |
---|
14 | for MP3, MP2, FLAC, Ogg Vorbis, MusePack and Monkey's \ |
---|
15 | audio files and MP4/AAC. \ |
---|
16 | It's simple and nice GTK+2 interface makes tagging easier \ |
---|
17 | under UNIX systems. |
---|
18 | |
---|
19 | master_sites sourceforge:easytag |
---|
20 | |
---|
21 | checksums md5 6c5b9dc2bf1f3b0a11bd4efc81aaa9ee \ |
---|
22 | sha1 e2d378d63d872d16a33b45515858cdfab7755645 \ |
---|
23 | rmd160 2ba568b34762e538e26582d9ce648114b7ee5274 |
---|
24 | |
---|
25 | use_bzip2 yes |
---|
26 | |
---|
27 | distname easytag-${version} |
---|
28 | |
---|
29 | depends_lib port:gtk2 \ |
---|
30 | port:gettext |
---|
31 | |
---|
32 | depends_build port:hicolor-icon-theme |
---|
33 | |
---|
34 | patch_sites ${filespath} |
---|
35 | patchfiles easytag-devel-mp4v2.patch |
---|
36 | |
---|
37 | configure.args --mandir=${prefix}/share/man \ |
---|
38 | --infodir=${prefix}/share/info \ |
---|
39 | --disable-flac \ |
---|
40 | --disable-ogg \ |
---|
41 | --disable-mp4 \ |
---|
42 | --disable-mp3 \ |
---|
43 | --disable-id3v23 \ |
---|
44 | --disable-wavpack \ |
---|
45 | --disable-speex |
---|
46 | |
---|
47 | post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
48 | xinstall -m 644 -v -W ${worksrcpath} \ |
---|
49 | COPYING README THANKS TODO USERS-GUIDE \ |
---|
50 | ${destroot}${prefix}/share/doc/${name} |
---|
51 | } |
---|
52 | |
---|
53 | variant ogg { configure.args-delete --disable-ogg |
---|
54 | depends_lib-append port:libvorbis |
---|
55 | } |
---|
56 | |
---|
57 | variant flac { configure.args-delete --disable-flac |
---|
58 | depends_lib-append port:flac |
---|
59 | } |
---|
60 | |
---|
61 | variant mp4 { configure.args-delete --disable-mp4 |
---|
62 | depends_lib-append lib:libmp4v2:libmp4v2 |
---|
63 | depends_build-append port:faad2 |
---|
64 | } |
---|
65 | |
---|
66 | variant mp3 { configure.args-delete --disable-mp3 |
---|
67 | configure.args-delete --disable-id3v23 |
---|
68 | depends_lib-append port:id3lib |
---|
69 | depends_lib-append port:libid3tag |
---|
70 | } |
---|
71 | |
---|
72 | variant wavpack { configure.args-delete --disable-wavpack |
---|
73 | depends_lib-append port:wavpack |
---|
74 | } |
---|
75 | |
---|
76 | livecheck.regex "<title>easytag unstable \\(gtk 2\\) (\\d+(?:\\.\\d+)*) released.*</title>" |
---|
77 | |
---|