source: trunk/dports/science/samtools/Portfile @ 97678

Last change on this file since 97678 was 97678, checked in by ciserlohn@…, 7 years ago

samtools: doesn't build with clang (see #36104)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 97678 2012-09-11 20:56:04Z ciserlohn@macports.org $
3
4PortSystem              1.0
5
6name                    samtools
7version                 0.1.17
8categories              science
9platforms               darwin
10maintainers             gmail.com:haroldpimentel openmaintainer
11license                 MIT
12
13description             Tools for alignments in the SAM format
14
15long_description        SAM (Sequence Alignment/Map) Tools provide various \
16                        utilities for manipulating alignments in the SAM \
17                        format, including sorting, merging, indexing and \
18                        generating alignments in a per-position format.
19
20homepage                http://samtools.sourceforge.net/
21master_sites            sourceforge
22
23checksums               sha1    4d2ef4273d9f71cd1f504f43c596970845d78718 \
24                        rmd160  0921e733358ccf01d316dff2b797957f4f2cfb7b
25
26use_bzip2               yes
27
28depends_lib             port:zlib port:ncurses
29
30use_configure           no
31
32compiler.blacklist      clang
33
34build.args              CC=${configure.cc} \
35                        CFLAGS="-g -Wall ${configure.cflags} ${configure.cc_archflags}"
36
37destroot {
38    xinstall -m 755 ${worksrcpath}/samtools ${destroot}${prefix}/bin
39    xinstall -m 644 ${worksrcpath}/libbam.a ${destroot}${prefix}/lib
40    xinstall -d ${destroot}${prefix}/include/bam
41    eval xinstall -m 644 [glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/bam
42   
43    xinstall -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 -W ${worksrcpath} \
45        AUTHORS COPYING ChangeLog NEWS \
46        ${destroot}${prefix}/share/doc/${name}
47}
Note: See TracBrowser for help on using the repository browser.