1 | # $Id: Portfile 25693 2007-05-28 23:00:51Z markd@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name cdrdao |
---|
5 | version 1.2.2 |
---|
6 | revision 1 |
---|
7 | description Disk-At-Once Recording of Audio and Data CD-Rs/CD-RWs |
---|
8 | long_description \ |
---|
9 | Cdrdao records audio or data CD-Rs in disk-at-once (DAO) mode \ |
---|
10 | based on a textual description of the CD contents (toc-file). |
---|
11 | |
---|
12 | categories sysutils |
---|
13 | maintainers nomaintainer@macports.org |
---|
14 | platforms darwin |
---|
15 | master_sites sourceforge |
---|
16 | checksums sha1 2699e56e00342c1fa2a3815ed02418fe964b276b |
---|
17 | use_bzip2 yes |
---|
18 | |
---|
19 | depends_build port:pccts port:pkgconfig |
---|
20 | |
---|
21 | post-patch { |
---|
22 | reinplace "s|#ifndef linux|#ifdef linux|g" ${worksrcpath}/dao/ScsiIf-lib.cc |
---|
23 | |
---|
24 | reinplace "s|-L\$\(top_builddir\)/paranoia -lcdda_paranoia|\$\(top_builddir\)/paranoia/libcdda_paranoia.a|" ${worksrcpath}/dao/Makefile.in |
---|
25 | |
---|
26 | file copy -force /usr/share/libtool/config.guess /usr/share/libtool/config.sub "${worksrcpath}/scsilib/conf/" |
---|
27 | file copy "${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul" "${worksrcpath}/scsilib/RULES/i386-darwin-cc.rul" |
---|
28 | } |
---|
29 | |
---|
30 | configure.args --with-pcctsbin=${prefix}/bin --with-pcctsinc=${prefix}/include/pccts \ |
---|
31 | --mandir=${prefix}/share/man \ |
---|
32 | --without-lame --without-xdao --without-ogg-support --without-mp3-support --disable-dependency-tracking |
---|
33 | |
---|
34 | platform darwin 8 { |
---|
35 | configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 |
---|
36 | } |
---|
37 | |
---|
38 | variant lame { |
---|
39 | depends_lib-append port:lame |
---|
40 | configure.args-delete --without-lame |
---|
41 | configure.args-append --with-lame-lib=${prefix}/lib --with-lame-include=${prefix}/include |
---|
42 | } |
---|
43 | |
---|