1 | # $Id: Portfile 20408 2006-11-03 02:14:07Z jberry@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name easytag2 |
---|
5 | version 2.1 |
---|
6 | categories audio |
---|
7 | platforms darwin |
---|
8 | maintainers nomaintainer@macports.org |
---|
9 | homepage http://easytag.sf.net/ |
---|
10 | description Tool for editing tags of audio files |
---|
11 | |
---|
12 | long_description EasyTAG is an utility for viewing and editing tags \ |
---|
13 | for MP3, MP2, FLAC, Ogg Vorbis, MusePack and Monkey's \ |
---|
14 | audio files and MP4/AAC. \ |
---|
15 | It's simple and nice GTK+2 interface makes tagging easier \ |
---|
16 | under UNIX systems. |
---|
17 | |
---|
18 | master_sites sourceforge:easytag |
---|
19 | |
---|
20 | checksums md5 a585cb9e400ba460ec1801856ea5e90f |
---|
21 | |
---|
22 | use_bzip2 yes |
---|
23 | |
---|
24 | distname easytag-${version} |
---|
25 | |
---|
26 | depends_lib port:gtk2 \ |
---|
27 | port:gettext |
---|
28 | |
---|
29 | depends_build port:hicolor-icon-theme |
---|
30 | |
---|
31 | configure.env LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib" \ |
---|
32 | CFLAGS="-I${prefix}/include" \ |
---|
33 | CPPFLAGS="-I${prefix}/include \ |
---|
34 | -I${x11prefix}/include \ |
---|
35 | -no-cpp-precomp" \ |
---|
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 | |
---|
44 | post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
45 | xinstall -m 644 -v -W ${worksrcpath} \ |
---|
46 | COPYING README THANKS TODO USERS-GUIDE \ |
---|
47 | ${destroot}${prefix}/share/doc/${name} |
---|
48 | } |
---|
49 | |
---|
50 | variant ogg { configure.args-delete --disable-ogg |
---|
51 | depends_lib-append lib:libvorbis:libvorbis |
---|
52 | } |
---|
53 | |
---|
54 | variant flac { configure.args-delete --disable-flac |
---|
55 | depends_lib-append lib:libFLAC:flac |
---|
56 | } |
---|
57 | |
---|
58 | variant mp4 { configure.args-delete --disable-mp4 |
---|
59 | depends_lib-append lib:libmp4v2:mpeg4ip |
---|
60 | depends_build-append bin:faad:faad2 |
---|
61 | } |
---|
62 | |
---|
63 | variant mp3 { configure.args-delete --disable-mp3 |
---|
64 | depends_lib-append lib:libid3:id3lib |
---|
65 | } |
---|
66 | |
---|
67 | variant wavpack { configure.args-delete --disable-wavpack |
---|
68 | depends_lib-append lib:libwavpack:wavpack |
---|
69 | } |
---|
70 | |
---|