Ticket #33410: Portfile-samtools.diff
File Portfile-samtools.diff, 1.4 KB (added by mg13@…, 13 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name samtools 7 version 0.1.1 77 version 0.1.18 8 8 categories science 9 9 platforms darwin 10 10 maintainers gmail.com:haroldpimentel openmaintainer … … 20 20 homepage http://samtools.sourceforge.net/ 21 21 master_sites sourceforge 22 22 23 checksums sha1 4d2ef4273d9f71cd1f504f43c596970845d78718 \ 24 rmd160 0921e733358ccf01d316dff2b797957f4f2cfb7b 23 checksums sha1 77be35df7a90c288a003ff826ba99aef53b2fbe6 \ 24 rmd160 0301de58e31c7529a2535086be0cc7d93778ede8 25 26 patchfiles patch-Makefile.diff 25 27 26 28 use_bzip2 yes 27 29 … … 29 31 30 32 use_configure no 31 33 34 set archflags [get_canonical_archflags cc] 35 set sdkroot [portconfigure::configure_get_sdkroot] 36 set sdkroot_flags "" 37 38 if {${sdkroot} != ""} { 39 set sdkroot_flags "-isysroot ${sdkroot}" 40 } 41 42 build.env-append CC=${configure.cc} \ 43 CFLAGS="${configure.cflags} ${archflags} ${sdkroot_flags}" 44 32 45 destroot { 33 46 xinstall -m 755 ${worksrcpath}/samtools ${destroot}${prefix}/bin 34 47 xinstall -m 644 ${worksrcpath}/libbam.a ${destroot}${prefix}/lib