source: trunk/dports/sysutils/cdrdao/Portfile @ 27220

Last change on this file since 27220 was 27220, checked in by markd@…, 12 years ago

Closes #12094. Apply patch to fix problem with cdparanoia.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 27220 2007-07-24 21:39:36Z markd@macports.org $
2
3PortSystem      1.0
4name            cdrdao
5version         1.2.2
6revision        1
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    sourceforge
16checksums       sha1 2699e56e00342c1fa2a3815ed02418fe964b276b
17use_bzip2       yes
18
19depends_build   port:pccts port:pkgconfig
20
21post-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
30configure.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
34platform 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
38variant 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}
Note: See TracBrowser for help on using the repository browser.