1 | # $Id: Portfile 30219 2007-10-22 22:40:35Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name easytag2 |
---|
5 | version 2.1 |
---|
6 | categories audio |
---|
7 | platforms darwin |
---|
8 | maintainers nomaintainer |
---|
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 | sha1 6da0125ab0dcc7e7ecabe488147ecdf0e75f6f2a \ |
---|
22 | rmd160 b553458c8cff008dd044412a95674aa26478b2eb |
---|
23 | |
---|
24 | use_bzip2 yes |
---|
25 | |
---|
26 | distname easytag-${version} |
---|
27 | |
---|
28 | depends_lib port:gtk2 \ |
---|
29 | port:gettext |
---|
30 | |
---|
31 | depends_build port:hicolor-icon-theme |
---|
32 | |
---|
33 | configure.ldflags-append "-L${x11prefix}/lib" |
---|
34 | configure.cflags-append "-I${prefix}/include" |
---|
35 | configure.cppflags-append "-I${x11prefix}/include -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 | } |
---|