1 | # $Id: Portfile 20408 2006-11-03 02:14:07Z jberry@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name easytag |
---|
6 | version 2.1.3 |
---|
7 | categories audio |
---|
8 | platforms darwin |
---|
9 | maintainers bytestorm@gmail.com |
---|
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 sha1 8be1f0f84fed9b9f3fe0f1f9770315744005905e |
---|
22 | |
---|
23 | use_bzip2 yes |
---|
24 | |
---|
25 | distname easytag-${version} |
---|
26 | |
---|
27 | depends_lib port:gtk2 \ |
---|
28 | port:gettext |
---|
29 | |
---|
30 | depends_build port:hicolor-icon-theme |
---|
31 | |
---|
32 | configure.env LDFLAGS="-L${prefix}/lib -L${x11prefix}/lib" \ |
---|
33 | CFLAGS="-I${prefix}/include" \ |
---|
34 | CPPFLAGS="-I${prefix}/include \ |
---|
35 | -I${x11prefix}/include \ |
---|
36 | -no-cpp-precomp" \ |
---|
37 | |
---|
38 | configure.args --mandir=${prefix}/share/man \ |
---|
39 | --infodir=${prefix}/share/info \ |
---|
40 | --disable-flac \ |
---|
41 | --disable-ogg \ |
---|
42 | --disable-mp4 \ |
---|
43 | --disable-mp3 \ |
---|
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 lib:libvorbis:libvorbis |
---|
55 | } |
---|
56 | |
---|
57 | variant flac { configure.args-delete --disable-flac |
---|
58 | depends_lib-append lib:libFLAC:flac |
---|
59 | } |
---|
60 | |
---|
61 | variant mp4 { configure.args-delete --disable-mp4 |
---|
62 | depends_lib-append lib:libmp4v2:mpeg4ip |
---|
63 | depends_build-append bin:faad:faad2 |
---|
64 | } |
---|
65 | |
---|
66 | variant mp3 { configure.args-delete --disable-mp3 |
---|
67 | depends_lib-append lib:libid3:id3lib |
---|
68 | } |
---|
69 | |
---|
70 | variant wavpack { configure.args-delete --disable-wavpack |
---|
71 | depends_lib-append lib:libwavpack:wavpack |
---|
72 | } |
---|
73 | |
---|