Ticket #7687: Portfile.diff

File Portfile.diff, 1.1 KB (added by markd@…, 19 years ago)

libmikmod Portfile diff

  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            libmikmod
    5 version         3.1.11a
     5version         3.2.0-beta2
    66categories      audio
    77maintainers     mij@opendarwin.org
    88description     portable sound library
     
    1616
    1717master_sites    http://mikmod.raphnet.net/files/
    1818
    19 distname                ${name}-[strsed ${version} {s/a$//}]
    20 distfiles-append        ${name}-[strsed ${version} {s/a$/-a/}].diff
    21 extract.only    ${distname}${extract.suffix}
    22 
    23 checksums       ${name}-[strsed ${version} {s/a$//}].tar.gz md5 705106da305e8de191549f1e7393185c \
    24                         ${name}-[strsed ${version} {s/a$/-a/}].diff md5 5e56be5a32eecf3cfa195379a5ecb0ef
     19checksums       md5 19fc0879aebd1610813a23bd84726362
    2520
    2621depends_lib     lib:libesd.0:esound
    2722
    28 post-patch {
    29         set patchfile "${distpath}/${name}-[strsed ${version} {s/a$/-a/}].diff"
    30         ui_info "$UI_PREFIX Applying ${patchfile}"
    31         system "cd ${workpath} && patch -p0 < ${patchfile}"
    32 }
    33 
    3423configure.env   CFLAGS="-no-cpp-precomp -Os"
    3524configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info
    36 
    37 platform darwin {
    38         patchfiles-append       patch-configure
    39 }
    40