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

Last change on this file since 96081 was 96081, checked in by jmr@…, 8 years ago

samtools: obey build_arch (#33410)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
RevLine 
[72419]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 96081 2012-07-31 11:42:27Z jmr@macports.org $
3
4PortSystem              1.0
5
6name                    samtools
[81660]7version                 0.1.17
[72419]8categories              science
9platforms               darwin
[75423]10maintainers             gmail.com:haroldpimentel openmaintainer
[72419]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
[81660]23checksums               sha1    4d2ef4273d9f71cd1f504f43c596970845d78718 \
24                        rmd160  0921e733358ccf01d316dff2b797957f4f2cfb7b
[72419]25
26use_bzip2               yes
27
[96081]28depends_lib             port:zlib port:ncurses
[72419]29
30use_configure           no
31
[96081]32build.args              CC=${configure.cc} \
33                        CFLAGS="-g -Wall ${configure.cflags} ${configure.cc_archflags}"
34
[72419]35destroot {
36    xinstall -m 755 ${worksrcpath}/samtools ${destroot}${prefix}/bin
37    xinstall -m 644 ${worksrcpath}/libbam.a ${destroot}${prefix}/lib
38    xinstall -d ${destroot}${prefix}/include/bam
39    eval xinstall -m 644 [glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/bam
40   
41    xinstall -d ${destroot}${prefix}/share/doc/${name}
42    xinstall -m 644 -W ${worksrcpath} \
43        AUTHORS COPYING ChangeLog NEWS \
44        ${destroot}${prefix}/share/doc/${name}
45}
Note: See TracBrowser for help on using the repository browser.