1 | # $Id: Portfile 20466 2006-11-03 15:22:34Z blair@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name cdrdao |
---|
5 | version 1.2.2 |
---|
6 | revision 0 |
---|
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 freebsd sourceforge |
---|
16 | checksums sha1 2699e56e00342c1fa2a3815ed02418fe964b276b |
---|
17 | use_bzip2 yes |
---|
18 | |
---|
19 | depends_build port:pccts bin:pkg-config:pkgconfig |
---|
20 | |
---|
21 | post-patch { |
---|
22 | reinplace "s|#ifndef linux|#ifdef linux|g" ${worksrcpath}/dao/ScsiIf-lib.cc |
---|
23 | |
---|
24 | file copy -force /usr/share/libtool/config.guess /usr/share/libtool/config.sub "${worksrcpath}/scsilib/conf/" |
---|
25 | file copy "${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul" "${worksrcpath}/scsilib/RULES/i386-darwin-cc.rul" |
---|
26 | } |
---|
27 | |
---|
28 | configure.args --with-pcctsbin=${prefix}/bin --with-pcctsinc=${prefix}/include/pccts \ |
---|
29 | --mandir=${prefix}/share/man \ |
---|
30 | --without-lame --without-xdao --without-ogg-support --without-mp3-support --disable-dependency-tracking |
---|
31 | |
---|
32 | platform darwin 8 { |
---|
33 | configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 |
---|
34 | } |
---|
35 | |
---|
36 | variant lame { |
---|
37 | depends_lib-append port:lame |
---|
38 | configure.args-delete --without-lame |
---|
39 | configure.args-append --with-lame-lib=${prefix}/lib --with-lame-include=${prefix}/include |
---|
40 | } |
---|