Ignore:
Timestamp:
Sep 3, 2009, 12:29:42 PM (10 years ago)
Author:
snc@…
Message:

add universal/arch fixes, ticket #21035. added modeline, blank after portsystem, and variant description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/cdrdao/Portfile

    r56680 r56902  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    34PortSystem      1.0
     5
    46name            cdrdao
    57version         1.2.2
    6 revision        1
     8revision        2
    79description     Disk-At-Once Recording of Audio and Data CD-Rs/CD-RWs
    810long_description        \
     
    1012        based on a textual description of the CD contents (toc-file).
    1113
     14homepage        http://cdrdao.sourceforge.net/
    1215categories      sysutils
    1316maintainers     nomaintainer
     
    2629        reinplace "s|-L\$\(top_builddir\)/paranoia -lcdda_paranoia|\$\(top_builddir\)/paranoia/libcdda_paranoia.a|" ${worksrcpath}/dao/Makefile.in
    2730
     31        if {[variant_isset universal]} {
     32                reinplace "s|COPTS=|COPTS=    ${configure.universal_cflags}|g" ${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul
     33        } else {
     34                reinplace "s|COPTS=|COPTS=    -arch ${build_arch}|g" ${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul
     35        }
    2836        file copy "${worksrcpath}/scsilib/RULES/power-macintosh-darwin-cc.rul" "${worksrcpath}/scsilib/RULES/i386-darwin-cc.rul"
    2937}
     
    3341                --without-lame --without-xdao --without-ogg-support --without-mp3-support --disable-dependency-tracking
    3442
    35 variant lame {
     43variant lame description {Use LAME encoder} {
    3644        depends_lib-append      port:lame
    3745        configure.args-delete   --without-lame
Note: See TracChangeset for help on using the changeset viewer.