Ticket #11633: Portfile

File Portfile, 1.4 KB (added by bytestorm@…, 18 years ago)

cdrdao 1.2.2 with build fix.

Line 
1# $Id: Portfile 20466 2006-11-03 15:22:34Z blair@macports.org $
2
3PortSystem      1.0
4name            cdrdao
5version         1.2.2
6revision        0
7description     Disk-At-Once Recording of Audio and Data  CD-Rs/CD-RWs
8long_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
12categories      sysutils
13maintainers     nomaintainer@macports.org
14platforms       darwin
15master_sites    freebsd sourceforge
16checksums       sha1 2699e56e00342c1fa2a3815ed02418fe964b276b
17use_bzip2       yes
18
19depends_build   port:pccts bin:pkg-config:pkgconfig
20
21post-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
28configure.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
32platform 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
36variant 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}