Ticket #7687: Portfile.diff
File Portfile.diff, 1.1 KB (added by markd@…, 19 years ago) |
---|
-
Portfile
old new 2 2 3 3 PortSystem 1.0 4 4 name libmikmod 5 version 3. 1.11a5 version 3.2.0-beta2 6 6 categories audio 7 7 maintainers mij@opendarwin.org 8 8 description portable sound library … … 16 16 17 17 master_sites http://mikmod.raphnet.net/files/ 18 18 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 19 checksums md5 19fc0879aebd1610813a23bd84726362 25 20 26 21 depends_lib lib:libesd.0:esound 27 22 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 34 23 configure.env CFLAGS="-no-cpp-precomp -Os" 35 24 configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info 36 37 platform darwin {38 patchfiles-append patch-configure39 }40